comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java @ 226:41404961c804

Added support for facets - facets of output modes are read from configuration now. artifacts/trunk@1626 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 30 Mar 2011 14:45:15 +0000
parents
children 0a579b71496b
comparison
equal deleted inserted replaced
224:da92e7f8040b 226:41404961c804
1 package de.intevation.artifactdatabase.state;
2
3
4 /**
5 * The default implementation of a Facet.
6 *
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */
9 public class DefaultFacet implements Facet {
10
11 /** The name of this facet.*/
12 protected String name;
13
14 /** The description of this facet.*/
15 protected String description;
16
17
18 /**
19 * The default constructor to create new Facet objects.
20 *
21 * @param name The name of this new facet.
22 * @param description The description of this new facet.
23 */
24 public DefaultFacet(String name, String description) {
25 this.name = name;
26 this.description = description;
27 }
28
29
30 public String getName() {
31 return name;
32 }
33
34
35 public String getDescription() {
36 return description;
37 }
38 }
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org