com.ibm.etools.xsd
Interface XSDSchema

All Superinterfaces:
com.ibm.etools.emf.notify.Notifier, com.ibm.etools.emf.ref.RefBaseObject, com.ibm.etools.emf.ref.RefObject, com.ibm.etools.emf.resource.ResourceSetReference, XSDComponent, XSDConcreteComponent, XSDScope
All Known Implementing Classes:
XSDSchemaImpl

public interface XSDSchema
extends XSDScope

A representation of the model object 'Schema'.

The following features are supported:

See Also:
XSDPackage.getXSDSchema()

Field Summary
static java.lang.String copyright
           
 
Fields inherited from interface com.ibm.etools.emf.notify.Notifier
ADD, ADD_MANY, CREATE, MOVE, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, SET, TOUCH, UNSET
 
Method Summary
 com.ibm.etools.emf.ecore.EClass eClassXSDSchema()
          Returns the meta class of XSDSchema.
 com.ibm.etools.emf.ref.EList getAllDiagnostics()
          Returns the value of the 'All Diagnostics' reference list.
 com.ibm.etools.emf.ref.EList getAnnotations()
          Returns the value of the 'Annotations' reference list.
 com.ibm.etools.emf.ref.EList getAttributeDeclarations()
          Returns the value of the 'Attribute Declarations' reference list.
 java.lang.Integer getAttributeFormDefault()
          Returns the Integer value of the 'Attribute Form Default' attribute.
 com.ibm.etools.emf.ref.EList getAttributeGroupDefinitions()
          Returns the value of the 'Attribute Group Definitions' reference list.
 com.ibm.etools.emf.ref.EList getBlockDefault()
          Returns the value of the 'Block Default' attribute list.
 XSDConcreteComponent getComponentForURIReferencePath(java.lang.String path)
          Returns the component corrresponding to the given path as returned by XSDConcreteComponent.getURIReferencePath().
 com.ibm.etools.emf.ref.EList getContents()
          Returns the value of the 'Contents' reference list.
 XSDConcreteComponent getCorrespondingComponent(Node node)
          Returns the best concrete component that corresponds to the given node.
 XSDDiagnostic getDiagnosticForURIReferencePath(java.lang.String path)
          Returns the diagnostic corrresponding to the given path as returned by XSDDiagnostic.getURIReferencePath().
 Document getDocument()
          Returns the value of the 'Document' attribute.
 com.ibm.etools.emf.ref.EList getElementDeclarations()
          Returns the value of the 'Element Declarations' reference list.
 java.lang.Integer getElementFormDefault()
          Returns the Integer value of the 'Element Form Default' attribute.
 com.ibm.etools.emf.ref.EList getFinalDefault()
          Returns the value of the 'Final Default' attribute list.
 com.ibm.etools.emf.ref.EList getIdentityConstraintDefinitions()
          Returns the value of the 'Identity Constraint Definitions' reference list.
 com.ibm.etools.emf.ref.EList getIncorporatedVersions()
          Returns the value of the 'Incorporated Versions' reference list.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralAttributeFormDefault()
          Returns the value of the 'Attribute Form Default' attribute.
 com.ibm.etools.emf.ecore.EEnumLiteral getLiteralElementFormDefault()
          Returns the value of the 'Element Form Default' attribute.
 com.ibm.etools.emf.ref.EList getModelGroupDefinitions()
          Returns the value of the 'Model Group Definitions' reference list.
 com.ibm.etools.emf.ref.EList getNotationDeclarations()
          Returns the value of the 'Notation Declarations' reference list.
 XSDSchema getOriginalVersion()
          Returns the value of the 'Original Version' reference.
 java.util.Map getQNamePrefixToNamespaceMap()
          Returns the map defined by the xmlns attributes of the underlying XML representation.
 com.ibm.etools.emf.ref.EList getReferencingDirectives()
          Returns the value of the 'Referencing Directives' reference list.
 XSDSchema getRootVersion()
          Returns the value of the 'Root Version' reference.
 XSDSchema getSchemaForSchema()
          Returns the value of the 'Schema For Schema' reference.
 java.lang.String getSchemaForSchemaNamespace()
          Returns the schema for schema namespace of this schema.
 java.lang.String getSchemaForSchemaQNamePrefix()
          Returns the QName prefix used to reference the schema for schema namespace.
 java.lang.String getSchemaLocation()
          Returns the value of the 'Schema Location' attribute.
 java.util.Map getSimpleTypeIdMap()
          Returns a map from String ID to XSDSimpleTypeDefinition based on the IDs in the DOM representation.
 java.lang.String getStringAttributeFormDefault()
          Returns the String value of the 'Attribute Form Default' attribute.
 java.lang.String getStringBlockDefault()
          Returns the String value of the 'Block Default' attribute list.
 java.lang.String getStringElementFormDefault()
          Returns the String value of the 'Element Form Default' attribute.
 java.lang.String getStringFinalDefault()
          Returns the String value of the 'Final Default' attribute list.
 java.lang.String getTargetNamespace()
          Returns the value of the 'Target Namespace' attribute.
 com.ibm.etools.emf.ref.EList getTypeDefinitions()
          Returns the value of the 'Type Definitions' reference list.
 int getValueAttributeFormDefault()
          Returns the primitive value of the 'Attribute Form Default' attribute.
 int getValueElementFormDefault()
          Returns the primitive value of the 'Element Form Default' attribute.
 boolean isSetAttributeFormDefault()
          Returns whether the value of the 'Attribute Form Default' attribute is set.
 boolean isSetDocument()
          Returns whether the value of the 'Document' attribute is set.
 boolean isSetElementFormDefault()
          Returns whether the value of the 'Element Form Default' attribute is set.
 boolean isSetOriginalVersion()
          Returns whether the value of the 'Original Version' reference is set.
 boolean isSetSchemaLocation()
          Returns whether the value of the 'Schema Location' attribute is set.
 boolean isSetTargetNamespace()
          Returns whether the value of the 'Target Namespace' attribute is set.
 void setAttributeFormDefault(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Attribute Form Default' attribute.
 void setAttributeFormDefault(int value)
          Sets the value of the 'Attribute Form Default' attribute.
 void setAttributeFormDefault(java.lang.Integer value)
          Sets the value of the 'Attribute Form Default' attribute.
 void setAttributeFormDefault(java.lang.String value)
          Sets the value of the 'Attribute Form Default' attribute.
 void setDocument(Document value)
          Sets the value of the 'Document' attribute.
 void setElementFormDefault(com.ibm.etools.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Element Form Default' attribute.
 void setElementFormDefault(int value)
          Sets the value of the 'Element Form Default' attribute.
 void setElementFormDefault(java.lang.Integer value)
          Sets the value of the 'Element Form Default' attribute.
 void setElementFormDefault(java.lang.String value)
          Sets the value of the 'Element Form Default' attribute.
 void setOriginalVersion(XSDSchema value)
          Sets the value of the 'Original Version' reference.
 void setSchemaForSchemaQNamePrefix(java.lang.String qNamePrefix)
          Sets the QName prefix used to reference the schema for schema namespace.
 void setSchemaLocation(java.lang.String value)
          Sets the value of the 'Schema Location' attribute.
 void setStringBlockDefault(java.lang.String blockDefault)
          Returns the String value of the 'Block Default' attribute list.
 void setStringFinalDefault(java.lang.String finalDefault)
          Set the String value of the 'Final Default' attribute list.
 void setTargetNamespace(java.lang.String value)
          Sets the value of the 'Target Namespace' attribute.
 void unsetAttributeFormDefault()
          Unsets the value of the 'Attribute Form Default' attribute.
 void unsetDocument()
          Unsets the value of the 'Document' attribute.
 void unsetElementFormDefault()
          Unsets the value of the 'Element Form Default' attribute.
 void unsetOriginalVersion()
          Unsets the value of the 'Original Version' reference.
 void unsetSchemaLocation()
          Unsets the value of the 'Schema Location' attribute.
 void unsetTargetNamespace()
          Unsets the value of the 'Target Namespace' attribute.
 Document updateDocument()
          Ensures that the document will be set to an instance that can be used to create a DOM serialization.
 
Methods inherited from interface com.ibm.etools.xsd.XSDScope
eClassXSDScope
 
Methods inherited from interface com.ibm.etools.xsd.XSDComponent
eClassXSDComponent
 
Methods inherited from interface com.ibm.etools.xsd.XSDConcreteComponent
clearDiagnostics, cloneConcreteComponent, contains, eClassXSDConcreteComponent, elementAttributesChanged, elementChanged, elementContentsChanged, ePackageXSD, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getOwner, getRootContainer, getRootOwner, getSchema, getURIReferencePath, isSetElement, isSetOwner, isSetRootOwner, isSetSchema, resolveAttributeDeclaration, resolveAttributeDeclaration, resolveAttributeDeclarationURI, resolveAttributeGroupDefinition, resolveAttributeGroupDefinition, resolveAttributeGroupDefinitionURI, resolveComplexTypeDefinition, resolveComplexTypeDefinition, resolveComplexTypeDefinitionURI, resolveElementDeclaration, resolveElementDeclaration, resolveElementDeclarationURI, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinition, resolveIdentityConstraintDefinitionURI, resolveModelGroupDefinition, resolveModelGroupDefinition, resolveModelGroupDefinitionURI, resolveNotationDeclaration, resolveNotationDeclaration, resolveNotationDeclarationURI, resolveSimpleTypeDefinition, resolveSimpleTypeDefinition, resolveSimpleTypeDefinitionURI, resolveTypeDefinition, resolveTypeDefinition, resolveTypeDefinitionURI, setElement, setOwner, setRootOwner, setSchema, unsetElement, unsetOwner, unsetRootOwner, unsetSchema, updateElement, updateElement, validate
 
Methods inherited from interface com.ibm.etools.emf.ref.RefObject
initInstance, refAddValue, refAddValueAt, refAddValueBefore, refCurrentValues, refDelegateOwner, refGetDefaultValues, refIsSet, refModifyValue, refModifyValueAt, refRemoveValue, refRemoveValueAt, refSetDelegateOwner, refSetValue, refUnsetValue, refValue
 
Methods inherited from interface com.ibm.etools.emf.ref.RefBaseObject
metaObject, refAttributes, refContainer, refContainerExtent, refContainerSF, refContainments, refContainments, refContains, refContains, refContainsExtent, refContainsNested, refDelete, refExtent, refID, refImmediatePackage, refIsContainer, refItself, refMetaObject, refMofId, refName, refOutermostPackage, refPackage, refReferences, refRemoveContent, refResource, refSetExtent, refSetID, refSetID, refSetIDContains, refSetMetaObject, refSetUUID, refSetUUID, refSetUUID
 
Methods inherited from interface com.ibm.etools.emf.notify.Notifier
addAdapter, getAdapter, getAdapters, getExistingAdapter, isDelivery, isDeliveryAll, notify, notify, removeAdapter, removeAllAdapters, setDelivery, setDeliveryAll
 
Methods inherited from interface com.ibm.etools.emf.resource.ResourceSetReference
getResourceSet
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

eClassXSDSchema

public com.ibm.etools.emf.ecore.EClass eClassXSDSchema()
Returns the meta class of XSDSchema.
Returns:
the meta class.
See Also:
XSDPackage.getXSDSchema(), XSDConcreteComponent.ePackageXSD()

getDocument

public Document getDocument()
Returns the value of the 'Document' attribute.

This is the optional DOM document of this schema, i.e., the owner of the element. A document can be created by calling updateDocument(); a document and an element can be create by calling XSDConcreteComponent.updateElement().

Returns:
the value of the 'Document' attribute.
See Also:
isSetDocument(), unsetDocument(), setDocument(org.w3c.dom.Document), XSDPackage.getXSDSchema_Document()

setDocument

public void setDocument(Document value)
Sets the value of the 'Document' attribute.
Parameters:
value - the new value of the 'Document' attribute.
See Also:
isSetDocument(), unsetDocument(), getDocument()

unsetDocument

public void unsetDocument()
Unsets the value of the 'Document' attribute.
See Also:
isSetDocument(), getDocument(), setDocument(org.w3c.dom.Document)

isSetDocument

public boolean isSetDocument()
Returns whether the value of the 'Document' attribute is set.
Returns:
whether the value of the 'Document' attribute is set.
See Also:
unsetDocument(), getDocument(), setDocument(org.w3c.dom.Document)

getSchemaLocation

public java.lang.String getSchemaLocation()
Returns the value of the 'Schema Location' attribute.

This concrete attribute represents the URI of the resource that contains this this schema. It is used to complete any relative schemaLocation URI in an import, include, or redefine. No schema resolution will be attempted until this has been set.

Returns:
the value of the 'Schema Location' attribute.
See Also:
isSetSchemaLocation(), unsetSchemaLocation(), setSchemaLocation(String), XSDPackage.getXSDSchema_SchemaLocation()

setSchemaLocation

public void setSchemaLocation(java.lang.String value)
Sets the value of the 'Schema Location' attribute.
Parameters:
value - the new value of the 'Schema Location' attribute.
See Also:
isSetSchemaLocation(), unsetSchemaLocation(), getSchemaLocation()

unsetSchemaLocation

public void unsetSchemaLocation()
Unsets the value of the 'Schema Location' attribute.
See Also:
isSetSchemaLocation(), getSchemaLocation(), setSchemaLocation(String)

isSetSchemaLocation

public boolean isSetSchemaLocation()
Returns whether the value of the 'Schema Location' attribute is set.
Returns:
whether the value of the 'Schema Location' attribute is set.
See Also:
unsetSchemaLocation(), getSchemaLocation(), setSchemaLocation(String)

getTargetNamespace

public java.lang.String getTargetNamespace()
Returns the value of the 'Target Namespace' attribute.

This concrete attribute represents the value of the targetNamespace attribute.

Returns:
the value of the 'Target Namespace' attribute.
See Also:
isSetTargetNamespace(), unsetTargetNamespace(), setTargetNamespace(String), XSDPackage.getXSDSchema_TargetNamespace()

setTargetNamespace

public void setTargetNamespace(java.lang.String value)
Sets the value of the 'Target Namespace' attribute.
Parameters:
value - the new value of the 'Target Namespace' attribute.
See Also:
isSetTargetNamespace(), unsetTargetNamespace(), getTargetNamespace()

unsetTargetNamespace

public void unsetTargetNamespace()
Unsets the value of the 'Target Namespace' attribute.
See Also:
isSetTargetNamespace(), getTargetNamespace(), setTargetNamespace(String)

isSetTargetNamespace

public boolean isSetTargetNamespace()
Returns whether the value of the 'Target Namespace' attribute is set.
Returns:
whether the value of the 'Target Namespace' attribute is set.
See Also:
unsetTargetNamespace(), getTargetNamespace(), setTargetNamespace(String)

getLiteralAttributeFormDefault

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralAttributeFormDefault()
Returns the value of the 'Attribute Form Default' attribute. The literals are from the enumeration XSDForm.

This concrete attribute represents the value of the attributeFormDefault attribute.

Returns:
the value of the 'Attribute Form Default' attribute.
See Also:
getValueAttributeFormDefault(), getAttributeFormDefault(), getStringAttributeFormDefault(), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), setAttributeFormDefault(EEnumLiteral), XSDPackage.getXSDSchema_AttributeFormDefault()

getValueAttributeFormDefault

public int getValueAttributeFormDefault()
Returns the primitive value of the 'Attribute Form Default' attribute.
Returns:
the primitive value of the 'Attribute Form Default' attribute.
See Also:
getLiteralAttributeFormDefault(), getValueAttributeFormDefault(), getStringAttributeFormDefault(), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), setAttributeFormDefault(int)

getStringAttributeFormDefault

public java.lang.String getStringAttributeFormDefault()
Returns the String value of the 'Attribute Form Default' attribute.
Returns:
the String value of the 'Attribute Form Default' attribute.
See Also:
getLiteralAttributeFormDefault(), getAttributeFormDefault(), getValueAttributeFormDefault(), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), setAttributeFormDefault(String)

getAttributeFormDefault

public java.lang.Integer getAttributeFormDefault()
Returns the Integer value of the 'Attribute Form Default' attribute.
Returns:
the Integer value of the 'Attribute Form Default' attribute.
See Also:
getLiteralAttributeFormDefault(), getValueAttributeFormDefault(), getStringAttributeFormDefault(), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), setAttributeFormDefault(Integer)

setAttributeFormDefault

public void setAttributeFormDefault(com.ibm.etools.emf.ecore.EEnumLiteral value)
                             throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Attribute Form Default' attribute.
Parameters:
value - the new value of the 'Attribute Form Default' attribute.
See Also:
setAttributeFormDefault(int), setAttributeFormDefault(Integer), setAttributeFormDefault(String), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), getLiteralAttributeFormDefault()

setAttributeFormDefault

public void setAttributeFormDefault(int value)
                             throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Attribute Form Default' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Attribute Form Default' attribute.
