org.LexGrid.versions
Class CodingSchemeVersion

java.lang.Object
  extended by org.LexGrid.commonTypes.Describable
      extended by org.LexGrid.versions.EntityVersion
          extended by 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

Constructor Summary
CodingSchemeVersion()
           
 
Method Summary
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
static CodingSchemeVersion unmarshalCodingSchemeVersion(java.io.Reader reader)
          Method unmarshalCodingSchemeVersion.
 void validate()
           
 
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 org.LexGrid.commonTypes.Describable
getEntityDescription, setEntityDescription, unmarshalDescribable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodingSchemeVersion

public CodingSchemeVersion()
Method Detail

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

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.