org.LexGrid.naming
Class SupportedCodingScheme

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.naming.URIMap
          extended by org.LexGrid.naming.SupportedCodingScheme
All Implemented Interfaces:
java.io.Serializable

public class SupportedCodingScheme
extends URIMap
implements java.io.Serializable

A codingSchemeName and the URI of the defining resource

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

Constructor Summary
SupportedCodingScheme()
           
SupportedCodingScheme(java.lang.String defaultValue)
           
 
Method Summary
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.Boolean getIsImported()
          Returns the value of field 'isImported'.
 java.lang.Boolean isIsImported()
          Returns the value of field 'isImported'.
 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 setIsImported(java.lang.Boolean isImported)
          Sets the value of field 'isImported'.
static SupportedCodingScheme unmarshalSupportedCodingScheme(java.io.Reader reader)
          Method unmarshalSupportedCodingScheme.
 void validate()
           
 
Methods inherited from class org.LexGrid.naming.URIMap
getLocalId, getUri, setLocalId, setUri, unmarshalURIMap
 
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

SupportedCodingScheme

public SupportedCodingScheme()

SupportedCodingScheme

public SupportedCodingScheme(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

Overrides:
getContent in class URIMap
Returns:
the value of field 'Content'.

getIsImported

public java.lang.Boolean getIsImported()
Returns the value of field 'isImported'. The field 'isImported' has the following description: True means, one or more entities of this coding scheme is brought in when the ontology is loaded. The containing coding scheme also has its import flag set to true if it has one or more entities brought in. False means, loaded ontology has only references to this coding scheme. Default: true

Returns:
the value of field 'IsImported'.

isIsImported

public java.lang.Boolean isIsImported()
Returns the value of field 'isImported'. The field 'isImported' has the following description: True means, one or more entities of this coding scheme is brought in when the ontology is loaded. The containing coding scheme also has its import flag set to true if it has one or more entities brought in. False means, loaded ontology has only references to this coding scheme. Default: true

Returns:
the value of field 'IsImported'.

isValid

public boolean isValid()
Method isValid.

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

Overrides:
setContent in class URIMap
Parameters:
content - the value of field 'content'.

setIsImported

public void setIsImported(java.lang.Boolean isImported)
Sets the value of field 'isImported'. The field 'isImported' has the following description: True means, one or more entities of this coding scheme is brought in when the ontology is loaded. The containing coding scheme also has its import flag set to true if it has one or more entities brought in. False means, loaded ontology has only references to this coding scheme. Default: true

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

unmarshalSupportedCodingScheme

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

Parameters:
reader -
Returns:
the unmarshaled org.LexGrid.naming.SupportedCodingScheme
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 URIMap
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.