org.LexGrid.LexOnt
Class CsmfLocalName

java.lang.Object
  extended by org.LexGrid.LexOnt.CsmfLocalName
All Implemented Interfaces:
java.io.Serializable

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

A name identifier based on lgBuiltin:tsCaseIgnoreIA5String.

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

Constructor Summary
CsmfLocalName()
           
CsmfLocalName(java.lang.String defaultValue)
           
 
Method Summary
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.Boolean getToAdd()
          Returns the value of field 'toAdd'.
 java.lang.Boolean isToAdd()
          Returns the value of field 'toAdd'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setToAdd(java.lang.Boolean toAdd)
          Sets the value of field 'toAdd'.
static CsmfLocalName unmarshalCsmfLocalName(java.io.Reader reader)
          Method unmarshalCsmfLocalName.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CsmfLocalName

public CsmfLocalName()

CsmfLocalName

public CsmfLocalName(java.lang.String defaultValue)
Method Detail

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'Content'.

getToAdd

public java.lang.Boolean getToAdd()
Returns the value of field 'toAdd'. The field 'toAdd' has the following description: If this flag is set to true, this value will be added to the list of values (if not there already). Otherwise, this value is treated as the default value and used only if no other value is provided in the source file.

Returns:
the value of field 'ToAdd'.

isToAdd

public java.lang.Boolean isToAdd()
Returns the value of field 'toAdd'. The field 'toAdd' has the following description: If this flag is set to true, this value will be added to the list of values (if not there already). Otherwise, this value is treated as the default value and used only if no other value is provided in the source file.

Returns:
the value of field 'ToAdd'.

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

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setToAdd

public void setToAdd(java.lang.Boolean toAdd)
Sets the value of field 'toAdd'. The field 'toAdd' has the following description: If this flag is set to true, this value will be added to the list of values (if not there already). Otherwise, this value is treated as the default value and used only if no other value is provided in the source file.

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

unmarshalCsmfLocalName

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

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