org.LexGrid.REST.relations
Class AssociationQualification

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

public class AssociationQualification
extends LexGridBase
implements java.io.Serializable

A modifier that further qualifies the particular association instance.

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

Constructor Summary
AssociationQualification()
           
 
Method Summary
 AssociationQualifierName getAssociationQualifier()
          Returns the value of field 'associationQualifier'.
 Text getQualifierText()
          Returns the value of field 'qualifierText'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAssociationQualifier(AssociationQualifierName associationQualifier)
          Sets the value of field 'associationQualifier'.
 void setQualifierText(Text qualifierText)
          Sets the value of field 'qualifierText'.
static AssociationQualification unmarshalAssociationQualification(java.io.Reader reader)
          Method unmarshalAssociationQualification.
 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

AssociationQualification

public AssociationQualification()
Method Detail

getAssociationQualifier

public AssociationQualifierName getAssociationQualifier()
Returns the value of field 'associationQualifier'. The field 'associationQualifier' has the following description: The local name of the association qualifier. codingSchemeName must match a local id of a supportedAssociationQualifier in the mappings section.

Returns:
the value of field 'AssociationQualifier'.

getQualifierText

public Text getQualifierText()
Returns the value of field 'qualifierText'. The field 'qualifierText' has the following description: The value associated with this qualifier, if any.

Returns:
the value of field 'QualifierText'.

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

setAssociationQualifier

public void setAssociationQualifier(AssociationQualifierName associationQualifier)
Sets the value of field 'associationQualifier'. The field 'associationQualifier' has the following description: The local name of the association qualifier. codingSchemeName must match a local id of a supportedAssociationQualifier in the mappings section.

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

setQualifierText

public void setQualifierText(Text qualifierText)
Sets the value of field 'qualifierText'. The field 'qualifierText' has the following description: The value associated with this qualifier, if any.

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

unmarshalAssociationQualification

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

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