com.ibm.etools.xsd
Interface XSDSchemaDirective

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, XSDConcreteComponent, XSDSchemaContent
All Known Subinterfaces:
XSDImport, XSDInclude, XSDRedefine, XSDSchemaCompositor
All Known Implementing Classes:
XSDSchemaDirectiveImpl, XSDImportImpl, XSDSchemaCompositorImpl

public interface XSDSchemaDirective
extends XSDSchemaContent

A representation of the model object 'Schema Directive'. It is used to represent aspects common to 'Import', 'Include' and 'Redefine'.

The following features are supported:

See Also:
XSDPackage.getXSDSchemaDirective()

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 eClassXSDSchemaDirective()
          Returns the meta class of XSDSchemaDirective.
 XSDSchema getResolvedSchema()
          Returns the value of the 'Resolved Schema' reference.
 java.lang.String getSchemaLocation()
          Returns the value of the 'Schema Location' attribute.
 boolean isSetResolvedSchema()
          Returns whether the value of the 'Resolved Schema' reference is set.
 boolean isSetSchemaLocation()
          Returns whether the value of the 'Schema Location' attribute is set.
 void setResolvedSchema(XSDSchema value)
          Sets the value of the 'Resolved Schema' reference.
 void setSchemaLocation(java.lang.String value)
          Sets the value of the 'Schema Location' attribute.
 void unsetResolvedSchema()
          Unsets the value of the 'Resolved Schema' reference.
 void unsetSchemaLocation()
          Unsets the value of the 'Schema Location' attribute.
 
Methods inherited from interface com.ibm.etools.xsd.XSDSchemaContent
eClassXSDSchemaContent
 
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

eClassXSDSchemaDirective

public com.ibm.etools.emf.ecore.EClass eClassXSDSchemaDirective()
Returns the meta class of XSDSchemaDirective.
Returns:
the meta class.
See Also:
XSDPackage.getXSDSchemaDirective(), XSDConcreteComponent.ePackageXSD()

getSchemaLocation

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

This concrete attribute represents the value of the import schemaLocation, include schemaLocation, or redefine schemaLocation attribute. It is used in conjunction with the schema's location, to compute the resolved schema.

Returns:
the value of the 'Schema Location' attribute.
See Also:
XSDSchema.getSchemaLocation(), getResolvedSchema(), isSetSchemaLocation(), unsetSchemaLocation(), setSchemaLocation(String), XSDPackage.getXSDSchemaDirective_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)

getResolvedSchema

public XSDSchema getResolvedSchema()
Returns the value of the 'Resolved Schema' reference.

This represents the actual schema resolved by the 'Schema Location' attribute.

Returns:
the value of the 'Resolved Schema' reference.
See Also:
getSchemaLocation(), isSetResolvedSchema(), unsetResolvedSchema(), setResolvedSchema(XSDSchema), XSDPackage.getXSDSchemaDirective_ResolvedSchema()

setResolvedSchema

public void setResolvedSchema(XSDSchema value)
Sets the value of the 'Resolved Schema' reference.
Parameters:
value - the new value of the 'Resolved Schema' reference.
See Also:
isSetResolvedSchema(), unsetResolvedSchema(), getResolvedSchema()

unsetResolvedSchema

public void unsetResolvedSchema()
Unsets the value of the 'Resolved Schema' reference.
See Also:
isSetResolvedSchema(), getResolvedSchema(), setResolvedSchema(XSDSchema)

isSetResolvedSchema

public boolean isSetResolvedSchema()
Returns whether the value of the 'Resolved Schema' reference is set.
Returns:
whether the value of the 'Resolved Schema' reference is set.
See Also:
unsetResolvedSchema(), getResolvedSchema(), setResolvedSchema(XSDSchema)