org.LexGrid.REST.valueSets
Class PickListDefinition

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.REST.commonTypes.Versionable
          extended by org.LexGrid.REST.valueSets.PickListDefinition
All Implemented Interfaces:
java.io.Serializable

public class PickListDefinition
extends Versionable
implements java.io.Serializable

An ordered list of entity codes and corresponding presentations drawn from a value domain.

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

Constructor Summary
PickListDefinition()
           
 
Method Summary
 void addDefaultPickContext(Context vDefaultPickContext)
           
 void addDefaultPickContext(int index, Context vDefaultPickContext)
           
 void addPickListEntryNode(int index, PickListEntryNode vPickListEntryNode)
           
 void addPickListEntryNode(PickListEntryNode vPickListEntryNode)
           
 void addSource(int index, Source vSource)
           
 void addSource(Source vSource)
           
 java.util.Enumeration<? extends Context> enumerateDefaultPickContext()
          Method enumerateDefaultPickContext.
 java.util.Enumeration<? extends PickListEntryNode> enumeratePickListEntryNode()
          Method enumeratePickListEntryNode.
 java.util.Enumeration<? extends Source> enumerateSource()
          Method enumerateSource.
 java.lang.Boolean getCompleteDomain()
          Returns the value of field 'completeDomain'.
 NamespaceName getDefaultEntityCodeNamespace()
          Returns the value of field 'defaultEntityCodeNamespace'.
 Language getDefaultLanguage()
          Returns the value of field 'defaultLanguage'.
 Context[] getDefaultPickContext()
          Method getDefaultPickContext.Returns the contents of the collection in an Array.
 Context getDefaultPickContext(int index)
          Method getDefaultPickContext.
 java.util.List<Context> getDefaultPickContextAsReference()
          Method getDefaultPickContextAsReference.Returns a reference to '_defaultPickContextList'.
 int getDefaultPickContextCount()
          Method getDefaultPickContextCount.
 SortOrder getDefaultSortOrder()
          Returns the value of field 'defaultSortOrder'.
 Mappings getMappings()
          Returns the value of field 'mappings'.
 PickListDirectoryEntryGroup getPickListDirectoryEntryGroup()
          Returns the value of field 'pickListDirectoryEntryGroup'.
 PickListEntryNode[] getPickListEntryNode()
          Method getPickListEntryNode.Returns the contents of the collection in an Array.
 PickListEntryNode getPickListEntryNode(int index)
          Method getPickListEntryNode.
 java.util.List<PickListEntryNode> getPickListEntryNodeAsReference()
          Method getPickListEntryNodeAsReference.Returns a reference to '_pickListEntryNodeList'.
 int getPickListEntryNodeCount()
          Method getPickListEntryNodeCount.
 NodeId getPickListId()
          Returns the value of field 'pickListId'.
 Properties getProperties()
          Returns the value of field 'properties'.
 URI getRepresentsValueDomain()
          Returns the value of field 'representsValueDomain'.
 Source[] getSource()
          Method getSource.Returns the contents of the collection in an Array.
 Source getSource(int index)
          Method getSource.
 java.util.List<Source> getSourceAsReference()
          Method getSourceAsReference.Returns a reference to '_sourceList'.
 int getSourceCount()
          Method getSourceCount.
 java.lang.Boolean isCompleteDomain()
          Returns the value of field 'completeDomain'.
 boolean isValid()
          Method isValid.
 java.util.Iterator<? extends Context> iterateDefaultPickContext()
          Method iterateDefaultPickContext.
 java.util.Iterator<? extends PickListEntryNode> iteratePickListEntryNode()
          Method iteratePickListEntryNode.
 java.util.Iterator<? extends Source> iterateSource()
          Method iterateSource.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllDefaultPickContext()
           
 void removeAllPickListEntryNode()
           
 void removeAllSource()
           
 boolean removeDefaultPickContext(Context vDefaultPickContext)
          Method removeDefaultPickContext.
 Context removeDefaultPickContextAt(int index)
          Method removeDefaultPickContextAt.
 boolean removePickListEntryNode(PickListEntryNode vPickListEntryNode)
          Method removePickListEntryNode.
 PickListEntryNode removePickListEntryNodeAt(int index)
          Method removePickListEntryNodeAt.
 boolean removeSource(Source vSource)
          Method removeSource.
 Source removeSourceAt(int index)
          Method removeSourceAt.
 void setCompleteDomain(java.lang.Boolean completeDomain)
          Sets the value of field 'completeDomain'.
 void setDefaultEntityCodeNamespace(NamespaceName defaultEntityCodeNamespace)
          Sets the value of field 'defaultEntityCodeNamespace'.
 void setDefaultLanguage(Language defaultLanguage)
          Sets the value of field 'defaultLanguage'.
 void setDefaultPickContext(Context[] vDefaultPickContextArray)
           
 void setDefaultPickContext(int index, Context vDefaultPickContext)
           
 void setDefaultPickContext(java.util.List<Context> vDefaultPickContextList)
          Sets the value of '_defaultPickContextList' by copying the given Vector.
 void setDefaultPickContextAsReference(java.util.List<Context> defaultPickContextList)
          Deprecated.  
 void setDefaultSortOrder(SortOrder defaultSortOrder)
          Sets the value of field 'defaultSortOrder'.
 void setMappings(Mappings mappings)
          Sets the value of field 'mappings'.
 void setPickListDirectoryEntryGroup(PickListDirectoryEntryGroup pickListDirectoryEntryGroup)
          Sets the value of field 'pickListDirectoryEntryGroup'.
 void setPickListEntryNode(int index, PickListEntryNode vPickListEntryNode)
           
 void setPickListEntryNode(java.util.List<PickListEntryNode> vPickListEntryNodeList)
          Sets the value of '_pickListEntryNodeList' by copying the given Vector.
 void setPickListEntryNode(PickListEntryNode[] vPickListEntryNodeArray)
           
 void setPickListEntryNodeAsReference(java.util.List<PickListEntryNode> pickListEntryNodeList)
          Deprecated.  
 void setPickListId(NodeId pickListId)
          Sets the value of field 'pickListId'.
 void setProperties(Properties properties)
          Sets the value of field 'properties'.
 void setRepresentsValueDomain(URI representsValueDomain)
          Sets the value of field 'representsValueDomain'.
 void setSource(int index, Source vSource)
           
 void setSource(java.util.List<Source> vSourceList)
          Sets the value of '_sourceList' by copying the given Vector.
 void setSource(Source[] vSourceArray)
           
 void setSourceAsReference(java.util.List<Source> sourceList)
          Deprecated.  
