ingo@8: package de.intevation.flys.client.shared.model; ingo@8: ingo@10: import java.io.Serializable; ingo@10: ingo@8: ingo@8: /** ingo@8: * This class represents an artifact for the client. It contains the necessary ingo@8: * information for the client and the communication with the artifact server. ingo@8: * ingo@8: * @author Ingo Weinzierl ingo@8: */ ingo@10: public interface Artifact extends Serializable { ingo@8: ingo@8: /** ingo@8: * Returns the UUID of the artifact. ingo@8: * ingo@8: * @return the UUID. ingo@8: */ ingo@8: public String getUuid(); ingo@8: ingo@8: ingo@8: /** ingo@8: * Returns the hash of the artifact. ingo@8: * ingo@8: * @return the hash. ingo@8: */ ingo@8: public String getHash(); ingo@8: ingo@8: ingo@8: /** ingo@8: * Returns the ArtifactDescription. ingo@8: * ingo@8: * @return the artifact description. ingo@8: */ ingo@10: public ArtifactDescription getArtifactDescription(); ingo@8: ingo@8: ingo@8: /** ingo@8: * Sets a new ArtifactDescription. ingo@8: * ingo@8: * @param artifactDescription The new artifact description. ingo@8: */ ingo@8: public void setArtifactDescription(ArtifactDescription artifactDescription); ingo@8: } ingo@8: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :