|
[HepData-svn] r1510 - trunk/hepdata-model/src/main/java/cedar/hepdata/modelblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Feb 14 10:32:44 GMT 2012
Author: whalley Date: Tue Feb 14 10:32:44 2012 New Revision: 1510 Log: adding reference type AUX for auxillary material 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 Thu Feb 9 14:15:17 2012 (r1509) +++ trunk/hepdata-model/src/main/java/cedar/hepdata/model/Paper.java Tue Feb 14 10:32:44 2012 (r1510) @@ -271,6 +271,16 @@ return archive; } + public String getFirstAux() { + String firstaux = null; + for (Reference ref : getReferences()) { + if (ref.getType().startsWith("AUX")) { + firstaux = ref.getDescription(); + break; + } + } + return firstaux; + } public String getReferenceString(int n){ StringBuffer s = new StringBuffer(); String refstring = null;
More information about the HepData-svn mailing list |