Mercurial > dive4elements > framework
view artifact-database/src/main/java/de/intevation/artifactdatabase/state/Facet.java @ 289:cf2e8cca02b7
Tagged RELEASE 1.3 of artifacts system.
artifacts/trunk@2258 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 28 Jun 2011 07:51:17 +0000 |
parents | 7fbe674d758a |
children | e5bc48dc3ec3 |
line wrap: on
line source
package de.intevation.artifactdatabase.state; import java.io.Serializable; import de.intevation.artifacts.Artifact; import de.intevation.artifacts.CallContext; /** * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public interface Facet extends Serializable { /** * Returns the index of this facet. * * @return the index of this facet. */ int getIndex(); /** * Returns the name of this facet. * * @return the name of this facet. */ String getName(); /** * Returns the description of this facet. * * @return the description of this facet. */ String getDescription(); /** * Returns the data this facet requires. * * @param artifact The owner artifact. * @param context The CallContext. * * @return the data. */ Object getData(Artifact artifact, CallContext context); } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :