public interface XSDTypeDefinition extends XSDRedefinableComponent, XSDRedefineContent
Simple Type Definitions
' and
'Complex Type Definitions
'.
The following features are supported:
XSDPackage.getXSDTypeDefinition()
Modifier and Type | Method and Description |
---|---|
XSDAnnotation |
getAnnotation()
Returns the value of the 'Annotation' containment reference.
|
EList<XSDAnnotation> |
getAnnotations()
Returns the value of the 'Annotations' reference list.
|
XSDTypeDefinition |
getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition,
boolean extension,
boolean restriction)
|
XSDTypeDefinition |
getBaseType()
Returns the value of the 'Base Type' reference.
|
XSDParticle |
getComplexType()
Returns the value of the 'Complex Type' reference.
|
XSDAnnotation |
getDerivationAnnotation()
Returns the value of the 'Derivation Annotation' containment reference.
|
XSDTypeDefinition |
getRootType()
Returns the value of the 'Root Type' reference.
|
XSDSimpleTypeDefinition |
getSimpleType()
Returns the value of the 'Simple Type' reference.
|
void |
setAnnotation(XSDAnnotation value)
Sets the value of the '
Annotation ' containment reference. |
void |
setDerivationAnnotation(XSDAnnotation value)
Sets the value of the '
Derivation Annotation ' containment reference. |
isCircular
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace
clearDiagnostics, cloneConcreteComponent, contains, elementAttributesChanged, elementChanged, elementContentsChanged, getComponentsWithApplicationInformation, getComponentsWithUserInformation, getContainer, getDiagnostics, getElement, getRootContainer, getSchema, 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, updateElement, updateElement, validate
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
XSDAnnotation getAnnotation()
This concrete reference represents the direct annotation content of a complexType element or a simpleType element.
setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDTypeDefinition_Annotation()
void setAnnotation(XSDAnnotation value)
Annotation
' containment reference.
value
- the new value of the 'Annotation' containment reference.getAnnotation()
XSDAnnotation getDerivationAnnotation()
This concrete reference represents the direct annotation content of a complex content extension, complex content restriction, simple content extension, simple content restriction, simple type restriction, simple type list, or simple type union element.
setDerivationAnnotation(XSDAnnotation)
,
XSDPackage.getXSDTypeDefinition_DerivationAnnotation()
void setDerivationAnnotation(XSDAnnotation value)
Derivation Annotation
' containment reference.
value
- the new value of the 'Derivation Annotation' containment reference.getDerivationAnnotation()
EList<XSDAnnotation> getAnnotations()
XSDAnnotation
.
This represents the
complex type definition annotation or
simple type definition annotation
infoset property.
It is computed from the
annotation
,
content annotation
,
derivationAnnotation
and should typically not be modified directly.
XSDPackage.getXSDTypeDefinition_Annotations()
XSDTypeDefinition getRootType()
This walks the base types
until it hits that one that has the ur-type definition as it's base type.
XSDPackage.getXSDTypeDefinition_RootType()
XSDTypeDefinition getBaseType()
This represents the same result as either
the simple 'Base Type Definition
' reference or
the complex 'Base Type Definition
' reference.
XSDPackage.getXSDTypeDefinition_BaseType()
XSDSimpleTypeDefinition getSimpleType()
This represents either
the 'Simple Type Definition
' itself or
the complex 'Content Type
' reference,
if it is simple
.
XSDPackage.getXSDTypeDefinition_SimpleType()
XSDParticle getComplexType()
This represents
the complex 'Content Type
' reference,
if it is complex
,
i.e., if it is a 'Particle
'.
XSDPackage.getXSDTypeDefinition_ComplexType()
XSDTypeDefinition getBadTypeDerivation(XSDTypeDefinition xsdTypeDefinition, boolean extension, boolean restriction)
null
if the derivation is valid;
the result is the UR-type
,
if this type is not related to the given type;
otherwise, the result is the base with the blocked derivation method.