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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Nov 6 16:36:10 GMT 2013


Author: whalley
Date: Wed Nov  6 16:36:09 2013
New Revision: 1660

Log:
more changes for HepML formatter

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

Modified: trunk/hepdata-model/src/main/java/cedar/hepdata/model/Relation.java
==============================================================================
--- trunk/hepdata-model/src/main/java/cedar/hepdata/model/Relation.java	Wed Nov  6 15:21:39 2013	(r1659)
+++ trunk/hepdata-model/src/main/java/cedar/hepdata/model/Relation.java	Wed Nov  6 16:36:09 2013	(r1660)
@@ -1,11 +1,11 @@
 package cedar.hepdata.model;
 
 public enum Relation {
-    EQUALS        ("=", "EQ"),
-    GREATER       (">", "GT"),
-    LESS          ("<", "LT"),
-    GREATEREQUALS (">=", "GE"),
-    LESSEQUALS    ("<=", "LE");
+    EQUALS        ("=", "eq"),
+    GREATER       (">", "gt"),
+    LESS          ("<", "lt"),
+    GREATEREQUALS (">=", "ge"),
+    LESSEQUALS    ("<=", "le");
 
     private final String symname;
 
@@ -17,4 +17,6 @@
     }
 
     public String toString() { return symname; }
+
+    public String toShortName() { return shortname; }
 }


More information about the HepData-svn mailing list