Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/DefaultArtifact.java @ 512:ff79b8df9aa6
Added getter and setter for name in artifact interface and default artifact.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:04:14 +0200 |
parents | 415df0fc4fa1 |
children | 69f99bdf3d65 |
comparison
equal
deleted
inserted
replaced
510:08c82b4e8b58 | 512:ff79b8df9aa6 |
---|---|
33 | 33 |
34 /** | 34 /** |
35 * The identifier of the artifact. | 35 * The identifier of the artifact. |
36 */ | 36 */ |
37 protected String identifier; | 37 protected String identifier; |
38 | |
39 /** | |
40 * The name of the artifact. | |
41 */ | |
42 protected String name; | |
38 | 43 |
39 | 44 |
40 /** | 45 /** |
41 * Default constructor. | 46 * Default constructor. |
42 */ | 47 */ |
136 public void cleanup(Object context) { | 141 public void cleanup(Object context) { |
137 if (logger.isDebugEnabled()) { | 142 if (logger.isDebugEnabled()) { |
138 logger.debug("DefaultArtifact.cleanup: " + identifier); | 143 logger.debug("DefaultArtifact.cleanup: " + identifier); |
139 } | 144 } |
140 } | 145 } |
146 | |
147 | |
148 @Override | |
149 public String getName() { | |
150 return name; | |
151 } | |
152 | |
153 | |
154 @Override | |
155 public void setName(String name) { | |
156 this.name = name; | |
157 } | |
141 } | 158 } |
142 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 159 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |