org.LexGrid.naming
Class SupportedAssociation

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

public class SupportedAssociation
extends URIMap
implements java.io.Serializable

An associationName and the URI of the defining resource.

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

Constructor Summary
SupportedAssociation()
           
SupportedAssociation(java.lang.String defaultValue)
           
 
Method Summary
 java.lang.String getCodingScheme()
          Returns the value of field 'codingScheme'.
 java.lang.String getContent()
          Returns the value of field 'content'.
 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 setCodingScheme(java.lang.String codingScheme)
          Sets the value of field 'codingScheme'.
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 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 SupportedAssociation unmarshalSupportedAssociation(java.io.Reader reader)
          Method unmarshalSupportedAssociation.
 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

SupportedAssociation

public SupportedAssociation()

SupportedAssociation

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

getCodingScheme

public java.lang.String getCodingScheme()
Returns the value of field 'codingScheme'. The field 'codingScheme' has the following description: The local name of the coding scheme that defines the association. Default: the containing coding scheme.

Returns:
the value of field 'CodingScheme'.

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'.

getEntityCode

public java.lang.String getEntityCode()
Returns the value of field 'entityCode'. The field 'entityCode' has the following description: The entity code of the association within the coding scheme. Default: local name of the association.

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 that defines the association. Default: the containing coding scheme.

Returns:
the value of field 'EntityCodeNamespace'.

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

setCodingScheme

public void setCodingScheme(java.lang.String codingScheme)
Sets the value of field 'codingScheme'. The field 'codingScheme' has the following description: The local name of the coding scheme that defines the association. Default: the containing coding scheme.

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

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'.

setEntityCode

public void setEntityCode(java.lang.String entityCode)
Sets the value of field 'entityCode'. The field 'entityCode' has the following description: The entity code of the association within the coding scheme. Default: local name of the association.

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 that defines the association. Default: the containing coding scheme.

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

unmarshalSupportedAssociation

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

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