static PickListDefinition unmarshalPickListDefinition(java.io.Reader reader)
          Method unmarshalPickListDefinition.
 void validate()
           
 
Methods inherited from class org.LexGrid.REST.commonTypes.Versionable
getEffectiveDate, getEntryState, getExpirationDate, getIsActive, getOwner, getStatus, isIsActive, setEffectiveDate, setEntryState, setExpirationDate, setIsActive, setOwner, setStatus, unmarshalVersionable
 
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

PickListDefinition

public PickListDefinition()
Method Detail

addDefaultPickContext

public void addDefaultPickContext(Context vDefaultPickContext)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
vDefaultPickContext -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addDefaultPickContext

public void addDefaultPickContext(int index,
                                  Context vDefaultPickContext)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vDefaultPickContext -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addPickListEntryNode

public void addPickListEntryNode(PickListEntryNode vPickListEntryNode)
                          throws java.lang.IndexOutOfBoundsException
Parameters:
vPickListEntryNode -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addPickListEntryNode

public void addPickListEntryNode(int index,
                                 PickListEntryNode vPickListEntryNode)
                          throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPickListEntryNode -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSource

public void addSource(Source vSource)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vSource -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSource

public void addSource(int index,
                      Source vSource)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSource -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateDefaultPickContext

public java.util.Enumeration<? extends Context> enumerateDefaultPickContext()
Method enumerateDefaultPickContext.

Returns:
an Enumeration over all possible elements of this collection

enumeratePickListEntryNode

public java.util.Enumeration<? extends PickListEntryNode> enumeratePickListEntryNode()
Method enumeratePickListEntryNode.

Returns:
an Enumeration over all possible elements of this collection

