org.LexGrid.REST.commonTypes
Class Property

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.REST.commonTypes.Versionable
          extended by org.LexGrid.REST.commonTypes.Property
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Comment, Definition, Presentation

public class Property
extends Versionable
implements java.io.Serializable

A description, definition, annotation or other attribute that serves to further define or identify an resource.

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

Constructor Summary
Property()
           
 
Method Summary
 void addPropertyLink(int index, PropertyLinkInstance vPropertyLink)
           
 void addPropertyLink(PropertyLinkInstance vPropertyLink)
           
 void addPropertyQualifier(int index, PropertyQualifier vPropertyQualifier)
           
 void addPropertyQualifier(PropertyQualifier vPropertyQualifier)
           
 void addSource(int index, Source vSource)
           
 void addSource(Source vSource)
           
 void addUsageContext(Context vUsageContext)
           
 void addUsageContext(int index, Context vUsageContext)
           
 java.util.Enumeration<? extends PropertyLinkInstance> enumeratePropertyLink()
          Method enumeratePropertyLink.
 java.util.Enumeration<? extends PropertyQualifier> enumeratePropertyQualifier()
          Method enumeratePropertyQualifier.
 java.util.Enumeration<? extends Source> enumerateSource()
          Method enumerateSource.
 java.util.Enumeration<? extends Context> enumerateUsageContext()
          Method enumerateUsageContext.
 Resource getContainingResource()
          Returns the value of field 'containingResource'.
 Language getLanguage()
          Returns the value of field 'language'.
 java.lang.String getPropertyId()
          Returns the value of field 'propertyId'.
 PropertyLinkInstance[] getPropertyLink()
          Method getPropertyLink.Returns the contents of the collection in an Array.
 PropertyLinkInstance getPropertyLink(int index)
          Method getPropertyLink.
 java.util.List<PropertyLinkInstance> getPropertyLinkAsReference()
          Method getPropertyLinkAsReference.Returns a reference to '_propertyLinkList'.
 int getPropertyLinkCount()
          Method getPropertyLinkCount.
 PropertyName getPropertyName()
          Returns the value of field 'propertyName'.
 PropertyQualifier[] getPropertyQualifier()
          Method getPropertyQualifier.Returns the contents of the collection in an Array.
 PropertyQualifier getPropertyQualifier(int index)
          Method getPropertyQualifier.
 java.util.List<PropertyQualifier> getPropertyQualifierAsReference()
          Method getPropertyQualifierAsReference.Returns a reference to '_propertyQualifierList'.
 int getPropertyQualifierCount()
          Method getPropertyQualifierCount.
 PropertyType getPropertyType()
          Returns the value of field 'propertyType'.
 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.
 Context[] getUsageContext()
          Method getUsageContext.Returns the contents of the collection in an Array.
 Context getUsageContext(int index)
          Method getUsageContext.
 java.util.List<Context> getUsageContextAsReference()
          Method getUsageContextAsReference.Returns a reference to '_usageContextList'.
 int getUsageContextCount()
          Method getUsageContextCount.
 Text getValue()
          Returns the value of field 'value'.
 boolean isValid()
          Method isValid.
 java.util.Iterator<? extends PropertyLinkInstance> iteratePropertyLink()
          Method iteratePropertyLink.
 java.util.Iterator<? extends PropertyQualifier> iteratePropertyQualifier()
          Method iteratePropertyQualifier.
 java.util.Iterator<? extends Source> iterateSource()
          Method iterateSource.
 java.util.Iterator<? extends Context> iterateUsageContext()
          Method iterateUsageContext.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllPropertyLink()
           
 void removeAllPropertyQualifier()
           
 void removeAllSource()
           
 void removeAllUsageContext()
           
 boolean removePropertyLink(PropertyLinkInstance vPropertyLink)
          Method removePropertyLink.
 PropertyLinkInstance removePropertyLinkAt(int index)
          Method removePropertyLinkAt.
 boolean removePropertyQualifier(PropertyQualifier vPropertyQualifier)
          Method removePropertyQualifier.
 PropertyQualifier removePropertyQualifierAt(int index)
          Method removePropertyQualifierAt.
 boolean removeSource(Source vSource)
          Method removeSource.
 Source removeSourceAt(int index)
          Method removeSourceAt.
 boolean removeUsageContext(Context vUsageContext)
          Method removeUsageContext.
 Context removeUsageContextAt(int index)
          Method removeUsageContextAt.
 void setContainingResource(Resource containingResource)
          Sets the value of field 'containingResource'.
 void setLanguage(Language language)
          Sets the value of field 'language'.
 void setPropertyId(java.lang.String propertyId)
          Sets the value of field 'propertyId'.
 void setPropertyLink(int index, PropertyLinkInstance vPropertyLink)
           
 void setPropertyLink(java.util.List<PropertyLinkInstance> vPropertyLinkList)
          Sets the value of '_propertyLinkList' by copying the given Vector.
 void setPropertyLink(PropertyLinkInstance[] vPropertyLinkArray)
           
 void setPropertyLinkAsReference(java.util.List<PropertyLinkInstance> propertyLinkList)
          Deprecated.  
 void setPropertyName(PropertyName propertyName)
          Sets the value of field 'propertyName'.
 void setPropertyQualifier(int index, PropertyQualifier vPropertyQualifier)
           
 void setPropertyQualifier(java.util.List<PropertyQualifier> vPropertyQualifierList)
          Sets the value of '_propertyQualifierList' by copying the given Vector.
 void setPropertyQualifier(PropertyQualifier[] vPropertyQualifierArray)
           
 void setPropertyQualifierAsReference(java.util.List<PropertyQualifier> propertyQualifierList)
          Deprecated.  
 void setPropertyType(PropertyType propertyType)
          Sets the value of field 'propertyType'.
 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.  
 void setUsageContext(Context[] vUsageContextArray)
           
 void setUsageContext(int index, Context vUsageContext)
           
 void setUsageContext(java.util.List<Context> vUsageContextList)
          Sets the value of '_usageContextList' by copying the given Vector.
 void setUsageContextAsReference(java.util.List<Context> usageContextList)
          Deprecated.  
 void setValue(Text value)
          Sets the value of field 'value'.
static Property unmarshalProperty(java.io.Reader reader)
          Method unmarshalProperty.
 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

Property

public Property()
Method Detail

addPropertyLink

public void addPropertyLink(PropertyLinkInstance vPropertyLink)
                     throws java.lang.IndexOutOfBoundsException
Parameters:
vPropertyLink -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addPropertyLink

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

addPropertyQualifier

public void addPropertyQualifier(PropertyQualifier vPropertyQualifier)
                          throws java.lang.IndexOutOfBoundsException
Parameters:
vPropertyQualifier -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addPropertyQualifier

public void addPropertyQualifier(int index,
                                 PropertyQualifier vPropertyQualifier)
                          throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPropertyQualifier -
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

addUsageContext

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

addUsageContext

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

enumeratePropertyLink

public java.util.Enumeration<? extends PropertyLinkInstance> enumeratePropertyLink()
Method enumeratePropertyLink.

Returns:
an Enumeration over all possible elements of this collection

enumeratePropertyQualifier

public java.util.Enumeration<? extends PropertyQualifier> enumeratePropertyQualifier()
Method enumeratePropertyQualifier.

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

enumerateUsageContext

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

Returns:
an Enumeration over all possible elements of this collection

getContainingResource

public Resource getContainingResource()
Returns the value of field 'containingResource'. The field 'containingResource' has the following description: The resource that contains this particular property

Returns:
the value of field 'ContainingResource'.

getLanguage

public Language getLanguage()
Returns the value of field 'language'. The field 'language' has the following description: The local identifier of the language of the property value. Must match a local id of a supportedLanguage in the corresponding mappings section. If omitted, and language is applicable to this property, the defaultLanguage of the surrounding resource is used.

Returns:
the value of field 'Language'.

getPropertyId

public java.lang.String getPropertyId()
Returns the value of field 'propertyId'. The field 'propertyId' has the following description: A unique identifier of this particular propert/resource/value instance.

Returns:
the value of field 'PropertyId'.

getPropertyLink

public PropertyLinkInstance getPropertyLink(int index)
                                     throws java.lang.IndexOutOfBoundsException
Method getPropertyLink.

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

getPropertyLink

public PropertyLinkInstance[] getPropertyLink()
Method getPropertyLink.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

getPropertyLinkAsReference

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

Returns:
a reference to the Vector backing this class

getPropertyLinkCount

public int getPropertyLinkCount()
Method getPropertyLinkCount.

Returns:
the size of this collection

getPropertyName

public PropertyName getPropertyName()
Returns the value of field 'propertyName'. The field 'propertyName' has the following description: The local identifier that defines the meaning of this particular property entry. Must match a local id of a supportedProperty in the corresponding mappings section.

Returns:
the value of field 'PropertyName'.

getPropertyQualifier

public PropertyQualifier getPropertyQualifier(int index)
                                       throws java.lang.IndexOutOfBoundsException
Method getPropertyQualifier.

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

getPropertyQualifier

public PropertyQualifier[] getPropertyQualifier()
Method getPropertyQualifier.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

getPropertyQualifierAsReference

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

Returns:
a reference to the Vector backing this class

getPropertyQualifierCount

public int getPropertyQualifierCount()
Method getPropertyQualifierCount.

Returns:
the size of this collection

getPropertyType

public PropertyType getPropertyType()
Returns the value of field 'propertyType'. The field 'propertyType' has the following description: The LexGrid model element that this property represents. As an example, the codingScheme "copyright" attribute could be represented by a property with a propertyType that mapped to lgCS:copyRight. Must match a local id of a supportedPropertyType in the corresponding mappings section.

Returns:
the value of field 'PropertyType'.

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

getUsageContext

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

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

getUsageContext

public Context[] getUsageContext()
Method getUsageContext.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

getUsageContextAsReference

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

Returns:
a reference to the Vector backing this class

getUsageContextCount

public int getUsageContextCount()
Method getUsageContextCount.

Returns:
the size of this collection

getValue

public Text getValue()
Returns the value of field 'value'. The field 'value' has the following description: The value of the property associated with this particular resource. Note that "text" may be any type, including a URI, html fragment, etc.

Returns:
the value of field 'Value'.

isValid

public boolean isValid()
Method isValid.

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

iteratePropertyLink

public java.util.Iterator<? extends PropertyLinkInstance> iteratePropertyLink()
Method iteratePropertyLink.

Returns:
an Iterator over all possible elements in this collection

iteratePropertyQualifier

public java.util.Iterator<? extends PropertyQualifier> iteratePropertyQualifier()
Method iteratePropertyQualifier.

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

iterateUsageContext

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

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

removeAllPropertyLink

public void removeAllPropertyLink()

removeAllPropertyQualifier

public void removeAllPropertyQualifier()

removeAllSource

public void removeAllSource()

removeAllUsageContext

public void removeAllUsageContext()

removePropertyLink

public boolean removePropertyLink(PropertyLinkInstance vPropertyLink)
Method removePropertyLink.

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

removePropertyLinkAt

public PropertyLinkInstance removePropertyLinkAt(int index)
Method removePropertyLinkAt.

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

removePropertyQualifier

public boolean removePropertyQualifier(PropertyQualifier vPropertyQualifier)
Method removePropertyQualifier.

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

removePropertyQualifierAt

public PropertyQualifier removePropertyQualifierAt(int index)
Method removePropertyQualifierAt.

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

removeUsageContext

public boolean removeUsageContext(Context vUsageContext)
Method removeUsageContext.

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

removeUsageContextAt

public Context removeUsageContextAt(int index)
Method removeUsageContextAt.

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

setContainingResource

public void setContainingResource(Resource containingResource)
Sets the value of field 'containingResource'. The field 'containingResource' has the following description: The resource that contains this particular property

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

setLanguage

public void setLanguage(Language language)
Sets the value of field 'language'. The field 'language' has the following description: The local identifier of the language of the property value. Must match a local id of a supportedLanguage in the corresponding mappings section. If omitted, and language is applicable to this property, the defaultLanguage of the surrounding resource is used.

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

setPropertyId

public void setPropertyId(java.lang.String propertyId)
Sets the value of field 'propertyId'. The field 'propertyId' has the following description: A unique identifier of this particular propert/resource/value instance.

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

setPropertyLink

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

setPropertyLink

public void setPropertyLink(PropertyLinkInstance[] vPropertyLinkArray)
Parameters:
vPropertyLinkArray -

setPropertyLink

public void setPropertyLink(java.util.List<PropertyLinkInstance> vPropertyLinkList)
Sets the value of '_propertyLinkList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vPropertyLinkList - the Vector to copy.

setPropertyLinkAsReference

public void setPropertyLinkAsReference(java.util.List<PropertyLinkInstance> propertyLinkList)
Deprecated. 

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

Parameters:
propertyLinkList - the Vector to set.

setPropertyName

public void setPropertyName(PropertyName propertyName)
Sets the value of field 'propertyName'. The field 'propertyName' has the following description: The local identifier that defines the meaning of this particular property entry. Must match a local id of a supportedProperty in the corresponding mappings section.

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

setPropertyQualifier

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

setPropertyQualifier

public void setPropertyQualifier(PropertyQualifier[] vPropertyQualifierArray)
Parameters:
vPropertyQualifierArray -

setPropertyQualifier

public void setPropertyQualifier(java.util.List<PropertyQualifier> vPropertyQualifierList)
Sets the value of '_propertyQualifierList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vPropertyQualifierList - the Vector to copy.

setPropertyQualifierAsReference

public void setPropertyQualifierAsReference(java.util.List<PropertyQualifier> propertyQualifierList)
Deprecated. 

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

Parameters:
propertyQualifierList - the Vector to set.

setPropertyType

public void setPropertyType(PropertyType propertyType)
Sets the value of field 'propertyType'. The field 'propertyType' has the following description: The LexGrid model element that this property represents. As an example, the codingScheme "copyright" attribute could be represented by a property with a propertyType that mapped to lgCS:copyRight. Must match a local id of a supportedPropertyType in the corresponding mappings section.

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

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.

setUsageContext

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

setUsageContext

public void setUsageContext(Context[] vUsageContextArray)
Parameters:
vUsageContextArray -

setUsageContext

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

Parameters:
vUsageContextList - the Vector to copy.

setUsageContextAsReference

public void setUsageContextAsReference(java.util.List<Context> usageContextList)
Deprecated. 

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

Parameters:
usageContextList - the Vector to set.

setValue

public void setValue(Text value)
Sets the value of field 'value'. The field 'value' has the following description: The value of the property associated with this particular resource. Note that "text" may be any type, including a URI, html fragment, etc.

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

unmarshalProperty

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.REST.commonTypes.Property
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.