ingo@226: package de.intevation.artifactdatabase.state; ingo@226: ingo@226: ingo@226: /** ingo@226: * The default implementation of a Facet. ingo@226: * ingo@226: * @author Ingo Weinzierl ingo@226: */ ingo@226: public class DefaultFacet implements Facet { ingo@226: ingo@226: /** The name of this facet.*/ ingo@226: protected String name; ingo@226: ingo@226: /** The description of this facet.*/ ingo@226: protected String description; ingo@226: ingo@226: ingo@226: /** ingo@226: * The default constructor to create new Facet objects. ingo@226: * ingo@226: * @param name The name of this new facet. ingo@226: * @param description The description of this new facet. ingo@226: */ ingo@226: public DefaultFacet(String name, String description) { ingo@226: this.name = name; ingo@226: this.description = description; ingo@226: } ingo@226: ingo@226: ingo@226: public String getName() { ingo@226: return name; ingo@226: } ingo@226: ingo@226: ingo@226: public String getDescription() { ingo@226: return description; ingo@226: } ingo@226: } ingo@226: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :