Mercurial > dive4elements > framework
view artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java @ 244:3d14fe6e05f7
Improved the describe() of a State - a reference to an artifact has been added.
artifacts/trunk@1683 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 14 Apr 2011 08:26:25 +0000 |
parents | 41404961c804 |
children | 0a579b71496b |
line wrap: on
line source
package de.intevation.artifactdatabase.state; /** * The default implementation of a Facet. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public class DefaultFacet implements Facet { /** The name of this facet.*/ protected String name; /** The description of this facet.*/ protected String description; /** * The default constructor to create new Facet objects. * * @param name The name of this new facet. * @param description The description of this new facet. */ public DefaultFacet(String name, String description) { this.name = name; this.description = description; } public String getName() { return name; } public String getDescription() { return description; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :