comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java @ 280:7fbe674d758a

Facets got a method that return its required data from the owner artifact. artifacts/trunk@2139 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Jun 2011 07:40:20 +0000
parents 0a579b71496b
children 7c33cac15134
comparison
equal deleted inserted replaced
279:5ed1afd81569 280:7fbe674d758a
1 package de.intevation.artifactdatabase.state; 1 package de.intevation.artifactdatabase.state;
2
3 import de.intevation.artifacts.Artifact;
4 import de.intevation.artifacts.CallContext;
2 5
3 6
4 /** 7 /**
5 * The default implementation of a Facet. 8 * The default implementation of a Facet.
6 * 9 *
54 57
55 58
56 public String getDescription() { 59 public String getDescription() {
57 return description; 60 return description;
58 } 61 }
62
63
64 public Object getData(Artifact artifact, CallContext context) {
65 return null;
66 }
59 } 67 }
60 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 68 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org