|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Complex Type Definition'.
The following features are supported:
Derivation Method
Final
Abstract
Content Type Category
Prohibited Substitutions
Lexical Final
Block
Mixed
Content Annotation
Base Type Definition
Content
Content Type
Attribute Uses
Attribute Contents
Attribute Wildcard
Attribute Wildcard Content
Root Type Definition
Synthetic Particle
Synthetic Wildcard
XSDPackage.getXSDComplexTypeDefinition()
Method Summary | |
EList |
getAttributeContents()
Returns the value of the 'Attribute Contents' containment reference list. |
EList |
getAttributeUses()
Returns the value of the 'Attribute Uses' reference list. |
XSDWildcard |
getAttributeWildcard()
Returns the value of the 'Attribute Wildcard' reference |
XSDWildcard |
getAttributeWildcardContent()
Returns the value of the 'Attribute Wildcard Content' containment reference |
XSDTypeDefinition |
getBaseTypeDefinition()
Returns the value of the 'Base Type Definition' reference |
EList |
getBlock()
Returns the value of the 'Block' attribute list. |
XSDComplexTypeContent |
getContent()
Returns the value of the 'Content' containment reference |
XSDAnnotation |
getContentAnnotation()
Returns the value of the 'Content Annotation' containment reference |
XSDComplexTypeContent |
getContentType()
Returns the value of the 'Content Type' reference |
XSDContentTypeCategory |
getContentTypeCategory()
Returns the value of the 'Content Type Category' attribute. |
XSDDerivationMethod |
getDerivationMethod()
Returns the value of the 'Derivation Method' attribute. |
EList |
getFinal()
Returns the value of the 'Final' attribute list. |
EList |
getLexicalFinal()
Returns the value of the 'Lexical Final' attribute list. |
EList |
getProhibitedSubstitutions()
Returns the value of the 'Prohibited Substitutions' attribute list. |
XSDTypeDefinition |
getRootTypeDefinition()
Returns the value of the 'Root Type Definition' reference |
String |
getStringBlock()
Returns the String value of the ' Block ' attribute list |
String |
getStringFinal()
Returns the String value of the ' Final ' attribute list |
String |
getStringLexicalFinal()
Returns the String value of the ' Lexical Final ' attribute list |
String |
getStringProhibitedSubstitutions()
Returns the String value of the ' Prohibited Substitutions ' attribute list |
XSDParticle |
getSyntheticParticle()
Returns the value of the 'Synthetic Particle' containment reference |
XSDWildcard |
getSyntheticWildcard()
Returns the value of the 'Synthetic Wildcard' containment reference |
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute |
boolean |
isMixed()
Returns the value of the 'Mixed' 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 |
isSetDerivationMethod()
Returns whether the value of the ' Derivation Method ' attribute is set |
boolean |
isSetLexicalFinal()
Returns whether the value of the ' Lexical Final ' attribute list is set |
boolean |
isSetMixed()
Returns whether the value of the ' Mixed ' attribute is set |
void |
setAbstract(boolean value)
Sets the value of the ' Abstract ' attribute |
void |
setAttributeWildcard(XSDWildcard value)
Sets the value of the ' Attribute Wildcard ' reference |
void |
setAttributeWildcardContent(XSDWildcard value)
Sets the value of the ' Attribute Wildcard Content ' containment reference |
void |
setBaseTypeDefinition(XSDTypeDefinition value)
Sets the value of the ' Base Type Definition ' reference |
void |
setContent(XSDComplexTypeContent value)
Sets the value of the ' Content ' containment reference |
void |
setContentAnnotation(XSDAnnotation value)
Sets the value of the ' Content Annotation ' containment reference |
void |
setContentType(XSDComplexTypeContent value)
Sets the value of the ' Content Type ' reference |
void |
setContentTypeCategory(XSDContentTypeCategory value)
Sets the value of the ' Content Type Category ' attribute |
void |
setDerivationMethod(XSDDerivationMethod value)
Sets the value of the ' Derivation Method ' attribute |
void |
setMixed(boolean value)
Sets the value of the ' Mixed ' attribute |
void |
setStringBlock(String block)
Sets the String value of the ' Block ' attribute |
void |
setStringLexicalFinal(String lexicalFinal)
Sets the String value of the ' Lexical Final ' attribute |
void |
setSyntheticParticle(XSDParticle value)
Sets the value of the ' Synthetic Particle ' containment reference |
void |
setSyntheticWildcard(XSDWildcard value)
Sets the value of the ' Synthetic Wildcard ' containment reference |
void |
unsetAbstract()
Unsets the value of the ' Abstract ' attribute |
void |
unsetBlock()
Unsets the value of the ' Block ' attribute list |
void |
unsetDerivationMethod()
Unsets the value of the ' Derivation Method ' attribute |
void |
unsetLexicalFinal()
Unsets the value of the ' Lexical Final ' attribute list |
void |
unsetMixed()
Unsets the value of the ' Mixed ' attribute |
Methods inherited from interface org.eclipse.xsd.XSDTypeDefinition |
getAnnotation, getAnnotations, getBadTypeDerivation, getBaseType, getComplexType, getDerivationAnnotation, getRootType, getSimpleType, setAnnotation, setDerivationAnnotation |
Methods inherited from interface org.eclipse.xsd.XSDRedefinableComponent |
isCircular |
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 XSDDerivationMethod getDerivationMethod()
"restriction"
.
The literals are from the enumeration XSDDerivationMethod
.
This represents the derivation method infoset property.
XSDDerivationMethod
,
isSetDerivationMethod()
,
unsetDerivationMethod()
,
setDerivationMethod(XSDDerivationMethod)
,
XSDPackage.getXSDComplexTypeDefinition_DerivationMethod()
public void setDerivationMethod(XSDDerivationMethod value)
Derivation Method
' attribute.
value
- the new value of the 'Derivation Method' attribute.XSDDerivationMethod
,
isSetDerivationMethod()
,
unsetDerivationMethod()
,
getDerivationMethod()
public void unsetDerivationMethod()
Derivation Method
' attribute.
isSetDerivationMethod()
,
getDerivationMethod()
,
setDerivationMethod(XSDDerivationMethod)
public boolean isSetDerivationMethod()
Derivation Method
' attribute is set.
unsetDerivationMethod()
,
getDerivationMethod()
,
setDerivationMethod(XSDDerivationMethod)
public EList getFinal()
XSDComplexFinal
.
The literals are from the enumeration XSDComplexFinal
.
This represents the
final
infoset property.
It is computed from the lexical final
and should typically not be modified directly.
getStringFinal()
,
XSDComplexFinal
,
XSDPackage.getXSDComplexTypeDefinition_Final()
public String getStringFinal()
Final
' attribute list.
getFinal()
public boolean isAbstract()
This represents the abstract infoset property.
isSetAbstract()
,
unsetAbstract()
,
setAbstract(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_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 XSDContentTypeCategory getContentTypeCategory()
XSDContentTypeCategory
.
This represents the category of the
content type
infoset property.
It is computed from the type of the content
and from the setting of mixed
and should typically not be modified directly.
XSDContentTypeCategory
,
setContentTypeCategory(XSDContentTypeCategory)
,
XSDPackage.getXSDComplexTypeDefinition_ContentTypeCategory()
public void setContentTypeCategory(XSDContentTypeCategory value)
Content Type Category
' attribute.
value
- the new value of the 'Content Type Category' attribute.XSDContentTypeCategory
,
getContentTypeCategory()
public EList getProhibitedSubstitutions()
XSDProhibitedSubstitutions
.
The literals are from the enumeration XSDProhibitedSubstitutions
.
This represents the
prohibited substitutions
infoset property.
It is computed from the block
and should typically not be modified directly.
getStringProhibitedSubstitutions()
,
XSDProhibitedSubstitutions
,
XSDPackage.getXSDComplexTypeDefinition_ProhibitedSubstitutions()
public String getStringProhibitedSubstitutions()
Prohibited Substitutions
' attribute list.
getProhibitedSubstitutions()
public EList getLexicalFinal()
XSDComplexFinal
.
The literals are from the enumeration XSDComplexFinal
.
This concrete attribute represents the value of the final attribute.
getStringLexicalFinal()
,
setStringLexicalFinal(java.lang.String)
,
XSDComplexFinal
,
isSetLexicalFinal()
,
unsetLexicalFinal()
,
XSDPackage.getXSDComplexTypeDefinition_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.
getLexicalFinal()
,
setStringLexicalFinal(java.lang.String)
public void setStringLexicalFinal(String lexicalFinal)
Lexical Final
' attribute.
lexicalFinal
- the new value of the 'Lexical Final' attribute.getLexicalFinal()
,
getStringLexicalFinal()
public EList getBlock()
XSDProhibitedSubstitutions
.
The literals are from the enumeration XSDProhibitedSubstitutions
.
This concrete attribute represents the value of the block attribute.
getStringBlock()
,
setStringBlock(java.lang.String)
,
XSDProhibitedSubstitutions
,
isSetBlock()
,
unsetBlock()
,
XSDPackage.getXSDComplexTypeDefinition_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.
block
- the new value of the 'Block' attribute.getBlock()
,
getStringBlock()
public boolean isMixed()
This concrete attribute represents the value of the mixed attribute.
isSetMixed()
,
unsetMixed()
,
setMixed(boolean)
,
XSDPackage.getXSDComplexTypeDefinition_Mixed()
public void setMixed(boolean value)
Mixed
' attribute.
value
- the new value of the 'Mixed' attribute.isSetMixed()
,
unsetMixed()
,
isMixed()
public void unsetMixed()
Mixed
' attribute.
isSetMixed()
,
isMixed()
,
setMixed(boolean)
public boolean isSetMixed()
Mixed
' attribute is set.
unsetMixed()
,
isMixed()
,
setMixed(boolean)
public XSDAnnotation getContentAnnotation()
This concrete reference represents the annotation content of a complexContent element or a simpleContent element.
setContentAnnotation(XSDAnnotation)
,
XSDPackage.getXSDComplexTypeDefinition_ContentAnnotation()
public void setContentAnnotation(XSDAnnotation value)
Content Annotation
' containment reference.
value
- the new value of the 'Content Annotation' containment reference.getContentAnnotation()
public XSDTypeDefinition getBaseTypeDefinition()
This represents the base type definition infoset property.
setBaseTypeDefinition(XSDTypeDefinition)
,
XSDPackage.getXSDComplexTypeDefinition_BaseTypeDefinition()
public void setBaseTypeDefinition(XSDTypeDefinition value)
Base Type Definition
' reference.
value
- the new value of the 'Base Type Definition' reference.getBaseTypeDefinition()
public XSDComplexTypeContent getContent()
This concrete reference represents the simple type content or particle content of a
complexType element.
It will be null
, an XSDSimpleTypeDefinition
, or an XSDParticle
.
setContent(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_Content()
public void setContent(XSDComplexTypeContent value)
Content
' containment reference.
value
- the new value of the 'Content' containment reference.getContent()
public XSDComplexTypeContent getContentType()
This represents the value of the
content type
infoset property.
It is computed from the content
and should typically not be modified directly.
It will be null
, an XSDSimpleTypeDefinition
, or an XSDParticle
.
setContentType(XSDComplexTypeContent)
,
XSDPackage.getXSDComplexTypeDefinition_ContentType()
public void setContentType(XSDComplexTypeContent value)
Content Type
' reference.
value
- the new value of the 'Content Type' reference.getContentType()
public EList getAttributeUses()
XSDAttributeUse
.
This represents the
attribute uses
infoset property.
It is computed from the attribute contents
and should typically not be set directly.
XSDPackage.getXSDComplexTypeDefinition_AttributeUses()
public EList getAttributeContents()
XSDAttributeGroupContent
.
This concrete reference represents the attribute contents defined within the body of a complexType element.
XSDPackage.getXSDComplexTypeDefinition_AttributeContents()
public XSDWildcard getAttributeWildcard()
This represents the
attribute wildcard
infoset property.
It is computed from the attribute wildcard content
and should typically not be set directly.
setAttributeWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcard()
public void setAttributeWildcard(XSDWildcard value)
Attribute Wildcard
' reference.
value
- the new value of the 'Attribute Wildcard' reference.getAttributeWildcard()
public XSDWildcard getAttributeWildcardContent()
This concrete reference represents the attribute wildcard defined within the body of an complexType element.
setAttributeWildcardContent(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_AttributeWildcardContent()
public void setAttributeWildcardContent(XSDWildcard value)
Attribute Wildcard Content
' containment reference.
value
- the new value of the 'Attribute Wildcard Content' containment reference.getAttributeWildcardContent()
public XSDTypeDefinition getRootTypeDefinition()
This walks the base type definitions
until it hits that one that has the ur-type definition as it's base type definition.
XSDPackage.getXSDComplexTypeDefinition_RootTypeDefinition()
public XSDParticle getSyntheticParticle()
This represents the value of the content type infoset property, if the rules require a synthesized particle, i.e., if the complex type is a non-empty extension of a non-empty complex base.
setSyntheticParticle(XSDParticle)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticParticle()
public void setSyntheticParticle(XSDParticle value)
Synthetic Particle
' containment reference.
value
- the new value of the 'Synthetic Particle' containment reference.getSyntheticParticle()
public XSDWildcard getSyntheticWildcard()
This represents the attribute wildcard infoset property, if the rules require a synthesized wildcard.
setSyntheticWildcard(XSDWildcard)
,
XSDPackage.getXSDComplexTypeDefinition_SyntheticWildcard()
public void setSyntheticWildcard(XSDWildcard value)
Synthetic Wildcard
' containment reference.
value
- the new value of the 'Synthetic Wildcard' containment reference.getSyntheticWildcard()
|
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 |