teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: 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 :