org.LexGrid.valueDomains
Class ValueDomainReference

java.lang.Object
  extended by org.LexGrid.valueDomains.ValueDomainReference
All Implemented Interfaces:
java.io.Serializable

public class ValueDomainReference
extends java.lang.Object
implements java.io.Serializable

A reference to the set of codes defined in another value domain.

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

Constructor Summary
ValueDomainReference()
           
 
Method Summary
 java.lang.String getValueDomainURI()
          Returns the value of field 'valueDomainURI'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setValueDomainURI(java.lang.String valueDomainURI)
          Sets the value of field 'valueDomainURI'.
static ValueDomainReference unmarshalValueDomainReference(java.io.Reader reader)
          Method unmarshalValueDomainReference.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueDomainReference

public ValueDomainReference()
Method Detail

getValueDomainURI

public java.lang.String getValueDomainURI()
Returns the value of field 'valueDomainURI'. The field 'valueDomainURI' has the following description: The URI of the value domain to apply the operator to. This value domain may be contained within the local service or may need to be resolved externally.

Returns:
the value of field 'ValueDomainURI'.

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

setValueDomainURI

public void setValueDomainURI(java.lang.String valueDomainURI)
Sets the value of field 'valueDomainURI'. The field 'valueDomainURI' has the following description: The URI of the value domain to apply the operator to. This value domain may be contained within the local service or may need to be resolved externally.

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

unmarshalValueDomainReference

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.valueDomains.ValueDomainReference
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.