org.LexGrid.valueDomains
Class PickListEntryExclusion

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

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

An entity code that is explicitly excluded from a pick list.

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

Constructor Summary
PickListEntryExclusion()
           
 
Method Summary
 java.lang.String getEntityCode()
          Returns the value of field 'entityCode'.
 java.lang.String getEntityCodeNamespace()
          Returns the value of field 'entityCodeNamespace'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setEntityCode(java.lang.String entityCode)
          Sets the value of field 'entityCode'.
 void setEntityCodeNamespace(java.lang.String entityCodeNamespace)
          Sets the value of field 'entityCodeNamespace'.
static PickListEntryExclusion unmarshalPickListEntryExclusion(java.io.Reader reader)
          Method unmarshalPickListEntryExclusion.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickListEntryExclusion

public PickListEntryExclusion()
Method Detail

getEntityCode

public java.lang.String getEntityCode()
Returns the value of field 'entityCode'. The field 'entityCode' has the following description: Entity code associated with this entry.

Returns:
the value of field 'EntityCode'.

getEntityCodeNamespace

public java.lang.String getEntityCodeNamespace()
Returns the value of field 'entityCodeNamespace'. The field 'entityCodeNamespace' has the following description: Local identifier of the namespace of the entity code if different than the pickListDefinition defaultEntityCodeNamespace. entityCodeNamespace must match a local id of a supportedNamespace in the mappings section.

Returns:
the value of field 'EntityCodeNamespace'.

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

setEntityCode

public void setEntityCode(java.lang.String entityCode)
Sets the value of field 'entityCode'. The field 'entityCode' has the following description: Entity code associated with this entry.

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

setEntityCodeNamespace

public void setEntityCodeNamespace(java.lang.String entityCodeNamespace)
Sets the value of field 'entityCodeNamespace'. The field 'entityCodeNamespace' has the following description: Local identifier of the namespace of the entity code if different than the pickListDefinition defaultEntityCodeNamespace. entityCodeNamespace must match a local id of a supportedNamespace in the mappings section.

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

unmarshalPickListEntryExclusion

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

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