|
[HepData-svn] r1602 - trunk/hepdata-model/src/main/java/cedar/hepdata/modelblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Nov 28 12:36:33 GMT 2012
Author: whalley Date: Wed Nov 28 12:36:33 2012 New Revision: 1602 Log: adding the code for the DataUpdated field Modified: trunk/hepdata-model/src/main/java/cedar/hepdata/model/Paper.java Modified: trunk/hepdata-model/src/main/java/cedar/hepdata/model/Paper.java ============================================================================== --- trunk/hepdata-model/src/main/java/cedar/hepdata/model/Paper.java Mon Nov 26 14:53:46 2012 (r1601) +++ trunk/hepdata-model/src/main/java/cedar/hepdata/model/Paper.java Wed Nov 28 12:36:33 2012 (r1602) @@ -49,6 +49,10 @@ /** DOI of the paper/journal. */ private String _doi = ""; + @Column(name="DateUpdated", unique=false, nullable=true, length=20) + /** Date of the last update of the record. eg yyyyMMddhhmmss*/ + private String _dateupdated = ""; + @org.hibernate.annotations.CollectionOfElements @JoinTable(name="PaperExpts", joinColumns=@JoinColumn(name="PAPER_ID")) // @org.hibernate.annotations.CollectionId(columns=@Column(name="PaperExptId"), type=@org.hibernate.annotations.Type(type="long"), generator="sequence") @@ -544,6 +548,16 @@ return this; } + /** Get paper/record dateupdated */ + public String getDateUpdated() { + return _dateupdated; + } + /** Set paper/record dateupdated */ + public Paper setDateUpdated(String dateupdated) { + _dateupdated = dateupdated; + return this; + } + /** Get experiments */ public SortedSet<Experiment> getExperiments() {
More information about the HepData-svn mailing list |