comparison artifacts/src/main/java/org/dive4elements/river/artifacts/D4EArtifact.java @ 7844:2abcd7df4e5d

Removed name and getter for name (Moved to DefaultArtifact).
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 30 Apr 2014 15:16:42 +0200
parents 2e45ff3f249b
children 4e264d6c6e06
comparison
equal deleted inserted replaced
7843:2e45ff3f249b 7844:2abcd7df4e5d
101 protected String currentStateId; 101 protected String currentStateId;
102 102
103 /** The identifiers of previous states on a stack. */ 103 /** The identifiers of previous states on a stack. */
104 protected List<String> previousStateIds; 104 protected List<String> previousStateIds;
105 105
106 /** The name of the artifact. */
107 protected String name;
108
109 /** The data that have been inserted into this artifact. */ 106 /** The data that have been inserted into this artifact. */
110 private Map<String, StateData> data; 107 private Map<String, StateData> data;
111 108
112 /** Mapping of state names to created facets. */ 109 /** Mapping of state names to created facets. */
113 private Map<String, List<Facet>> facets; 110 private Map<String, List<Facet>> facets;
169 } 166 }
170 DefaultState state = (DefaultState) engine.getState(stateId); 167 DefaultState state = (DefaultState) engine.getState(stateId);
171 168
172 ui.appendChild(state.describeStatic(this, doc, ui, context, uuid)); 169 ui.appendChild(state.describeStatic(this, doc, ui, context, uuid));
173 } 170 }
174 }
175
176
177 /**
178 * Returns the name of the concrete artifact.
179 *
180 * @return the name of the concrete artifact.
181 */
182 public String getName() {
183 return name;
184 } 171 }
185 172
186 173
187 /** 174 /**
188 * Initialize the artifact and insert new data if <code>data</code> contains 175 * Initialize the artifact and insert new data if <code>data</code> contains

http://dive4elements.wald.intevation.org