enumerateSource

public java.util.Enumeration<? extends Source> enumerateSource()
Method enumerateSource.

Returns:
an Enumeration over all possible elements of this collection

getCompleteDomain

public java.lang.Boolean getCompleteDomain()
Returns the value of field 'completeDomain'. The field 'completeDomain' has the following description: True means that this pick list should represent all of the entries in the domain. Any active entity codes that aren't in the specific pick list entries are added to the end, using the designations identified by the defaultLanguage, defaultSortOrder and defaultPickContext. Default: false

Returns:
the value of field 'CompleteDomain'.

getDefaultEntityCodeNamespace

public NamespaceName getDefaultEntityCodeNamespace()
Returns the value of field 'defaultEntityCodeNamespace'. The field 'defaultEntityCodeNamespace' has the following description: Local name of the namespace to which the entry codes in this list belong. defaultEntityCodeNamespace must match a local id of a supportedNamespace in the mappings section.

Returns:
the value of field 'DefaultEntityCodeNamespace'.

getDefaultLanguage

public Language getDefaultLanguage()
Returns the value of field 'defaultLanguage'. The field 'defaultLanguage' has the following description: The local identifier of the language that is used to generate the text of this pick list if not otherwise specified. Note that this language does NOT necessarily have any coorelation with the language of a pickListEntry itself or the language of the target user. defaultLanguage must match a local id of a supportedLanguage in the mappings section.

Returns:
the value of field 'DefaultLanguage'.

getDefaultPickContext

public Context getDefaultPickContext(int index)
                              throws java.lang.IndexOutOfBoundsException
Method getDefaultPickContext.

Parameters:
index -
Returns:
the value of the org.LexGrid.REST.commonTypes.Context at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getDefaultPickContext

public Context[] getDefaultPickContext()
Method getDefaultPickContext.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getDefaultPickContextAsReference

public java.util.List<Context> getDefaultPickContextAsReference()
Method getDefaultPickContextAsReference.Returns a reference to '_defaultPickContextList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getDefaultPickContextCount

public int getDefaultPickContextCount()
Method getDefaultPickContextCount.

Returns:
the size of this collection

getDefaultSortOrder

public SortOrder getDefaultSortOrder()
Returns the value of field 'defaultSortOrder'. The field 'defaultSortOrder' has the following description: The local identifier of a sort order that is used as the default in the definition of the pick list

Returns:
the value of field 'DefaultSortOrder'.

getMappings

public Mappings getMappings()
Returns the value of field 'mappings'. The field 'mappings' has the following description: The mappings that are specific to this pick list definition. This set of mappings must be supplied when a pick list definition is included in a changedEntry and must be empty when it is included in a pickLists collection, as the collection itself carries the mappings

Returns:
the value of field 'Mappings'.

getPickListDirectoryEntryGroup

public PickListDirectoryEntryGroup getPickListDirectoryEntryGroup()
Returns the value of field 'pickListDirectoryEntryGroup'.

Returns:
the value of field 'PickListDirectoryEntryGroup'.

getPickListEntryNode

public PickListEntryNode getPickListEntryNode(int index)
                                       throws java.lang.IndexOutOfBoundsException
Method getPickListEntryNode.

Parameters:
index -
Returns:
the value of the org.LexGrid.REST.valueSets.PickListEntryNode at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getPickListEntryNode

public PickListEntryNode[] getPickListEntryNode()
Method getPickListEntryNode.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getPickListEntryNodeAsReference

public java.util.List<PickListEntryNode> getPickListEntryNodeAsReference()
Method getPickListEntryNodeAsReference.Returns a reference to '_pickListEntryNodeList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getPickListEntryNodeCount

public int getPickListEntryNodeCount()
Method getPickListEntryNodeCount.

Returns:
the size of this collection

getPickListId

public NodeId getPickListId()
Returns the value of field 'pickListId'. The field 'pickListId' has the following description: An identifier that uniquely names this list within the context of the collection.

Returns:
the value of field 'PickListId'.

getProperties

public Properties getProperties()
Returns the value of field 'properties'. The field 'properties' has the following description: A list of propeties used in the description of this pick list.

