comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Facet.java @ 524:ab13ab6acc5c facet-metadata

New method to add meta data to a facet.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 02 Jul 2014 12:29:21 +0200
parents 97dc9b8ae68a
children
comparison
equal deleted inserted replaced
519:97dc9b8ae68a 524:ab13ab6acc5c
77 * 77 *
78 * @return the meta data. 78 * @return the meta data.
79 */ 79 */
80 Map<String, String> getMetaData(Artifact artifact, CallContext context); 80 Map<String, String> getMetaData(Artifact artifact, CallContext context);
81 81
82 /**
83 * Add a key value pair to the facets metadata.
84 *
85 * @param key The meta data key.
86 * @param value The meta data value.
87 */
88 void addMetaData(String key, String value);
82 89
83 /** 90 /**
84 * Get keys for which this Facet can provide data (for other facets, not 91 * Get keys for which this Facet can provide data (for other facets, not
85 * for plot). 92 * for plot).
86 * @param artifact Artifact that this facet belongs to. 93 * @param artifact Artifact that this facet belongs to.
114 * @return the representation as Node. 121 * @return the representation as Node.
115 */ 122 */
116 Node toXML(Document doc); 123 Node toXML(Document doc);
117 124
118 Facet deepCopy(); 125 Facet deepCopy();
126
119 } 127 }
120 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 128 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org