org.LexGrid.versions
Class ChangedEntry

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.versions.ChangedEntry
All Implemented Interfaces:
java.io.Serializable

public class ChangedEntry
extends LexGridBase
implements java.io.Serializable

A top level versionable entry. A fix because XML schema doesn't deal with inheritence.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ChangedEntry()
           
 
Method Summary
 CodingScheme getChangedCodingSchemeEntry()
          Returns the value of field 'changedCodingSchemeEntry'.
 PickListDefinition getChangedPickListDefinitionEntry()
          Returns the value of field 'changedPickListDefinitionEntry'.
 ValueSetDefinition getChangedValueSetDefinitionEntry()
          Returns the value of field 'changedValueSetDefinitionEntry'.
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setChangedCodingSchemeEntry(CodingScheme changedCodingSchemeEntry)
          Sets the value of field 'changedCodingSchemeEntry'.
 void setChangedPickListDefinitionEntry(PickListDefinition changedPickListDefinitionEntry)
          Sets the value of field 'changedPickListDefinitionEntry'.
 void setChangedValueSetDefinitionEntry(ValueSetDefinition changedValueSetDefinitionEntry)
          Sets the value of field 'changedValueSetDefinitionEntry'.
static ChangedEntry unmarshalChangedEntry(java.io.Reader reader)
          Method unmarshalChangedEntry.
 void validate()
           
 
Methods inherited from class org.mayo.edu.lgModel.LexGridBase
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangedEntry

public ChangedEntry()
Method Detail

getChangedCodingSchemeEntry

public CodingScheme getChangedCodingSchemeEntry()
Returns the value of field 'changedCodingSchemeEntry'.

Returns:
the value of field 'ChangedCodingSchemeEntry'.

getChangedPickListDefinitionEntry

public PickListDefinition getChangedPickListDefinitionEntry()
Returns the value of field 'changedPickListDefinitionEntry'.

Returns:
the value of field 'ChangedPickListDefinitionEntry'.

getChangedValueSetDefinitionEntry

public ValueSetDefinition getChangedValueSetDefinitionEntry()
Returns the value of field 'changedValueSetDefinitionEntry'.

Returns:
the value of field 'ChangedValueSetDefinitionEntry'.

getChoiceValue

public java.lang.Object getChoiceValue()
Returns the value of field 'choiceValue'. The field 'choiceValue' has the following description: Internal choice value storage

Returns:
the value of field 'ChoiceValue'.

isValid

public boolean isValid()
Method isValid.

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
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
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

setChangedCodingSchemeEntry

public void setChangedCodingSchemeEntry(CodingScheme changedCodingSchemeEntry)
Sets the value of field 'changedCodingSchemeEntry'.

Parameters:
changedCodingSchemeEntry - the value of field 'changedCodingSchemeEntry'.

setChangedPickListDefinitionEntry

public void setChangedPickListDefinitionEntry(PickListDefinition changedPickListDefinitionEntry)
Sets the value of field 'changedPickListDefinitionEntry'.

Parameters:
changedPickListDefinitionEntry - the value of field 'changedPickListDefinitionEntry'.

setChangedValueSetDefinitionEntry

public void setChangedValueSetDefinitionEntry(ValueSetDefinition changedValueSetDefinitionEntry)
Sets the value of field 'changedValueSetDefinitionEntry'.

Parameters:
changedValueSetDefinitionEntry - the value of field 'changedValueSetDefinitionEntry'.

unmarshalChangedEntry

public static ChangedEntry unmarshalChangedEntry(java.io.Reader reader)
                                          throws org.exolab.castor.xml.MarshalException,
                                                 org.exolab.castor.xml.ValidationException
Method unmarshalChangedEntry.

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.versions.ChangedEntry
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
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.