org.LexGrid.versions
Class CodingSchemeVersion
java.lang.Object
org.mayo.edu.lgModel.LexGridBase
org.LexGrid.commonTypes.Describable
org.LexGrid.versions.EntityVersion
org.LexGrid.versions.CodingSchemeVersion
- All Implemented Interfaces:
- java.io.Serializable
public class CodingSchemeVersion
- extends EntityVersion
- implements java.io.Serializable
A static snapshot of a coding scheme at a point in time. May be
either a complete NOTE: This type is here for backwards
compatbility with the LexBIG API, and is not otherwise used in
the current LexGrid model. Do not reference or use!
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
Methods inherited from class org.LexGrid.versions.EntityVersion |
getChangeDocumentation, getChangeInstructions, getEffectiveDate, getIsComplete, getReleaseURN, getVersion, getVersionDate, getVersionOrder, isIsComplete, setChangeDocumentation, setChangeInstructions, setEffectiveDate, setIsComplete, setReleaseURN, setVersion, setVersionDate, setVersionOrder, unmarshalEntityVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodingSchemeVersion
public CodingSchemeVersion()
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid
in class EntityVersion
- Returns:
- true if this object is valid according to the schema
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class EntityVersion
- Parameters:
out
-
- Throws:
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
marshal
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal
in class EntityVersion
- Parameters:
handler
-
- Throws:
java.io.IOException
- if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
unmarshalCodingSchemeVersion
public static CodingSchemeVersion unmarshalCodingSchemeVersion(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Method unmarshalCodingSchemeVersion.
- Parameters:
reader
-
- Returns:
- the unmarshaled
org.LexGrid.versions.CodingSchemeVersion
- Throws:
org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate
in class EntityVersion
- Throws:
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schema