Add created attribute with getters and setters
@@ -44,6 +44,8 @@ public class ArtifactEntry
private Date lastUsed;
+ private Date created;
+
private Integer downloadCount = Integer.valueOf(0);
public ArtifactEntry()
@@ -131,6 +133,16 @@ public class ArtifactEntry
this.lastUsed = lastUsed != null ? new Date(lastUsed.getTime()) : null;
}
+ public Date getCreated()
+ {
+ return created != null ? new Date(created.getTime()) : null;
+ }
+
+ public void setCreated(Date created)
+ {
+ this.created = created != null ? new Date(created.getTime()) : null;
+ }
+
public Integer getDownloadCount()
{
return downloadCount;