See Also:
setAttributeFormDefault(EEnumLiteral), setAttributeFormDefault(Integer), setAttributeFormDefault(String), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), getValueAttributeFormDefault()

setAttributeFormDefault

public void setAttributeFormDefault(java.lang.String value)
                             throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Attribute Form Default' attribute.
Parameters:
value - the String value of the new enumeration literal value of the 'Attribute Form Default' attribute.
See Also:
setAttributeFormDefault(EEnumLiteral), setAttributeFormDefault(int), setAttributeFormDefault(Integer), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), getStringAttributeFormDefault()

setAttributeFormDefault

public void setAttributeFormDefault(java.lang.Integer value)
                             throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Attribute Form Default' attribute.
Parameters:
value - the Integer value of the new enumeration literal value of the 'Attribute Form Default' attribute.
See Also:
setAttributeFormDefault(EEnumLiteral), setAttributeFormDefault(int), setAttributeFormDefault(String), XSDForm, isSetAttributeFormDefault(), unsetAttributeFormDefault(), getValueAttributeFormDefault()

unsetAttributeFormDefault

public void unsetAttributeFormDefault()
Unsets the value of the 'Attribute Form Default' attribute.
See Also:
isSetAttributeFormDefault(), getLiteralAttributeFormDefault(), setAttributeFormDefault(EEnumLiteral)

