teichmann@5835: package org.dive4elements.river.client.client.event; ingo@18: teichmann@5835: import org.dive4elements.river.client.shared.model.Collection; ingo@18: ingo@18: ingo@18: /** ingo@18: * This events stores references to the old collection and the new one. ingo@18: * ingo@18: * @author Ingo Weinzierl ingo@18: */ ingo@18: public class CollectionChangeEvent { ingo@18: ingo@18: protected Collection oldCollection; ingo@18: protected Collection newCollection; ingo@18: ingo@18: public CollectionChangeEvent(Collection old, Collection newArt) { ingo@18: oldCollection = old; ingo@18: newCollection = newArt; ingo@18: } ingo@18: ingo@18: public Collection getOldValue() { ingo@18: return oldCollection; ingo@18: } ingo@18: ingo@18: public Collection getNewValue() { ingo@18: return newCollection; ingo@18: } ingo@18: } ingo@18: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :