org.LexGrid.REST.commonTypes
Class PropertyLinkInstance

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

public class PropertyLinkInstance
extends LexGridBase
implements java.io.Serializable

Class PropertyLinkInstance.

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

Constructor Summary
PropertyLinkInstance()
           
 
Method Summary
 PropertyLinkName getPropertyLinkName()
          Returns the value of field 'propertyLinkName'.
 PropertyId getToProperty()
          Returns the value of field 'toProperty'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setPropertyLinkName(PropertyLinkName propertyLinkName)
          Sets the value of field 'propertyLinkName'.
 void setToProperty(PropertyId toProperty)
          Sets the value of field 'toProperty'.
static PropertyLinkInstance unmarshalPropertyLinkInstance(java.io.Reader reader)
          Method unmarshalPropertyLinkInstance.
 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

PropertyLinkInstance

public PropertyLinkInstance()
Method Detail

getPropertyLinkName

public PropertyLinkName getPropertyLinkName()
Returns the value of field 'propertyLinkName'. The field 'propertyLinkName' has the following description: The identifier of the particular link

Returns:
the value of field 'PropertyLinkName'.

getToProperty

public PropertyId getToProperty()
Returns the value of field 'toProperty'. The field 'toProperty' has the following description: A link between a containing property and a target

Returns:
the value of field 'ToProperty'.

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

setPropertyLinkName

public void setPropertyLinkName(PropertyLinkName propertyLinkName)
Sets the value of field 'propertyLinkName'. The field 'propertyLinkName' has the following description: The identifier of the particular link

Parameters:
propertyLinkName - the value of field 'propertyLinkName'

setToProperty

public void setToProperty(PropertyId toProperty)
Sets the value of field 'toProperty'. The field 'toProperty' has the following description: A link between a containing property and a target

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

unmarshalPropertyLinkInstance

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

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