Mercurial > dive4elements > framework
diff artifacts/src/main/java/org/dive4elements/artifacts/Artifact.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 |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/artifacts/Artifact.java Fri Dec 20 13:09:32 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/artifacts/Artifact.java Wed Apr 30 15:04:14 2014 +0200 @@ -46,6 +46,17 @@ public interface Artifact extends Serializable { + /** + * The artifact name. + * @return The name of the artifact. + */ + public String getName(); + + /** + * Set the artifact name. + * @param name The name of the artifact. + */ + public void setName(String name); /** * Set a new identifier for this artifact.