|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSDElementDeclaration
A representation of the model object 'Element Declaration'.
The following features are supported:
Nillable
Disallowed Substitutions
Substitution Group Exclusions
Abstract
Lexical Final
Block
Element Declaration Reference
Circular
Annotation
Anonymous Type Definition
Type Definition
Identity Constraint Definitions
Resolved Element Declaration
Substitution Group Affiliation
Substitution Group
XSDPackage.getXSDElementDeclaration()
Method Summary | |
---|---|
XSDAnnotation |
getAnnotation()
Returns the value of the 'Annotation' containment reference |
XSDTypeDefinition |
getAnonymousTypeDefinition()
Returns the value of the 'Anonymous Type Definition' containment reference |
EList<XSDDisallowedSubstitutions> |
getBlock()
Returns the value of the 'Block' attribute list. |
EList<XSDDisallowedSubstitutions> |
getDisallowedSubstitutions()
Returns the value of the 'Disallowed Substitutions' attribute list. |
EList<XSDIdentityConstraintDefinition> |
getIdentityConstraintDefinitions()
Returns the value of the 'Identity Constraint Definitions' containment reference list. |
EList<XSDProhibitedSubstitutions> |
getLexicalFinal()
Returns the value of the 'Lexical Final' attribute list. |
XSDElementDeclaration |
getResolvedElementDeclaration()
Returns the value of the 'Resolved Element Declaration' reference |
java.lang.String |
getStringBlock()
Returns the String value of the ' Block ' attribute list |
java.lang.String |
getStringDisallowedSubstitutions()
Returns the String value of the ' Disallowed Substitutions ' attribute list |
java.lang.String |
getStringLexicalFinal()
Returns the String value of the ' Lexical Final ' attribute list |
java.lang.String |
getStringSubstitutionGroupExclusions()
Returns the value of the 'Substitution Group Exclusions' attribute list |
EList<XSDElementDeclaration> |
getSubstitutionGroup()
Returns the value of the 'Substitution Group' reference list. |
XSDElementDeclaration |
getSubstitutionGroupAffiliation()
Returns the value of the 'Substitution Group Affiliation' reference |
EList<XSDSubstitutionGroupExclusions> |
getSubstitutionGroupExclusions()
Returns the value of the 'Substitution Group Exclusions' attribute list. |
XSDTypeDefinition |
getTypeDefinition()
Returns the value of the 'Type Definition' reference |
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute |
boolean |
isCircular()
Returns the value of the 'Circular' attribute |
boolean |
isElementDeclarationReference()
Returns the value of the 'Element Declaration Reference' attribute |
boolean |
isNillable()
Returns the value of the 'Nillable' attribute |
boolean |
isSetAbstract()
Returns whether the value of the ' Abstract ' attribute is set |
boolean |
isSetBlock()
Returns whether the value of the ' Block ' attribute list is set |
boolean |
isSetLexicalFinal()
Returns whether the value of the ' Lexical Final ' attribute list is set |
boolean |
isSetNillable()
Returns whether the value of the ' Nillable ' attribute is set |
void |
setAbstract(boolean value)
Sets the value of the ' Abstract ' attribute |
void |
setAnnotation(XSDAnnotation value)
Sets the value of the ' Annotation ' containment reference |
void |
setAnonymousTypeDefinition(XSDTypeDefinition value)
Sets the value of the ' Anonymous Type Definition ' containment reference |
void |
setNillable(boolean value)
Sets the value of the ' Nillable ' attribute |
void |
setResolvedElementDeclaration(XSDElementDeclaration value)
Sets the value of the ' Resolved Element Declaration ' reference |
void |
setStringBlock(java.lang.String block)
Set the String value of the ' Block ' attribute list |
void |
setStringLexicalFinal(java.lang.String lexicalFinal)
Sets the String value of the ' Lexical Final ' attribute list |
void |
setSubstitutionGroupAffiliation(XSDElementDeclaration value)
Sets the value of the ' Substitution Group Affiliation ' reference |
void |
setTypeDefinition(XSDTypeDefinition value)
Sets the value of the ' Type Definition ' reference |
void |
unsetAbstract()
Unsets the value of the ' Abstract ' attribute |
void |
unsetBlock()
Unsets the value of the ' Block ' attribute list |
void |
unsetLexicalFinal()
Unsets the value of the ' Lexical Final ' attribute list |
void |
unsetNillable()
Unsets the value of the ' Nillable ' attribute |
Methods inherited from interface org.eclipse.xsd.XSDFeature |
---|
getConstraint, getForm, getLexicalValue, getResolvedFeature, getScope, getType, getValue, isFeatureReference, isGlobal, isSetConstraint, isSetForm, setConstraint, setForm, setLexicalValue, setValue, unsetConstraint, unsetForm |
Methods inherited from interface org.eclipse.xsd.XSDNamedComponent |
---|
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
boolean isNillable()
This represents the nillable infoset property.
isSetNillable()
,
unsetNillable()
,
setNillable(boolean)
,
XSDPackage.getXSDElementDeclaration_Nillable()
void setNillable(boolean value)
Nillable
' attribute.
value
- the new value of the 'Nillable' attribute.isSetNillable()
,
unsetNillable()
,
isNillable()
void unsetNillable()
Nillable
' attribute.
isSetNillable()
,
isNillable()
,
setNillable(boolean)
boolean isSetNillable()
Nillable
' attribute is set.
unsetNillable()
,
isNillable()
,
setNillable(boolean)
EList<XSDDisallowedSubstitutions> getDisallowedSubstitutions()
XSDDisallowedSubstitutions
.
The literals are from the enumeration XSDDisallowedSubstitutions
.
This represents the
dissallowed substitutions
infoset property.
It is computed from the block
and should typically not be modified directly.
getStringDisallowedSubstitutions()
,
XSDDisallowedSubstitutions
,
XSDPackage.getXSDElementDeclaration_DisallowedSubstitutions()
java.lang.String getStringDisallowedSubstitutions()
Disallowed Substitutions
' attribute list.
getDisallowedSubstitutions()
EList<XSDSubstitutionGroupExclusions> getSubstitutionGroupExclusions()
XSDSubstitutionGroupExclusions
.
The literals are from the enumeration XSDSubstitutionGroupExclusions
.
This represents the
substitution group exclusions
infoset property.
It is computed from the final
and should typically not be modified directly.
getStringSubstitutionGroupExclusions()
,
XSDSubstitutionGroupExclusions
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()
java.lang.String getStringSubstitutionGroupExclusions()
getSubstitutionGroupExclusions()
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()
boolean isAbstract()
This represents the abstract infoset property.
isSetAbstract()
,
unsetAbstract()
,
setAbstract(boolean)
,
XSDPackage.getXSDElementDeclaration_Abstract()
void setAbstract(boolean value)
Abstract
' attribute.
value
- the new value of the 'Abstract' attribute.isSetAbstract()
,
unsetAbstract()
,
isAbstract()
void unsetAbstract()
Abstract
' attribute.
isSetAbstract()
,
isAbstract()
,
setAbstract(boolean)
boolean isSetAbstract()
Abstract
' attribute is set.
unsetAbstract()
,
isAbstract()
,
setAbstract(boolean)
EList<XSDProhibitedSubstitutions> getLexicalFinal()
XSDProhibitedSubstitutions
.
The literals are from the enumeration XSDProhibitedSubstitutions
.
This concrete attribute represents the value of the final attribute.
getStringLexicalFinal()
,
setStringLexicalFinal(java.lang.String)
,
XSDProhibitedSubstitutions
,
isSetLexicalFinal()
,
unsetLexicalFinal()
,
XSDPackage.getXSDElementDeclaration_LexicalFinal()
void unsetLexicalFinal()
Lexical Final
' attribute list.
isSetLexicalFinal()
,
getLexicalFinal()
boolean isSetLexicalFinal()
Lexical Final
' attribute list is set.
unsetLexicalFinal()
,
getLexicalFinal()
java.lang.String getStringLexicalFinal()
Lexical Final
' attribute list.
getStringLexicalFinal()
,
setStringLexicalFinal(java.lang.String)
void setStringLexicalFinal(java.lang.String lexicalFinal)
Lexical Final
' attribute list.
lexicalFinal
- the new value of the 'Lexical Final' attribute list.getLexicalFinal()
,
getStringLexicalFinal()
EList<XSDDisallowedSubstitutions> getBlock()
XSDDisallowedSubstitutions
.
The literals are from the enumeration XSDDisallowedSubstitutions
.
This concrete attribute represents the value of the block attribute.
getStringBlock()
,
setStringBlock(java.lang.String)
,
XSDDisallowedSubstitutions
,
isSetBlock()
,
unsetBlock()
,
XSDPackage.getXSDElementDeclaration_Block()
void unsetBlock()
Block
' attribute list.
isSetBlock()
,
getBlock()
boolean isSetBlock()
Block
' attribute list is set.
unsetBlock()
,
getBlock()
java.lang.String getStringBlock()
Block
' attribute list.
getBlock()
,
setStringBlock(java.lang.String)
void setStringBlock(java.lang.String block)
Block
' attribute list.
block
- the new value of the 'Block' attribute list.getBlock()
,
getStringBlock()
boolean isElementDeclarationReference()
This concrete attribute is equivalent to
xsdElementDeclaration != xsdElementDeclaration.getResolvedElementDeclaration
()
An infoset feature will never return an instance for which this is the true
since this is a concrete attribute that is used to represent an element declaration
with a ref attribute.
XSDPackage.getXSDElementDeclaration_ElementDeclarationReference()
boolean isCircular()
This indicates that the element declaration is part of an invalid circular substitution group.
XSDPackage.getXSDElementDeclaration_Circular()
XSDAnnotation getAnnotation()
This represents the annotation infoset property.
setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDElementDeclaration_Annotation()
void setAnnotation(XSDAnnotation value)
Annotation
' containment reference.
value
- the new value of the 'Annotation' containment reference.getAnnotation()
XSDTypeDefinition getAnonymousTypeDefinition()
This concrete reference represents a type definition defined within the body of an element element.
setAnonymousTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_AnonymousTypeDefinition()
void setAnonymousTypeDefinition(XSDTypeDefinition value)
Anonymous Type Definition
' containment reference.
value
- the new value of the 'Anonymous Type Definition' containment reference.getAnonymousTypeDefinition()
XSDTypeDefinition getTypeDefinition()
This represents the type definition infoset property.
setTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_TypeDefinition()
void setTypeDefinition(XSDTypeDefinition value)
Type Definition
' reference.
value
- the new value of the 'Type Definition' reference.getTypeDefinition()
EList<XSDIdentityConstraintDefinition> getIdentityConstraintDefinitions()
XSDIdentityConstraintDefinition
.
This represents the identity constraint definitions infoset property.
XSDPackage.getXSDElementDeclaration_IdentityConstraintDefinitions()
XSDElementDeclaration getResolvedElementDeclaration()
This concrete reference represents the element declaration resolved by the ref attribute.
setResolvedElementDeclaration(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_ResolvedElementDeclaration()
void setResolvedElementDeclaration(XSDElementDeclaration value)
Resolved Element Declaration
' reference.
value
- the new value of the 'Resolved Element Declaration' reference.getResolvedElementDeclaration()
XSDElementDeclaration getSubstitutionGroupAffiliation()
This represents the substitution group affiliation infoset property.
setSubstitutionGroupAffiliation(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupAffiliation()
void setSubstitutionGroupAffiliation(XSDElementDeclaration value)
Substitution Group Affiliation
' reference.
value
- the new value of the 'Substitution Group Affiliation' reference.getSubstitutionGroupAffiliation()
EList<XSDElementDeclaration> getSubstitutionGroup()
XSDElementDeclaration
.
This represents the substitution group infoset property; actually it isn't really an infoset property, but it's certainly needed during validation.
XSDPackage.getXSDElementDeclaration_SubstitutionGroup()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |