org.LexGrid.REST.concepts
Class Entity

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

public class Entity
extends VersionableAndDescribable
implements java.io.Serializable

A set of lexical assertions about the intended meaning of a particular entity code.

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

Constructor Summary
Entity()
           
 
Method Summary
 void addComment(Comment vComment)
           
 void addComment(int index, Comment vComment)
           
 void addDefinition(Definition vDefinition)
           
 void addDefinition(int index, Definition vDefinition)
           
 void addEntityType(EntityType vEntityType)
           
 void addEntityType(int index, EntityType vEntityType)
           
 void addPresentation(int index, Presentation vPresentation)
           
 void addPresentation(Presentation vPresentation)
           
 java.util.Enumeration<? extends Comment> enumerateComment()
          Method enumerateComment.
 java.util.Enumeration<? extends Definition> enumerateDefinition()
          Method enumerateDefinition.
 java.util.Enumeration<? extends EntityType> enumerateEntityType()
          Method enumerateEntityType.
 java.util.Enumeration<? extends Presentation> enumeratePresentation()
          Method enumeratePresentation.
 Comment[] getComment()
          Method getComment.Returns the contents of the collection in an Array.
 Comment getComment(int index)
          Method getComment.
 java.util.List<Comment> getCommentAsReference()
          Method getCommentAsReference.Returns a reference to '_commentList'.
 int getCommentCount()
          Method getCommentCount.
 Definition[] getDefinition()
          Method getDefinition.Returns the contents of the collection in an Array.
 Definition getDefinition(int index)
          Method getDefinition.
 java.util.List<Definition> getDefinitionAsReference()
          Method getDefinitionAsReference.Returns a reference to '_definitionList'.
 int getDefinitionCount()
          Method getDefinitionCount.
 EntityInContext getEntityInContext()
          Returns the value of field 'entityInContext'.
 EntityType[] getEntityType()
          Method getEntityType.Returns the contents of the collection in an Array.
 EntityType getEntityType(int index)
          Method getEntityType.
 java.util.List<EntityType> getEntityTypeAsReference()
          Method getEntityTypeAsReference.Returns a reference to '_entityTypeList'.
 int getEntityTypeCount()
          Method getEntityTypeCount.
 java.lang.Boolean getIsAnonymous()
          Returns the value of field 'isAnonymous'.
 java.lang.Boolean getIsDefined()
          Returns the value of field 'isDefined'.
 AssociationEntrySetLink getObjectOf()
          Returns the value of field 'objectOf'.
 AssociationEntrySetLink getPredicateOf()
          Returns the value of field 'predicateOf'.
 Presentation[] getPresentation()
          Method getPresentation.Returns the contents of the collection in an Array.
 Presentation getPresentation(int index)
          Method getPresentation.
 java.util.List<Presentation> getPresentationAsReference()
          Method getPresentationAsReference.Returns a reference to '_presentationList'.
 int getPresentationCount()
          Method getPresentationCount.
 PropertiesLink getProperties()
          Returns the value of field 'properties'.
 AssociationEntrySetLink getSubjectOf()
          Returns the value of field 'subjectOf'.
 java.lang.Boolean isIsAnonymous()
          Returns the value of field 'isAnonymous'.
 java.lang.Boolean isIsDefined()
          Returns the value of field 'isDefined'.
 boolean isValid()
          Method isValid.
 java.util.Iterator<? extends Comment> iterateComment()
          Method iterateComment.
 java.util.Iterator<? extends Definition> iterateDefinition()
          Method iterateDefinition.
 java.util.Iterator<? extends EntityType> iterateEntityType()
          Method iterateEntityType.
 java.util.Iterator<? extends Presentation> iteratePresentation()
          Method iteratePresentation.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllComment()
           
 void removeAllDefinition()
           
 void removeAllEntityType()
           
 void removeAllPresentation()
           
 boolean removeComment(Comment vComment)
          Method removeComment.
 Comment removeCommentAt(int index)
          Method removeCommentAt.
 boolean removeDefinition(Definition vDefinition)
          Method removeDefinition.
 Definition removeDefinitionAt(int index)
          Method removeDefinitionAt.
 boolean removeEntityType(EntityType vEntityType)
          Method removeEntityType.
 EntityType removeEntityTypeAt(int index)
          Method removeEntityTypeAt.
 boolean removePresentation(Presentation vPresentation)
          Method removePresentation.
 Presentation removePresentationAt(int index)
          Method removePresentationAt.
 void setComment(Comment[] vCommentArray)
           
 void setComment(int index, Comment vComment)
           
 void setComment(java.util.List<Comment> vCommentList)
          Sets the value of '_commentList' by copying the given Vector.
 void setCommentAsReference(java.util.List<Comment> commentList)
          Deprecated.  
 void setDefinition(Definition[] vDefinitionArray)
           
 void setDefinition(int index, Definition vDefinition)
           
 void setDefinition(java.util.List<Definition> vDefinitionList)
          Sets the value of '_definitionList' by copying the given Vector.
 void setDefinitionAsReference(java.util.List<Definition> definitionList)
          Deprecated.  
 void setEntityInContext(EntityInContext entityInContext)
          Sets the value of field 'entityInContext'.
 void setEntityType(EntityType[] vEntityTypeArray)
           
 void setEntityType(int index, EntityType vEntityType)
           
 void setEntityType(java.util.List<EntityType> vEntityTypeList)
          Sets the value of '_entityTypeList' by copying the given Vector.
 void setEntityTypeAsReference(java.util.List<EntityType> entityTypeList)
          Deprecated.  
 void setIsAnonymous(java.lang.Boolean isAnonymous)
          Sets the value of field 'isAnonymous'.
 void setIsDefined(java.lang.Boolean isDefined)
          Sets the value of field 'isDefined'.
 void setObjectOf(AssociationEntrySetLink objectOf)
          Sets the value of field 'objectOf'.
 void setPredicateOf(AssociationEntrySetLink predicateOf)
          Sets the value of field 'predicateOf'.
 void setPresentation(int index, Presentation vPresentation)
           
 void setPresentation(java.util.List<Presentation> vPresentationList)
          Sets the value of '_presentationList' by copying the given Vector.
 void setPresentation(Presentation[] vPresentationArray)
           
 void setPresentationAsReference(java.util.List<Presentation> presentationList)
          Deprecated.  
 void setProperties(PropertiesLink properties)
          Sets the value of field 'properties'.
 void setSubjectOf(AssociationEntrySetLink subjectOf)
          Sets the value of field 'subjectOf'.
static Entity unmarshalEntity(java.io.Reader reader)
          Method unmarshalEntity.
 void validate()
           
 
Methods inherited from class org.LexGrid.REST.commonTypes.VersionableAndDescribable
getEntityDescription, setEntityDescription, unmarshalVersionableAndDescribable
 
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

Entity

public Entity()
Method Detail

addComment

public void addComment(Comment vComment)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vComment -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addComment

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

addDefinition

public void addDefinition(Definition vDefinition)
                   throws java.lang.IndexOutOfBoundsException
Parameters:
vDefinition -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addDefinition

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

addEntityType

public void addEntityType(EntityType vEntityType)
                   throws java.lang.IndexOutOfBoundsException
Parameters:
vEntityType -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addEntityType

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

addPresentation

public void addPresentation(Presentation vPresentation)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
vPresentation -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addPresentation

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

enumerateComment

public java.util.Enumeration<? extends Comment> enumerateComment()
Method enumerateComment.

Returns:
an Enumeration over all possible elements of this collection

enumerateDefinition

public java.util.Enumeration<? extends Definition> enumerateDefinition()
Method enumerateDefinition.

Returns:
an Enumeration over all possible elements of this collection

enumerateEntityType

public java.util.Enumeration<? extends EntityType> enumerateEntityType()
Method enumerateEntityType.

Returns:
an Enumeration over all possible elements of this collection

enumeratePresentation

public java.util.Enumeration<? extends Presentation> enumeratePresentation()
Method enumeratePresentation.

Returns:
an Enumeration over all possible elements of this collection

getComment

public Comment getComment(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getComment.

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

getComment

public Comment[] getComment()
Method getComment.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

getCommentAsReference

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

Returns:
a reference to the Vector backing this class

getCommentCount

public int getCommentCount()
Method getCommentCount.

Returns:
the size of this collection

getDefinition

public Definition getDefinition(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getDefinition.

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

getDefinition

public Definition[] getDefinition()
Method getDefinition.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

getDefinitionAsReference

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

Returns:
a reference to the Vector backing this class

getDefinitionCount

public int getDefinitionCount()
Method getDefinitionCount.

Returns:
the size of this collection

getEntityInContext

public EntityInContext getEntityInContext()
Returns the value of field 'entityInContext'. The field 'entityInContext' has the following description: The entity code, namespace and containing code system

Returns:
the value of field 'EntityInContext'.

getEntityType

public EntityType getEntityType(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getEntityType.

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

getEntityType

public EntityType[] getEntityType()
Method getEntityType.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

getEntityTypeAsReference

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

Returns:
a reference to the Vector backing this class

getEntityTypeCount

public int getEntityTypeCount()
Method getEntityTypeCount.

Returns:
the size of this collection

getIsAnonymous

public java.lang.Boolean getIsAnonymous()
Returns the value of field 'isAnonymous'. The field 'isAnonymous' has the following description: True means that the entityCode is synthetic, and doesn't actually exist in the namespace. isAnonymous is used for synthetic top and bottom nodes as well as blank or anonymous inner class definitions. Default: False

Returns:
the value of field 'IsAnonymous'.

getIsDefined

public java.lang.Boolean getIsDefined()
Returns the value of field 'isDefined'. The field 'isDefined' has the following description: True means that this entityCode is considered to be completely defined (i.e. necessary and sufficient) within the context of the containing code system. False means that only the necessary components are present. If omitted, the state of the entityCode definition is not known.

Returns:
the value of field 'IsDefined'.

getObjectOf

public AssociationEntrySetLink getObjectOf()
Returns the value of field 'objectOf'.

Returns:
the value of field 'ObjectOf'.

getPredicateOf

public AssociationEntrySetLink getPredicateOf()
Returns the value of field 'predicateOf'.

Returns:
the value of field 'PredicateOf'.

getPresentation

public Presentation getPresentation(int index)
                             throws java.lang.IndexOutOfBoundsException
Method getPresentation.

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

getPresentation

public Presentation[] getPresentation()
Method getPresentation.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

getPresentationAsReference

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

Returns:
a reference to the Vector backing this class

getPresentationCount

public int getPresentationCount()
Method getPresentationCount.

Returns:
the size of this collection

getProperties

public PropertiesLink getProperties()
Returns the value of field 'properties'. The field 'properties' has the following description: A link to all of the properties

Returns:
the value of field 'Properties'.

getSubjectOf

public AssociationEntrySetLink getSubjectOf()
Returns the value of field 'subjectOf'.

Returns:
the value of field 'SubjectOf'.

isIsAnonymous

public java.lang.Boolean isIsAnonymous()
Returns the value of field 'isAnonymous'. The field 'isAnonymous' has the following description: True means that the entityCode is synthetic, and doesn't actually exist in the namespace. isAnonymous is used for synthetic top and bottom nodes as well as blank or anonymous inner class definitions. Default: False

Returns:
the value of field 'IsAnonymous'.

isIsDefined

public java.lang.Boolean isIsDefined()
Returns the value of field 'isDefined'. The field 'isDefined' has the following description: True means that this entityCode is considered to be completely defined (i.e. necessary and sufficient) within the context of the containing code system. False means that only the necessary components are present. If omitted, the state of the entityCode definition is not known.

Returns:
the value of field 'IsDefined'.

isValid

public boolean isValid()
Method isValid.

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

iterateComment

public java.util.Iterator<? extends Comment> iterateComment()
Method iterateComment.

Returns:
an Iterator over all possible elements in this collection

iterateDefinition

public java.util.Iterator<? extends Definition> iterateDefinition()
Method iterateDefinition.

Returns:
an Iterator over all possible elements in this collection

iterateEntityType

public java.util.Iterator<? extends EntityType> iterateEntityType()
Method iterateEntityType.

Returns:
an Iterator over all possible elements in this collection

iteratePresentation

public java.util.Iterator<? extends Presentation> iteratePresentation()
Method iteratePresentation.

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

removeAllComment

public void removeAllComment()

removeAllDefinition

public void removeAllDefinition()

removeAllEntityType

public void removeAllEntityType()

removeAllPresentation

public void removeAllPresentation()

removeComment

public boolean removeComment(Comment vComment)
Method removeComment.

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

removeCommentAt

public Comment removeCommentAt(int index)
Method removeCommentAt.

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

removeDefinition

public boolean removeDefinition(Definition vDefinition)
Method removeDefinition.

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

removeDefinitionAt

public Definition removeDefinitionAt(int index)
Method removeDefinitionAt.

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

removeEntityType

public boolean removeEntityType(EntityType vEntityType)
Method removeEntityType.

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

removeEntityTypeAt

public EntityType removeEntityTypeAt(int index)
Method removeEntityTypeAt.

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

removePresentation

public boolean removePresentation(Presentation vPresentation)
Method removePresentation.

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

removePresentationAt

public Presentation removePresentationAt(int index)
Method removePresentationAt.

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

setComment

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

setComment

public void setComment(Comment[] vCommentArray)
Parameters:
vCommentArray -

setComment

public void setComment(java.util.List<Comment> vCommentList)
Sets the value of '_commentList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vCommentList - the Vector to copy.

setCommentAsReference

public void setCommentAsReference(java.util.List<Comment> commentList)
Deprecated. 

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

Parameters:
commentList - the Vector to set.

setDefinition

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

setDefinition

public void setDefinition(Definition[] vDefinitionArray)
Parameters:
vDefinitionArray -

setDefinition

public void setDefinition(java.util.List<Definition> vDefinitionList)
Sets the value of '_definitionList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vDefinitionList - the Vector to copy.

setDefinitionAsReference

public void setDefinitionAsReference(java.util.List<Definition> definitionList)
Deprecated. 

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

Parameters:
definitionList - the Vector to set.

setEntityInContext

public void setEntityInContext(EntityInContext entityInContext)
Sets the value of field 'entityInContext'. The field 'entityInContext' has the following description: The entity code, namespace and containing code system

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

setEntityType

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

setEntityType

public void setEntityType(EntityType[] vEntityTypeArray)
Parameters:
vEntityTypeArray -

setEntityType

public void setEntityType(java.util.List<EntityType> vEntityTypeList)
Sets the value of '_entityTypeList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vEntityTypeList - the Vector to copy.

setEntityTypeAsReference

public void setEntityTypeAsReference(java.util.List<EntityType> entityTypeList)
Deprecated. 

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

Parameters:
entityTypeList - the Vector to set.

setIsAnonymous

public void setIsAnonymous(java.lang.Boolean isAnonymous)
Sets the value of field 'isAnonymous'. The field 'isAnonymous' has the following description: True means that the entityCode is synthetic, and doesn't actually exist in the namespace. isAnonymous is used for synthetic top and bottom nodes as well as blank or anonymous inner class definitions. Default: False

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

setIsDefined

public void setIsDefined(java.lang.Boolean isDefined)
Sets the value of field 'isDefined'. The field 'isDefined' has the following description: True means that this entityCode is considered to be completely defined (i.e. necessary and sufficient) within the context of the containing code system. False means that only the necessary components are present. If omitted, the state of the entityCode definition is not known.

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

setObjectOf

public void setObjectOf(AssociationEntrySetLink objectOf)
Sets the value of field 'objectOf'.

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

setPredicateOf

public void setPredicateOf(AssociationEntrySetLink predicateOf)
Sets the value of field 'predicateOf'.

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

setPresentation

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

setPresentation

public void setPresentation(Presentation[] vPresentationArray)
Parameters:
vPresentationArray -

setPresentation

public void setPresentation(java.util.List<Presentation> vPresentationList)
Sets the value of '_presentationList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vPresentationList - the Vector to copy.

setPresentationAsReference

public void setPresentationAsReference(java.util.List<Presentation> presentationList)
Deprecated. 

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

Parameters:
presentationList - the Vector to set.

setProperties

public void setProperties(PropertiesLink properties)
Sets the value of field 'properties'. The field 'properties' has the following description: A link to all of the properties

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

setSubjectOf

public void setSubjectOf(AssociationEntrySetLink subjectOf)
Sets the value of field 'subjectOf'.

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

unmarshalEntity

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.REST.concepts.Entity
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 VersionableAndDescribable
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.