isSetAttributeFormDefault

public boolean isSetAttributeFormDefault()
Returns whether the value of the 'Attribute Form Default' attribute is set.
Returns:
whether the value of the 'Attribute Form Default' attribute is set.
See Also:
unsetAttributeFormDefault(), getLiteralAttributeFormDefault(), setAttributeFormDefault(EEnumLiteral)

getLiteralElementFormDefault

public com.ibm.etools.emf.ecore.EEnumLiteral getLiteralElementFormDefault()
Returns the value of the 'Element Form Default' attribute. The literals are from the enumeration XSDForm.

This concrete attribute represents the value of the elementFormDefault attribute.

Returns:
the value of the 'Element Form Default' attribute.
See Also:
getValueElementFormDefault(), getElementFormDefault(), getStringElementFormDefault(), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), setElementFormDefault(EEnumLiteral), XSDPackage.getXSDSchema_ElementFormDefault()

getValueElementFormDefault

public int getValueElementFormDefault()
Returns the primitive value of the 'Element Form Default' attribute.
Returns:
the primitive value of the 'Element Form Default' attribute.
See Also:
getLiteralElementFormDefault(), getValueElementFormDefault(), getStringElementFormDefault(), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), setElementFormDefault(int)

getStringElementFormDefault

public java.lang.String getStringElementFormDefault()
Returns the String value of the 'Element Form Default' attribute.
Returns:
the String value of the 'Element Form Default' attribute.
See Also:
getLiteralElementFormDefault(), getElementFormDefault(), getValueElementFormDefault(), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), setElementFormDefault(String)

getElementFormDefault

public java.lang.Integer getElementFormDefault()
Returns the Integer value of the 'Element Form Default' attribute.
Returns:
the Integer value of the 'Element Form Default' attribute.
See Also:
getLiteralElementFormDefault(), getValueElementFormDefault(), getStringElementFormDefault(), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), setElementFormDefault(Integer)

setElementFormDefault

public void setElementFormDefault(com.ibm.etools.emf.ecore.EEnumLiteral value)
                           throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Element Form Default' attribute.
Parameters:
value - the new value of the 'Element Form Default' attribute.
See Also:
setElementFormDefault(int), setElementFormDefault(Integer), setElementFormDefault(String), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), getLiteralElementFormDefault()

setElementFormDefault

public void setElementFormDefault(int value)
                           throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Element Form Default' attribute.
Parameters:
value - the int value of the new enumeration literal value of the 'Element Form Default' attribute.
See Also:
setElementFormDefault(EEnumLiteral), setElementFormDefault(Integer), setElementFormDefault(String), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), getValueElementFormDefault()

setElementFormDefault

public void setElementFormDefault(java.lang.String value)
                           throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Element Form Default' attribute.
Parameters:
value - the String value of the new enumeration literal value of the 'Element Form Default' attribute.
See Also:
setElementFormDefault(EEnumLiteral), setElementFormDefault(int), setElementFormDefault(Integer), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), getStringElementFormDefault()

setElementFormDefault

public void setElementFormDefault(java.lang.Integer value)
                           throws com.ibm.etools.emf.ref.EnumerationException
Sets the value of the 'Element Form Default' attribute.
Parameters:
value - the Integer value of the new enumeration literal value of the 'Element Form Default' attribute.
See Also:
setElementFormDefault(EEnumLiteral), setElementFormDefault(int), setElementFormDefault(String), XSDForm, isSetElementFormDefault(), unsetElementFormDefault(), getValueElementFormDefault()

unsetElementFormDefault

public void unsetElementFormDefault()
Unsets the value of the 'Element Form Default' attribute.
See Also:
isSetElementFormDefault(), getLiteralElementFormDefault(), setElementFormDefault(EEnumLiteral)

isSetElementFormDefault

public boolean isSetElementFormDefault()
Returns whether the value of the 'Element Form Default' attribute is set.
Returns:
whether the value of the 'Element Form Default' attribute is set.
See Also:
unsetElementFormDefault(), getLiteralElementFormDefault(), setElementFormDefault(EEnumLiteral)

getFinalDefault

public com.ibm.etools.emf.ref.EList getFinalDefault()
Returns the value of the 'Final Default' attribute list. The list contents are of type EEnumLiteral. The literals are from the enumeration XSDProhibitedSubstitutions.

This concrete attribute represents the value of the finalDefault attribute.

Returns:
the value of the 'Final Default' attribute list.
See Also:
XSDPackage.getXSDSchema_FinalDefault()

getStringFinalDefault

public java.lang.String getStringFinalDefault()
Returns the String value of the 'Final Default' attribute list.
Returns:
the String value of the 'Final Default' attribute list.
See Also:
getFinalDefault(), setStringFinalDefault(java.lang.String)

setStringFinalDefault

public void setStringFinalDefault(java.lang.String finalDefault)
Set the String value of the 'Final Default' attribute list.
Parameters:
finalDefault - the new value of the 'Final Default' attribute list.
See Also:
getFinalDefault(), getStringFinalDefault()

getBlockDefault

public com.ibm.etools.emf.ref.EList getBlockDefault()
Returns the value of the 'Block Default' attribute list. The list contents are of type EEnumLiteral. The literals are from the enumeration XSDDisallowedSubstitutions.

This concrete attribute represents the value of the blockDefault attribute.

Returns:
the value of the 'Block Default' attribute list.
See Also:
XSDPackage.getXSDSchema_BlockDefault()

getStringBlockDefault

public java.lang.String getStringBlockDefault()
Returns the String value of the 'Block Default' attribute list.
Returns:
the String value of the 'Block Default' attribute list.
See Also:
getBlockDefault(), setStringBlockDefault(java.lang.String)

setStringBlockDefault

public void setStringBlockDefault(java.lang.String blockDefault)
Returns the String value of the 'Block Default' attribute list.
Parameters:
blockDefault - the new value of the 'Block Default' attribute list.
See Also:
getBlockDefault(), getStringBlockDefault()

getContents

public com.ibm.etools.emf.ref.EList getContents()
Returns the value of the 'Contents' reference list. The list contents are of type XSDSchemaContent.

This concrete reference represents the contents defined within the body of a schema element.

Returns:
the value of the 'Contents' reference list.
See Also:
XSDPackage.getXSDSchema_Contents()

getElementDeclarations

public com.ibm.etools.emf.ref.EList getElementDeclarations()
Returns the value of the 'Element Declarations' reference list. The list contents are of type XSDElementDeclaration.

This represents the element declarations infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Element Declarations' reference list.
See Also:
XSDPackage.getXSDSchema_ElementDeclarations()

getAttributeDeclarations

public com.ibm.etools.emf.ref.EList getAttributeDeclarations()
Returns the value of the 'Attribute Declarations' reference list. The list contents are of type XSDAttributeDeclaration.

This represents the attribute declarations infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Attribute Declarations' reference list.
See Also:
XSDPackage.getXSDSchema_AttributeDeclarations()

getAttributeGroupDefinitions

public com.ibm.etools.emf.ref.EList getAttributeGroupDefinitions()
Returns the value of the 'Attribute Group Definitions' reference list. The list contents are of type XSDAttributeGroupDefinition.

This represents the attribute group definitions infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Attribute Group Definitions' reference list.
See Also:
XSDPackage.getXSDSchema_AttributeGroupDefinitions()

getTypeDefinitions

