GeomConverter/src/org/lcsim/geometry/compact
diff -u -r1.6 -r1.7
--- Header.java 16 Feb 2006 00:56:49 -0000 1.6
+++ Header.java 18 Sep 2006 22:09:57 -0000 1.7
@@ -15,6 +15,7 @@
private String version = "NONE";
private String url = "NONE";
private String comment = "NONE";
+ private String status = "NONE";
protected Header(Element info)
{
@@ -50,6 +51,11 @@
{
comment = info.getChild("comment").getTextNormalize();
}
+
+ if (info.getAttribute("status") != null)
+ {
+ status = info.getAttributeValue("status");
+ }
}
/**
@@ -102,8 +108,21 @@
return comment;
}
+ /**
+ * Get the title of this detector.
+ * @return The title.
+ */
public String getTitle()
{
return title;
}
+
+ /**
+ * Get the production status of this detector.
+ * @return The status description.
+ */
+ public String getStatus()
+ {
+ return status;
+ }
}
\ No newline at end of file