org.LexGrid.REST.relations
Class AssociationTarget

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

public class AssociationTarget
extends LexGridBase
implements java.io.Serializable

Class AssociationTarget.

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

Constructor Summary
AssociationTarget()
           
 
Method Summary
 java.lang.Object getChoiceValue()
          Returns the value of field 'choiceValue'.
 Text getTargetData()
          Returns the value of field 'targetData'.
 EntityDirectoryEntry getTargetEntity()
          Returns the value of field 'targetEntity'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setTargetData(Text targetData)
          Sets the value of field 'targetData'.
 void setTargetEntity(EntityDirectoryEntry targetEntity)
          Sets the value of field 'targetEntity'.
static AssociationTarget unmarshalAssociationTarget(java.io.Reader reader)
          Method unmarshalAssociationTarget.
 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

AssociationTarget

public AssociationTarget()
Method Detail

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

getTargetData

public Text getTargetData()
Returns the value of field 'targetData'.

Returns:
the value of field 'TargetData'.

getTargetEntity

public EntityDirectoryEntry getTargetEntity()
Returns the value of field 'targetEntity'.

Returns:
the value of field 'TargetEntity'.

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

setTargetData

public void setTargetData(Text targetData)
Sets the value of field 'targetData'.

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

setTargetEntity

public void setTargetEntity(EntityDirectoryEntry targetEntity)
Sets the value of field 'targetEntity'.

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

unmarshalAssociationTarget

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

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