public com.ibm.etools.emf.ref.EList getTypeDefinitions()
Returns the value of the 'Type Definitions' reference list. The list contents are of type XSDTypeDefinition.

This represents the type definitions infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Type Definitions' reference list.
See Also:
XSDPackage.getXSDSchema_TypeDefinitions()

getModelGroupDefinitions

public com.ibm.etools.emf.ref.EList getModelGroupDefinitions()
Returns the value of the 'Model Group Definitions' reference list. The list contents are of type XSDModelGroupDefinition.

This represents the model group definitions infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Model Group Definitions' reference list.
See Also:
XSDPackage.getXSDSchema_ModelGroupDefinitions()

getIdentityConstraintDefinitions

public com.ibm.etools.emf.ref.EList getIdentityConstraintDefinitions()
Returns the value of the 'Identity Constraint Definitions' reference list. The list contents are of type XSDIdentityConstraintDefinition.

This represents the identity constraint definitions infoset property. It is computed from the contents and should typically not be set directly. Actually, there is no such property defined but this seems to be an oversight; it is needed to resolve a referenced key.

Returns:
the value of the 'Identity Constraint Definitions' reference list.
See Also:
XSDPackage.getXSDSchema_IdentityConstraintDefinitions()

getNotationDeclarations

public com.ibm.etools.emf.ref.EList getNotationDeclarations()
Returns the value of the 'Notation Declarations' reference list. The list contents are of type XSDNotationDeclaration.

This represents the notation declarations infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Notation Declarations' reference list.
See Also:
XSDPackage.getXSDSchema_NotationDeclarations()

getAnnotations

public com.ibm.etools.emf.ref.EList getAnnotations()
Returns the value of the 'Annotations' reference list. The list contents are of type XSDAnnotation.

This represents the annotations infoset property. It is computed from the contents and should typically not be set directly.

Returns:
the value of the 'Annotations' reference list.
See Also:
XSDPackage.getXSDSchema_Annotations()

getAllDiagnostics

public com.ibm.etools.emf.ref.EList getAllDiagnostics()
Returns the value of the 'All Diagnostics' reference list. The list contents are of type XSDDiagnostic.

This concrete reference represents all the diagnostics that occur within the components of this schema. It is computed from the 'Diagnostics' reference list and should typically not be modified directly.

Returns:
the value of the 'All Diagnostics' reference list.
See Also:
XSDPackage.getXSDSchema_AllDiagnostics()

getReferencingDirectives

public com.ibm.etools.emf.ref.EList getReferencingDirectives()
Returns the value of the 'Referencing Directives' reference list. The list contents are of type XSDSchemaDirective.

This represents the directives that have this schema as their 'Resolved Schema' reference or 'Incorporated Schema' reference.

Returns:
the value of the 'Referencing Directives' reference list.
See Also:
XSDPackage.getXSDSchema_ReferencingDirectives()

getRootVersion

public XSDSchema getRootVersion()
Returns the value of the 'Root Version' reference.

This walks the original versions until it hits one that has no original version.

Returns:
the value of the 'Root Version' reference.
See Also:
XSDPackage.getXSDSchema_RootVersion()

getOriginalVersion

public XSDSchema getOriginalVersion()
Returns the value of the 'Original Version' reference.

This represents the schema from which an incorporated version originates. The root version has itself as its original version.

Returns:
the value of the 'Original Version' reference.
See Also:
isSetOriginalVersion(), unsetOriginalVersion(), setOriginalVersion(XSDSchema), XSDPackage.getXSDSchema_OriginalVersion()

setOriginalVersion

public void setOriginalVersion(XSDSchema value)
Sets the value of the 'Original Version' reference.
Parameters:
value - the new value of the 'Original Version' reference.
See Also:
isSetOriginalVersion(), unsetOriginalVersion(), getOriginalVersion()

unsetOriginalVersion

public void unsetOriginalVersion()
Unsets the value of the 'Original Version' reference.
See Also:
isSetOriginalVersion(), getOriginalVersion(), setOriginalVersion(XSDSchema)

isSetOriginalVersion

public boolean isSetOriginalVersion()
Returns whether the value of the 'Original Version' reference is set.
Returns:
whether the value of the 'Original Version' reference is set.
See Also:
unsetOriginalVersion(), getOriginalVersion(), setOriginalVersion(XSDSchema)

getIncorporatedVersions

