java/trunk/conditions/src/main/java/org/hps/conditions
--- java/trunk/conditions/src/main/java/org/hps/conditions/ConditionsRecord.java 2014-08-14 00:04:12 UTC (rev 849)
+++ java/trunk/conditions/src/main/java/org/hps/conditions/ConditionsRecord.java 2014-08-14 00:04:53 UTC (rev 850)
@@ -128,6 +128,14 @@
public int getCollectionId() {
return getFieldValue("collection_id");
}
+
+ /**
+ * Get the string tag associated with these conditions.
+ * @return The string tag.
+ */
+ public String getTag() {
+ return getFieldValue("tag");
+ }
/**
* Convert this record to a human readable string, one field per line.
@@ -145,6 +153,7 @@
buff.append("created: " + getCreated() + '\n');
buff.append("validFrom: " + getValidFrom() + '\n');
buff.append("validTo: " + getValidTo() + '\n');
+ buff.append("tag: " + getTag() + '\n');
buff.append("createdBy: " + getCreatedBy() + '\n');
buff.append("formatVersion: " + getFormatVersion() + '\n');
buff.append("notes: " + getNotes() + '\n');
java/trunk/conditions/src/main/resources/org/hps/conditions/config
--- java/trunk/conditions/src/main/resources/org/hps/conditions/config/conditions_dev.xml 2014-08-14 00:04:12 UTC (rev 849)
+++ java/trunk/conditions/src/main/resources/org/hps/conditions/config/conditions_dev.xml 2014-08-14 00:04:53 UTC (rev 850)
@@ -43,6 +43,7 @@
<field name="created" />
<field name="valid_from" />
<field name="valid_to" />
+ <field name="tag" />
<field name="created_by" />
<field name="notes" />
<field name="name" />