|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
getBlock()
Returns the value of the 'Block' attribute list. |
EList |
getDisallowedSubstitutions()
Returns the value of the 'Disallowed Substitutions' attribute list. |
EList |
getIdentityConstraintDefinitions()
Returns the value of the 'Identity Constraint Definitions' containment reference list. |
EList |
getLexicalFinal()
Returns the value of the 'Lexical Final' attribute list. |
XSDElementDeclaration |
getResolvedElementDeclaration()
Returns the value of the 'Resolved Element Declaration' reference |
String |
getStringBlock()
Returns the String value of the ' Block ' attribute list |
String |
getStringDisallowedSubstitutions()
Returns the String value of the ' Disallowed Substitutions ' attribute list |
String |
getStringLexicalFinal()
Returns the String value of the ' Lexical Final ' attribute list |
String |
getStringSubstitutionGroupExclusions()
Returns the value of the 'Substitution Group Exclusions' attribute list |
EList |
getSubstitutionGroup()
Returns the value of the 'Substitution Group' reference list. |
XSDElementDeclaration |
getSubstitutionGroupAffiliation()
Returns the value of the 'Substitution Group Affiliation' reference |
EList |
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(String block)
Set the String value of the ' Block ' attribute list |
void |
setStringLexicalFinal(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 |
public boolean isNillable()
This represents the nillable infoset property.
isSetNillable()
,
unsetNillable()
,
setNillable(boolean)
,
XSDPackage.getXSDElementDeclaration_Nillable()
public void setNillable(boolean value)
Nillable
' attribute.
value
- the new value of the 'Nillable' attribute.isSetNillable()
,
unsetNillable()
,
isNillable()
public void unsetNillable()
Nillable
' attribute.
isSetNillable()
,
isNillable()
,
setNillable(boolean)
public boolean isSetNillable()
Nillable
' attribute is set.
unsetNillable()
,
isNillable()
,
setNillable(boolean)
public EList 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()
public String getStringDisallowedSubstitutions()
Disallowed Substitutions
' attribute list.
getDisallowedSubstitutions()
public EList 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()
public String getStringSubstitutionGroupExclusions()
getSubstitutionGroupExclusions()
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupExclusions()
public boolean isAbstract()
This represents the abstract infoset property.
isSetAbstract()
,
unsetAbstract()
,
setAbstract(boolean)
,
XSDPackage.getXSDElementDeclaration_Abstract()
public void setAbstract(boolean value)
Abstract
' attribute.
value
- the new value of the 'Abstract' attribute.isSetAbstract()
,
unsetAbstract()
,
isAbstract()
public void unsetAbstract()
Abstract
' attribute.
isSetAbstract()
,
isAbstract()
,
setAbstract(boolean)
public boolean isSetAbstract()
Abstract
' attribute is set.
unsetAbstract()
,
isAbstract()
,
setAbstract(boolean)
public EList 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()
public void unsetLexicalFinal()
Lexical Final
' attribute list.
isSetLexicalFinal()
,
getLexicalFinal()
public boolean isSetLexicalFinal()
Lexical Final
' attribute list is set.
unsetLexicalFinal()
,
getLexicalFinal()
public String getStringLexicalFinal()
Lexical Final
' attribute list.
getStringLexicalFinal()
,
setStringLexicalFinal(java.lang.String)
public void setStringLexicalFinal(String lexicalFinal)
Lexical Final
' attribute list.
lexicalFinal
- the new value of the 'Lexical Final' attribute list.getLexicalFinal()
,
getStringLexicalFinal()
public EList 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()
public void unsetBlock()
Block
' attribute list.
isSetBlock()
,
getBlock()
public boolean isSetBlock()
Block
' attribute list is set.
unsetBlock()
,
getBlock()
public String getStringBlock()
Block
' attribute list.
getBlock()
,
setStringBlock(java.lang.String)
public void setStringBlock(String block)
Block
' attribute list.
block
- the new value of the 'Block' attribute list.getBlock()
,
getStringBlock()
public 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()
public boolean isCircular()
This indicates that the element declaration is part of an invalid circular substitution group.
XSDPackage.getXSDElementDeclaration_Circular()
public XSDAnnotation getAnnotation()
This represents the annotation infoset property.
setAnnotation(XSDAnnotation)
,
XSDPackage.getXSDElementDeclaration_Annotation()
public void setAnnotation(XSDAnnotation value)
Annotation
' containment reference.
value
- the new value of the 'Annotation' containment reference.getAnnotation()
public XSDTypeDefinition getAnonymousTypeDefinition()
This concrete reference represents a type definition defined within the body of an element element.
setAnonymousTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_AnonymousTypeDefinition()
public void setAnonymousTypeDefinition(XSDTypeDefinition value)
Anonymous Type Definition
' containment reference.
value
- the new value of the 'Anonymous Type Definition' containment reference.getAnonymousTypeDefinition()
public XSDTypeDefinition getTypeDefinition()
This represents the type definition infoset property.
setTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDElementDeclaration_TypeDefinition()
public void setTypeDefinition(XSDTypeDefinition value)
Type Definition
' reference.
value
- the new value of the 'Type Definition' reference.getTypeDefinition()
public EList getIdentityConstraintDefinitions()
XSDIdentityConstraintDefinition
.
This represents the identity constraint definitions infoset property.
XSDPackage.getXSDElementDeclaration_IdentityConstraintDefinitions()
public XSDElementDeclaration getResolvedElementDeclaration()
This concrete reference represents the element declaration resolved by the ref attribute.
setResolvedElementDeclaration(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_ResolvedElementDeclaration()
public void setResolvedElementDeclaration(XSDElementDeclaration value)
Resolved Element Declaration
' reference.
value
- the new value of the 'Resolved Element Declaration' reference.getResolvedElementDeclaration()
public XSDElementDeclaration getSubstitutionGroupAffiliation()
This represents the substitution group affiliation infoset property.
setSubstitutionGroupAffiliation(XSDElementDeclaration)
,
XSDPackage.getXSDElementDeclaration_SubstitutionGroupAffiliation()
public void setSubstitutionGroupAffiliation(XSDElementDeclaration value)
Substitution Group Affiliation
' reference.
value
- the new value of the 'Substitution Group Affiliation' reference.getSubstitutionGroupAffiliation()
public EList 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 |