public com.ibm.etools.emf.ref.EList getIncorporatedVersions()
Returns the value of the 'Incorporated Versions' reference list. The list contents are of type XSDSchema.

This represents those versions of this schema that have been included into a schema with a different namespace or have been otherwise redefined.

Returns:
the value of the 'Incorporated Versions' reference list.
See Also:
XSDSchemaCompositor.getIncorporatedSchema(), XSDPackage.getXSDSchema_IncorporatedVersions()

getSchemaForSchema

public XSDSchema getSchemaForSchema()
Returns the value of the 'Schema For Schema' reference.

This represents the 'schema for schemas'. It is computed from the schema for schema namespace and should typically not be set directly.

Returns:
the value of the 'Schema For Schema' reference.
See Also:
XSDPackage.getXSDSchema_SchemaForSchema()

getCorrespondingComponent

public XSDConcreteComponent getCorrespondingComponent(Node node)
Returns the best concrete component that corresponds to the given node. Since each concrete component has an associated element not a node, a best element is determined from the node first. Furthermore, since not every element corresponds to a concrete component, parent elements are considered when finding a match. The best match will be the deepest choice.
Parameters:
node - the node to find.
Returns:
the best concrete component that corresponds to the given node.
See Also:
XSDConcreteComponent.getElement()

getSimpleTypeIdMap

public java.util.Map getSimpleTypeIdMap()
Returns a map from String ID to XSDSimpleTypeDefinition based on the IDs in the DOM representation. For the schema for schema, this represents the built-in datatypes.
Returns:
a map from String ID to XSDSimpleTypeDefinition
See Also:
getSchemaForSchema()

getQNamePrefixToNamespaceMap

public java.util.Map getQNamePrefixToNamespaceMap()
Returns the map defined by the xmlns attributes of the underlying XML representation. When a schema instance is constructed without an underlying DOM, it is necessary to populate this map with at least a mapping for the schema for schema namespace prefix.
Returns:
the map defined by the xmlns attributes of the underlying XML representation.
See Also:
getSchemaForSchemaQNamePrefix(), getSchemaForSchemaNamespace()

getSchemaForSchemaQNamePrefix

public java.lang.String getSchemaForSchemaQNamePrefix()
Returns the QName prefix used to reference the schema for schema namespace. It must be a key in getQNamePrefixToNamespaceMap(). It is recommended that the prefix 'xsd' be used.
Returns:
the QName prefix used to reference the schema for schema namespace.
See Also:
setSchemaForSchemaQNamePrefix(java.lang.String), getQNamePrefixToNamespaceMap()

setSchemaForSchemaQNamePrefix

public void setSchemaForSchemaQNamePrefix(java.lang.String qNamePrefix)
Sets the QName prefix used to reference the schema for schema namespace. It must be a key in getQNamePrefixToNamespaceMap() that maps to a valid schema for schema namespace.
Parameters:
qNamePrefix - the new schema for schema QName prefix.
See Also:
getSchemaForSchemaQNamePrefix(), getQNamePrefixToNamespaceMap()

getSchemaForSchemaNamespace

public java.lang.String getSchemaForSchemaNamespace()
Returns the schema for schema namespace of this schema. It is equivalent to
  (String)getQNamePrefixToNamespaceMap().get(getSchemaForSchemaQNamePrefix())
so you can't set this directly.
Returns:
the schema for schema namespace.
See Also:
getQNamePrefixToNamespaceMap(), getSchemaForSchemaQNamePrefix()

getComponentForURIReferencePath

public XSDConcreteComponent getComponentForURIReferencePath(java.lang.String path)
Returns the component corrresponding to the given path as returned by XSDConcreteComponent.getURIReferencePath().
Parameters:
path - a URI Reference path.
Returns:
the component corrresponding to the given path.
See Also:
XSDConcreteComponent.getURIReferencePath()

getDiagnosticForURIReferencePath

public XSDDiagnostic getDiagnosticForURIReferencePath(java.lang.String path)
Returns the diagnostic corrresponding to the given path as returned by XSDDiagnostic.getURIReferencePath().
Parameters:
path - a URI Reference path.
Returns:
the diagnostic corrresponding to the given path.
See Also:
XSDDiagnostic.getURIReferencePath()

updateDocument

public Document updateDocument()
Ensures that the document will be set to an instance that can be used to create a DOM serialization.
See Also:
XSDConcreteComponent.updateElement()