Returns:
the value of field 'Properties'.

getRepresentsValueDomain

public URI getRepresentsValueDomain()
Returns the value of field 'representsValueDomain'. The field 'representsValueDomain' has the following description: The URI of the value domain definition that is represented by this pick list

Returns:
the value of field 'RepresentsValueDomain'.

getSource

public Source getSource(int index)
                 throws java.lang.IndexOutOfBoundsException
Method getSource.

Parameters:
index -
Returns:
the value of the org.LexGrid.REST.commonTypes.Source at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getSource

public Source[] getSource()
Method getSource.Returns the contents of the collection in an Array.

Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.

Returns:
this collection as an Array

getSourceAsReference

public java.util.List<Source> getSourceAsReference()
Method getSourceAsReference.Returns a reference to '_sourceList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getSourceCount

public int getSourceCount()
Method getSourceCount.

Returns:
the size of this collection

isCompleteDomain

public java.lang.Boolean isCompleteDomain()
Returns the value of field 'completeDomain'. The field 'completeDomain' has the following description: True means that this pick list should represent all of the entries in the domain. Any active entity codes that aren't in the specific pick list entries are added to the end, using the designations identified by the defaultLanguage, defaultSortOrder and defaultPickContext. Default: false

Returns:
the value of field 'CompleteDomain'.

isValid

public boolean isValid()
Method isValid.

Overrides:
isValid in class Versionable
Returns:
true if this object is valid according to the schema

iterateDefaultPickContext

public java.util.Iterator<? extends Context> iterateDefaultPickContext()
Method iterateDefaultPickContext.

Returns:
an Iterator over all possible elements in this collection

iteratePickListEntryNode

public java.util.Iterator<? extends PickListEntryNode> iteratePickListEntryNode()
Method iteratePickListEntryNode.

Returns:
an Iterator over all possible elements in this collection

iterateSource

public java.util.Iterator<? extends Source> iterateSource()
Method iterateSource.

Returns:
an Iterator over all possible elements in this collection

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class Versionable
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 Versionable
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

removeAllDefaultPickContext

public void removeAllDefaultPickContext()

removeAllPickListEntryNode

public void removeAllPickListEntryNode()

removeAllSource

public void removeAllSource()

removeDefaultPickContext

public boolean removeDefaultPickContext(Context vDefaultPickContext)
Method removeDefaultPickContext.

Parameters:
vDefaultPickContext -
Returns:
true if the object was removed from the collection.

removeDefaultPickContextAt

public Context removeDefaultPickContextAt(int index)
Method removeDefaultPickContextAt.

Parameters:
index -
Returns:
the element removed from the collection

removePickListEntryNode

public boolean removePickListEntryNode(PickListEntryNode vPickListEntryNode)
Method removePickListEntryNode.

Parameters:
vPickListEntryNode -
Returns:
true if the object was removed from the collection.

removePickListEntryNodeAt

public PickListEntryNode removePickListEntryNodeAt(int index)
Method removePickListEntryNodeAt.

Parameters:
index -
Returns:
the element removed from the collection

removeSource

public boolean removeSource(Source vSource)
Method removeSource.

Parameters:
vSource -
Returns:
true if the object was removed from the collection.

removeSourceAt

public Source removeSourceAt(int index)
Method removeSourceAt.

Parameters:
index -
Returns:
the element removed from the collection

setCompleteDomain

public void setCompleteDomain(java.lang.Boolean completeDomain)
Sets the value of field 'completeDomain'. The field 'completeDomain' has the following description: True means that this pick list should represent all of the entries in the domain. Any active entity codes that aren't in the specific pick list entries are added to the end, using the designations identified by the defaultLanguage, defaultSortOrder and defaultPickContext. Default: false

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

setDefaultEntityCodeNamespace

public void setDefaultEntityCodeNamespace(NamespaceName defaultEntityCodeNamespace)
Sets the value of field 'defaultEntityCodeNamespace'. The field 'defaultEntityCodeNamespace' has the following description: Local name of the namespace to which the entry codes in this list belong. defaultEntityCodeNamespace must match a local id of a supportedNamespace in the mappings section.

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

setDefaultLanguage

