org.LexGrid.LexOnt
Class CsmfMappings

java.lang.Object
  extended by org.mayo.edu.lgModel.LexGridBase
      extended by org.LexGrid.naming.Mappings
          extended by org.LexGrid.LexOnt.CsmfMappings
All Implemented Interfaces:
java.io.Serializable

public class CsmfMappings
extends Mappings
implements java.io.Serializable

Based on lgCS:mappings.

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

Constructor Summary
CsmfMappings()
           
 
Method Summary
 java.lang.Boolean getToUpdate()
          Returns the value of field 'toUpdate'.
 java.lang.Boolean isToUpdate()
          Returns the value of field 'toUpdate'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setToUpdate(java.lang.Boolean toUpdate)
          Sets the value of field 'toUpdate'.
static CsmfMappings unmarshalCsmfMappings(java.io.Reader reader)
          Method unmarshalCsmfMappings.
 void validate()
           
 
Methods inherited from class org.LexGrid.naming.Mappings
addSupportedAssociation, addSupportedAssociation, addSupportedAssociationQualifier, addSupportedAssociationQualifier, addSupportedCodingScheme, addSupportedCodingScheme, addSupportedConceptDomain, addSupportedConceptDomain, addSupportedContainerName, addSupportedContainerName, addSupportedContext, addSupportedContext, addSupportedDataType, addSupportedDataType, addSupportedDegreeOfFidelity, addSupportedDegreeOfFidelity, addSupportedEntityType, addSupportedEntityType, addSupportedHierarchy, addSupportedHierarchy, addSupportedLanguage, addSupportedLanguage, addSupportedNamespace, addSupportedNamespace, addSupportedProperty, addSupportedProperty, addSupportedPropertyLink, addSupportedPropertyLink, addSupportedPropertyQualifier, addSupportedPropertyQualifier, addSupportedPropertyQualifierType, addSupportedPropertyQualifierType, addSupportedPropertyType, addSupportedPropertyType, addSupportedRepresentationalForm, addSupportedRepresentationalForm, addSupportedSortOrder, addSupportedSortOrder, addSupportedSource, addSupportedSource, addSupportedSourceRole, addSupportedSourceRole, addSupportedStatus, addSupportedStatus, enumerateSupportedAssociation, enumerateSupportedAssociationQualifier, enumerateSupportedCodingScheme, enumerateSupportedConceptDomain, enumerateSupportedContainerName, enumerateSupportedContext, enumerateSupportedDataType, enumerateSupportedDegreeOfFidelity, enumerateSupportedEntityType, enumerateSupportedHierarchy, enumerateSupportedLanguage, enumerateSupportedNamespace, enumerateSupportedProperty, enumerateSupportedPropertyLink, enumerateSupportedPropertyQualifier, enumerateSupportedPropertyQualifierType, enumerateSupportedPropertyType, enumerateSupportedRepresentationalForm, enumerateSupportedSortOrder, enumerateSupportedSource, enumerateSupportedSourceRole, enumerateSupportedStatus, getSupportedAssociation, getSupportedAssociation, getSupportedAssociationAsReference, getSupportedAssociationCount, getSupportedAssociationQualifier, getSupportedAssociationQualifier, getSupportedAssociationQualifierAsReference, getSupportedAssociationQualifierCount, getSupportedCodingScheme, getSupportedCodingScheme, getSupportedCodingSchemeAsReference, getSupportedCodingSchemeCount, getSupportedConceptDomain, getSupportedConceptDomain, getSupportedConceptDomainAsReference, getSupportedConceptDomainCount, getSupportedContainerName, getSupportedContainerName, getSupportedContainerNameAsReference, getSupportedContainerNameCount, getSupportedContext, getSupportedContext, getSupportedContextAsReference, getSupportedContextCount, getSupportedDataType, getSupportedDataType, getSupportedDataTypeAsReference, getSupportedDataTypeCount, getSupportedDegreeOfFidelity, getSupportedDegreeOfFidelity, getSupportedDegreeOfFidelityAsReference, getSupportedDegreeOfFidelityCount, getSupportedEntityType, getSupportedEntityType, getSupportedEntityTypeAsReference, getSupportedEntityTypeCount, getSupportedHierarchy, getSupportedHierarchy, getSupportedHierarchyAsReference, getSupportedHierarchyCount, getSupportedLanguage, getSupportedLanguage, getSupportedLanguageAsReference, getSupportedLanguageCount, getSupportedNamespace, getSupportedNamespace, getSupportedNamespaceAsReference, getSupportedNamespaceCount, getSupportedProperty, getSupportedProperty, getSupportedPropertyAsReference, getSupportedPropertyCount, getSupportedPropertyLink, getSupportedPropertyLink, getSupportedPropertyLinkAsReference, getSupportedPropertyLinkCount, getSupportedPropertyQualifier, getSupportedPropertyQualifier, getSupportedPropertyQualifierAsReference, getSupportedPropertyQualifierCount, getSupportedPropertyQualifierType, getSupportedPropertyQualifierType, getSupportedPropertyQualifierTypeAsReference, getSupportedPropertyQualifierTypeCount, getSupportedPropertyType, getSupportedPropertyType, getSupportedPropertyTypeAsReference, getSupportedPropertyTypeCount, getSupportedRepresentationalForm, getSupportedRepresentationalForm, getSupportedRepresentationalFormAsReference, getSupportedRepresentationalFormCount, getSupportedSortOrder, getSupportedSortOrder, getSupportedSortOrderAsReference, getSupportedSortOrderCount, getSupportedSource, getSupportedSource, getSupportedSourceAsReference, getSupportedSourceCount, getSupportedSourceRole, getSupportedSourceRole, getSupportedSourceRoleAsReference, getSupportedSourceRoleCount, getSupportedStatus, getSupportedStatus, getSupportedStatusAsReference, getSupportedStatusCount, iterateSupportedAssociation, iterateSupportedAssociationQualifier, iterateSupportedCodingScheme, iterateSupportedConceptDomain, iterateSupportedContainerName, iterateSupportedContext, iterateSupportedDataType, iterateSupportedDegreeOfFidelity, iterateSupportedEntityType, iterateSupportedHierarchy, iterateSupportedLanguage, iterateSupportedNamespace, iterateSupportedProperty, iterateSupportedPropertyLink, iterateSupportedPropertyQualifier, iterateSupportedPropertyQualifierType, iterateSupportedPropertyType, iterateSupportedRepresentationalForm, iterateSupportedSortOrder, iterateSupportedSource, iterateSupportedSourceRole, iterateSupportedStatus, removeAllSupportedAssociation, removeAllSupportedAssociationQualifier, removeAllSupportedCodingScheme, removeAllSupportedConceptDomain, removeAllSupportedContainerName, removeAllSupportedContext, removeAllSupportedDataType, removeAllSupportedDegreeOfFidelity, removeAllSupportedEntityType, removeAllSupportedHierarchy, removeAllSupportedLanguage, removeAllSupportedNamespace, removeAllSupportedProperty, removeAllSupportedPropertyLink, removeAllSupportedPropertyQualifier, removeAllSupportedPropertyQualifierType, removeAllSupportedPropertyType, removeAllSupportedRepresentationalForm, removeAllSupportedSortOrder, removeAllSupportedSource, removeAllSupportedSourceRole, removeAllSupportedStatus, removeSupportedAssociation, removeSupportedAssociationAt, removeSupportedAssociationQualifier, removeSupportedAssociationQualifierAt, removeSupportedCodingScheme, removeSupportedCodingSchemeAt, removeSupportedConceptDomain, removeSupportedConceptDomainAt, removeSupportedContainerName, removeSupportedContainerNameAt, removeSupportedContext, removeSupportedContextAt, removeSupportedDataType, removeSupportedDataTypeAt, removeSupportedDegreeOfFidelity, removeSupportedDegreeOfFidelityAt, removeSupportedEntityType, removeSupportedEntityTypeAt, removeSupportedHierarchy, removeSupportedHierarchyAt, removeSupportedLanguage, removeSupportedLanguageAt, removeSupportedNamespace, removeSupportedNamespaceAt, removeSupportedProperty, removeSupportedPropertyAt, removeSupportedPropertyLink, removeSupportedPropertyLinkAt, removeSupportedPropertyQualifier, removeSupportedPropertyQualifierAt, removeSupportedPropertyQualifierType, removeSupportedPropertyQualifierTypeAt, removeSupportedPropertyType, removeSupportedPropertyTypeAt, removeSupportedRepresentationalForm, removeSupportedRepresentationalFormAt, removeSupportedSortOrder, removeSupportedSortOrderAt, removeSupportedSource, removeSupportedSourceAt, removeSupportedSourceRole, removeSupportedSourceRoleAt, removeSupportedStatus, removeSupportedStatusAt, setSupportedAssociation, setSupportedAssociation, setSupportedAssociation, setSupportedAssociationAsReference, setSupportedAssociationQualifier, setSupportedAssociationQualifier, setSupportedAssociationQualifier, setSupportedAssociationQualifierAsReference, setSupportedCodingScheme, setSupportedCodingScheme, setSupportedCodingScheme, setSupportedCodingSchemeAsReference, setSupportedConceptDomain, setSupportedConceptDomain, setSupportedConceptDomain, setSupportedConceptDomainAsReference, setSupportedContainerName, setSupportedContainerName, setSupportedContainerName, setSupportedContainerNameAsReference, setSupportedContext, setSupportedContext, setSupportedContext, setSupportedContextAsReference, setSupportedDataType, setSupportedDataType, setSupportedDataType, setSupportedDataTypeAsReference, setSupportedDegreeOfFidelity, setSupportedDegreeOfFidelity, setSupportedDegreeOfFidelity, setSupportedDegreeOfFidelityAsReference, setSupportedEntityType, setSupportedEntityType, setSupportedEntityType, setSupportedEntityTypeAsReference, setSupportedHierarchy, setSupportedHierarchy, setSupportedHierarchy, setSupportedHierarchyAsReference, setSupportedLanguage, setSupportedLanguage, setSupportedLanguage, setSupportedLanguageAsReference, setSupportedNamespace, setSupportedNamespace, setSupportedNamespace, setSupportedNamespaceAsReference, setSupportedProperty, setSupportedProperty, setSupportedProperty, setSupportedPropertyAsReference, setSupportedPropertyLink, setSupportedPropertyLink, setSupportedPropertyLink, setSupportedPropertyLinkAsReference, setSupportedPropertyQualifier, setSupportedPropertyQualifier, setSupportedPropertyQualifier, setSupportedPropertyQualifierAsReference, setSupportedPropertyQualifierType, setSupportedPropertyQualifierType, setSupportedPropertyQualifierType, setSupportedPropertyQualifierTypeAsReference, setSupportedPropertyType, setSupportedPropertyType, setSupportedPropertyType, setSupportedPropertyTypeAsReference, setSupportedRepresentationalForm, setSupportedRepresentationalForm, setSupportedRepresentationalForm, setSupportedRepresentationalFormAsReference, setSupportedSortOrder, setSupportedSortOrder, setSupportedSortOrder, setSupportedSortOrderAsReference, setSupportedSource, setSupportedSource, setSupportedSource, setSupportedSourceAsReference, setSupportedSourceRole, setSupportedSourceRole, setSupportedSourceRole, setSupportedSourceRoleAsReference, setSupportedStatus, setSupportedStatus, setSupportedStatus, setSupportedStatusAsReference, unmarshalMappings
 
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

