[HepData-svn] r1826 - trunk/hepdata-model/src/main/java/cedar/hepdata/model

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Oct 23 20:13:52 BST 2014


Author: watt
Date: Thu Oct 23 20:13:52 2014
New Revision: 1826

Log:
Revert Mike's addition of DataType to Dataset

Modified:
   trunk/hepdata-model/src/main/java/cedar/hepdata/model/Dataset.java

Modified: trunk/hepdata-model/src/main/java/cedar/hepdata/model/Dataset.java
==============================================================================
--- trunk/hepdata-model/src/main/java/cedar/hepdata/model/Dataset.java	Thu Oct 23 14:41:57 2014	(r1825)
+++ trunk/hepdata-model/src/main/java/cedar/hepdata/model/Dataset.java	Thu Oct 23 20:13:52 2014	(r1826)
@@ -30,10 +30,6 @@
     @Column(name="LocalId", nullable=false)
     private Integer _localId;
 
-     /** Type of dataset, normal , correlation, 3D etc. */
-     @Column(name="DataType", nullable=true, length=20)
-     private String _dataType;
-
     /** Searchable dataset properties. */
     @OneToMany(mappedBy="_dataset")
     @org.hibernate.annotations.Cascade(value={org.hibernate.annotations.CascadeType.ALL,
@@ -282,16 +278,7 @@
         return this;
     }
 
-    /** Get datatype. */
-    public String getDataType(){
-        return _dataType;
-    }
 
-    /** Set datatype. */
-    public Dataset setDataType(String datatype){
-        _dataType  =datatype;
-        return this;
-    }
 
     /** Get parent paper. */
     public Paper getPaper() {


More information about the HepData-svn mailing list