public void setDefaultLanguage(Language defaultLanguage)
Sets the value of field 'defaultLanguage'. The field 'defaultLanguage' has the following description: The local identifier of the language that is used to generate the text of this pick list if not otherwise specified. Note that this language does NOT necessarily have any coorelation with the language of a pickListEntry itself or the language of the target user. defaultLanguage must match a local id of a supportedLanguage in the mappings section.

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

setDefaultPickContext

public void setDefaultPickContext(int index,
                                  Context vDefaultPickContext)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vDefaultPickContext -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setDefaultPickContext

public void setDefaultPickContext(Context[] vDefaultPickContextArray)
Parameters:
vDefaultPickContextArray -

setDefaultPickContext

public void setDefaultPickContext(java.util.List<Context> vDefaultPickContextList)
Sets the value of '_defaultPickContextList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vDefaultPickContextList - the Vector to copy.

setDefaultPickContextAsReference

public void setDefaultPickContextAsReference(java.util.List<Context> defaultPickContextList)
Deprecated. 

Sets the value of '_defaultPickContextList' by setting it to the given Vector. No type checking is performed.

Parameters:
defaultPickContextList - the Vector to set.

setDefaultSortOrder

public void setDefaultSortOrder(SortOrder defaultSortOrder)
Sets the value of field 'defaultSortOrder'. The field 'defaultSortOrder' has the following description: The local identifier of a sort order that is used as the default in the definition of the pick list

Parameters:
defaultSortOrder - the value of field 'defaultSortOrder'

setMappings

public void setMappings(Mappings mappings)
Sets the value of field 'mappings'. The field 'mappings' has the following description: The mappings that are specific to this pick list definition. This set of mappings must be supplied when a pick list definition is included in a changedEntry and must be empty when it is included in a pickLists collection, as the collection itself carries the mappings

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

setPickListDirectoryEntryGroup

public void setPickListDirectoryEntryGroup(PickListDirectoryEntryGroup pickListDirectoryEntryGroup)
Sets the value of field 'pickListDirectoryEntryGroup'.

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

setPickListEntryNode

public void setPickListEntryNode(int index,
                                 PickListEntryNode vPickListEntryNode)
                          throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPickListEntryNode -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setPickListEntryNode

public void setPickListEntryNode(PickListEntryNode[] vPickListEntryNodeArray)
Parameters:
vPickListEntryNodeArray -

setPickListEntryNode

public void setPickListEntryNode(java.util.List<PickListEntryNode> vPickListEntryNodeList)
Sets the value of '_pickListEntryNodeList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vPickListEntryNodeList - the Vector to copy.

setPickListEntryNodeAsReference

public void setPickListEntryNodeAsReference(java.util.List<PickListEntryNode> pickListEntryNodeList)
Deprecated. 

Sets the value of '_pickListEntryNodeList' by setting it to the given Vector. No type checking is performed.

Parameters:
pickListEntryNodeList - the Vector to set.

setPickListId

public void setPickListId(NodeId pickListId)
Sets the value of field 'pickListId'. The field 'pickListId' has the following description: An identifier that uniquely names this list within the context of the collection.

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

setProperties

public void setProperties(Properties properties)
Sets the value of field 'properties'. The field 'properties' has the following description: A list of propeties used in the description of this pick list.

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

setRepresentsValueDomain

public void setRepresentsValueDomain(URI representsValueDomain)
Sets the value of field 'representsValueDomain'. The field 'representsValueDomain' has the following description: The URI of the value domain definition that is represented by this pick list

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

setSource

public void setSource(int index,
                      Source vSource)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSource -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setSource

public void setSource(Source[] vSourceArray)
Parameters:
vSourceArray -

setSource

public void setSource(java.util.List<Source> vSourceList)
Sets the value of '_sourceList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vSourceList - the Vector to copy.

setSourceAsReference

public void setSourceAsReference(java.util.List<Source> sourceList)
Deprecated. 

Sets the value of '_sourceList' by setting it to the given Vector. No type checking is performed.

Parameters:
sourceList - the Vector to set.

unmarshalPickListDefinition

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.REST.valueSets.PickListDefinition
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 Versionable
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.