CsmfMappings

public CsmfMappings()
Method Detail

getToUpdate

public java.lang.Boolean getToUpdate()
Returns the value of field 'toUpdate'. The field 'toUpdate' has the following description: If this flag is set to true, use the localId to check if the entry already exists. If it exists, update that entry with the manifest information. If the entry doesn't exist, add it. If the flag is false, use the localId to check it entry already exists. If it doesn't exist, add it. If it exists, do nothing.

Returns:
the value of field 'ToUpdate'.

isToUpdate

public java.lang.Boolean isToUpdate()
Returns the value of field 'toUpdate'. The field 'toUpdate' has the following description: If this flag is set to true, use the localId to check if the entry already exists. If it exists, update that entry with the manifest information. If the entry doesn't exist, add it. If the flag is false, use the localId to check it entry already exists. If it doesn't exist, add it. If it exists, do nothing.

Returns:
the value of field 'ToUpdate'.

isValid

public boolean isValid()
Method isValid.

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

setToUpdate

public void setToUpdate(java.lang.Boolean toUpdate)
Sets the value of field 'toUpdate'. The field 'toUpdate' has the following description: If this flag is set to true, use the localId to check if the entry already exists. If it exists, update that entry with the manifest information. If the entry doesn't exist, add it. If the flag is false, use the localId to check it entry already exists. If it doesn't exist, add it. If it exists, do nothing.

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

unmarshalCsmfMappings

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

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