org.LexGrid.valueDomains
Class PickListEntryNode

java.lang.Object
  extended by org.LexGrid.commonTypes.Versionable
      extended by org.LexGrid.valueDomains.PickListEntryNode
All Implemented Interfaces:
java.io.Serializable

public class PickListEntryNode
extends Versionable
implements java.io.Serializable

An inclusion (pickListEntry) or exclusion (pickListEntryExclusion) in a pick list definition

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

Constructor Summary
PickListEntryNode()
           
 
Method Summary
 java.lang.String getPickListEntryId()
          Returns the value of field 'pickListEntryId'.
 PickListEntryNodeChoice getPickListEntryNodeChoice()
          Returns the value of field 'pickListEntryNodeChoice'.
 Properties getProperties()
          Returns the value of field 'properties'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setPickListEntryId(java.lang.String pickListEntryId)
          Sets the value of field 'pickListEntryId'.
 void setPickListEntryNodeChoice(PickListEntryNodeChoice pickListEntryNodeChoice)
          Sets the value of field 'pickListEntryNodeChoice'.
 void setProperties(Properties properties)
          Sets the value of field 'properties'.
static PickListEntryNode unmarshalPickListEntryNode(java.io.Reader reader)
          Method unmarshalPickListEntryNode.
 void validate()
           
 
Methods inherited from class org.LexGrid.commonTypes.Versionable
getEffectiveDate, getEntryState, getExpirationDate, getIsActive, getOwner, getStatus, isIsActive, setEffectiveDate, setEntryState, setExpirationDate, setIsActive, setOwner, setStatus, unmarshalVersionable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PickListEntryNode

public PickListEntryNode()
Method Detail

getPickListEntryId

public java.lang.String getPickListEntryId()
Returns the value of field 'pickListEntryId'. The field 'pickListEntryId' has the following description: Unique identifier of this node within the list.

Returns:
the value of field 'PickListEntryId'.

getPickListEntryNodeChoice

public PickListEntryNodeChoice getPickListEntryNodeChoice()
Returns the value of field 'pickListEntryNodeChoice'.

Returns:
the value of field 'PickListEntryNodeChoice'.

getProperties

public Properties getProperties()
Returns the value of field 'properties'. The field 'properties' has the following description: Additional properties associated with this particular entry node

Returns:
the value of field 'Properties'.

isValid

public boolean isValid()
Method isValid.

Overrides:
isValid in class Versionable
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
Overrides:
marshal in class Versionable
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
Overrides:
marshal in class Versionable
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

setPickListEntryId

public void setPickListEntryId(java.lang.String pickListEntryId)
Sets the value of field 'pickListEntryId'. The field 'pickListEntryId' has the following description: Unique identifier of this node within the list.

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

setPickListEntryNodeChoice

public void setPickListEntryNodeChoice(PickListEntryNodeChoice pickListEntryNodeChoice)
Sets the value of field 'pickListEntryNodeChoice'.

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

setProperties

public void setProperties(Properties properties)
Sets the value of field 'properties'. The field 'properties' has the following description: Additional properties associated with this particular entry node

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

unmarshalPickListEntryNode

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.valueDomains.PickListEntryNode
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
Overrides:
validate in class Versionable
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.