ingo@33: package de.intevation.flys.client.client.event; ingo@33: ingo@33: import de.intevation.flys.client.shared.model.Artifact; ingo@33: ingo@33: ingo@33: /** ingo@33: * This events stores references to the old artifact and the new one. ingo@33: * ingo@33: * @author Ingo Weinzierl ingo@33: */ ingo@33: public class ParameterChangeEvent { ingo@33: ingo@33: protected Artifact oldArtifact; ingo@33: protected Artifact newArtifact; ingo@33: ingo@33: public ParameterChangeEvent(Artifact old, Artifact newArt) { ingo@33: oldArtifact = old; ingo@33: newArtifact = newArt; ingo@33: } ingo@33: ingo@33: public Artifact getOldValue() { ingo@33: return oldArtifact; ingo@33: } ingo@33: ingo@33: public Artifact getNewValue() { ingo@33: return newArtifact; ingo@33: } ingo@33: } ingo@33: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :