0df1cb45869fb439e2f6f17845bef4345849f3a0
mmaddren
  Thu Apr 21 15:54:49 2011 -0700
added class diagram
diff --git python/ucscgenomics/rafile/cvClassDiagram python/ucscgenomics/rafile/cvClassDiagram
new file mode 100644
index 0000000..8114af3
--- /dev/null
+++ python/ucscgenomics/rafile/cvClassDiagram
@@ -0,0 +1,21 @@
+CvFile : RaFile
+    keeps each type of stanza organized as well as the whole list
+    adds validate() which will call Stanza.validate() for all stanzas
+
+CvStanza : RaStanza
+    adds validate() which will be overriden in child classes
+    validate() checks for things all stanzas need (term, tag, desc, type)
+
+HumanCellStanza, MouseCellStanza, AntibodyStanza : CvStanza
+    overrides validate():
+        -checks necessary fields are present (and not blank)
+        -checks remaining fields against list of optional fields to ensure
+         that no extraneous fields are present
+        -checks typed fields correctly match with a stanza of that type
+
+AgeStanza, SeqPlatformStanza, LabStanza... : CvStanza
+    stanzas with minor tweaks to validate()
+
+ControlStanza, TierStanza, PhaseStanza... : CvStanza
+    blank classes that only need the default CvStanza.validate() behavior
+