Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/ArtifactDescription.java @ 207:2b745b5e731c 0.1
merged flys-backend/0.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:07 +0200 |
parents | 3d646d3e8e27 |
children | ba1b27b7d282 |
line wrap: on
line source
package de.intevation.flys.client.shared.model; import java.io.Serializable; /** * The artifact description describes a state of an artifact. There are * operations defined that return former inserted data, possible input values * and output targets that are available in the current state of the artifact. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public interface ArtifactDescription extends Serializable { /** * Returns the data that have been inserted in former states of the * artifact. * * @return the old data of former states. */ public DataList[] getOldData(); /** * Returns the data with all its options that might be inserted in the * current state of the artifact. * * @return the current data. */ public DataList getCurrentData(); /** * Returns the current state as string. * * @return the current state. */ public String getCurrentState(); /** * Returns the reachable states as string. * * @return the reachable states. */ public String[] getReachableStates(); /** * Returns the available output modes. * * @return the available output modes. */ public OutputMode[] getOutputModes(); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :