Package org.w3._2001.schema
Interface Element
-
- All Known Subinterfaces:
LocalElement
,NarrowMaxMin
,TopLevelElement
- All Known Implementing Classes:
ElementImpl
,LocalElementImpl
,NarrowMaxMinImpl
,TopLevelElementImpl
public interface Element extends Annotated
A representation of the model object 'Element'. The element element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. The ref form is not allowed at the top level.The following features are supported:
- See Also:
SchemaPackage.getElement()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getBlock()
Returns the value of the 'Block' attribute.LocalComplexType
getComplexType()
Returns the value of the 'Complex Type' containment reference.String
getDefault()
Returns the value of the 'Default' attribute.Object
getFinal()
Returns the value of the 'Final' attribute.String
getFixed()
Returns the value of the 'Fixed' attribute.FormChoice
getForm()
Returns the value of the 'Form' attribute.FeatureMap
getIdentityConstraint()
Returns the value of the 'Identity Constraint' attribute list.EList<Keybase>
getKey()
Returns the value of the 'Key' containment reference list.EList<KeyrefType>
getKeyref()
Returns the value of the 'Keyref' containment reference list.Object
getMaxOccurs()
Returns the value of the 'Max Occurs' attribute.BigInteger
getMinOccurs()
Returns the value of the 'Min Occurs' attribute.String
getName()
Returns the value of the 'Name' attribute.QName
getRef()
Returns the value of the 'Ref' attribute.LocalSimpleType
getSimpleType()
Returns the value of the 'Simple Type' containment reference.QName
getSubstitutionGroup()
Returns the value of the 'Substitution Group' attribute.QName
getType()
Returns the value of the 'Type' attribute.EList<Keybase>
getUnique()
Returns the value of the 'Unique' containment reference list.boolean
isAbstract()
Returns the value of the 'Abstract' attribute.boolean
isNillable()
Returns the value of the 'Nillable' attribute.boolean
isSetAbstract()
Returns whether the value of the 'Abstract
' attribute is set.boolean
isSetForm()
Returns whether the value of the 'Form
' attribute is set.boolean
isSetMaxOccurs()
Returns whether the value of the 'Max Occurs
' attribute is set.boolean
isSetMinOccurs()
Returns whether the value of the 'Min Occurs
' attribute 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
setBlock(Object value)
Sets the value of the 'Block
' attribute.void
setComplexType(LocalComplexType value)
Sets the value of the 'Complex Type
' containment reference.void
setDefault(String value)
Sets the value of the 'Default
' attribute.void
setFinal(Object value)
Sets the value of the 'Final
' attribute.void
setFixed(String value)
Sets the value of the 'Fixed
' attribute.void
setForm(FormChoice value)
Sets the value of the 'Form
' attribute.void
setMaxOccurs(Object value)
Sets the value of the 'Max Occurs
' attribute.void
setMinOccurs(BigInteger value)
Sets the value of the 'Min Occurs
' attribute.void
setName(String value)
Sets the value of the 'Name
' attribute.void
setNillable(boolean value)
Sets the value of the 'Nillable
' attribute.void
setRef(QName value)
Sets the value of the 'Ref
' attribute.void
setSimpleType(LocalSimpleType value)
Sets the value of the 'Simple Type
' containment reference.void
setSubstitutionGroup(QName value)
Sets the value of the 'Substitution Group
' attribute.void
setType(QName value)
Sets the value of the 'Type
' attribute.void
unsetAbstract()
Unsets the value of the 'Abstract
' attribute.void
unsetForm()
Unsets the value of the 'Form
' attribute.void
unsetMaxOccurs()
Unsets the value of the 'Max Occurs
' attribute.void
unsetMinOccurs()
Unsets the value of the 'Min Occurs
' attribute.void
unsetNillable()
Unsets the value of the 'Nillable
' attribute.-
Methods inherited from interface Annotated
getAnnotation, getId, setAnnotation, setId
-
Methods inherited from interface EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface OpenAttrs
getAnyAttribute
-
-
-
-
Method Detail
-
getSimpleType
LocalSimpleType getSimpleType()
Returns the value of the 'Simple Type' containment reference.- Returns:
- the value of the 'Simple Type' containment reference.
- See Also:
setSimpleType(LocalSimpleType)
,SchemaPackage.getElement_SimpleType()
-
setSimpleType
void setSimpleType(LocalSimpleType value)
Sets the value of the 'Simple Type
' containment reference.- Parameters:
value
- the new value of the 'Simple Type' containment reference.- See Also:
getSimpleType()
-
getComplexType
LocalComplexType getComplexType()
Returns the value of the 'Complex Type' containment reference.- Returns:
- the value of the 'Complex Type' containment reference.
- See Also:
setComplexType(LocalComplexType)
,SchemaPackage.getElement_ComplexType()
-
setComplexType
void setComplexType(LocalComplexType value)
Sets the value of the 'Complex Type
' containment reference.- Parameters:
value
- the new value of the 'Complex Type' containment reference.- See Also:
getComplexType()
-
getIdentityConstraint
FeatureMap getIdentityConstraint()
Returns the value of the 'Identity Constraint' attribute list. The list contents are of typeFeatureMap.Entry
.- Returns:
- the value of the 'Identity Constraint' attribute list.
- See Also:
SchemaPackage.getElement_IdentityConstraint()
-
getUnique
EList<Keybase> getUnique()
Returns the value of the 'Unique' containment reference list. The list contents are of typeKeybase
.- Returns:
- the value of the 'Unique' containment reference list.
- See Also:
SchemaPackage.getElement_Unique()
-
getKey
EList<Keybase> getKey()
Returns the value of the 'Key' containment reference list. The list contents are of typeKeybase
.- Returns:
- the value of the 'Key' containment reference list.
- See Also:
SchemaPackage.getElement_Key()
-
getKeyref
EList<KeyrefType> getKeyref()
Returns the value of the 'Keyref' containment reference list. The list contents are of typeKeyrefType
.- Returns:
- the value of the 'Keyref' containment reference list.
- See Also:
SchemaPackage.getElement_Keyref()
-
isAbstract
boolean isAbstract()
Returns the value of the 'Abstract' attribute. The default value is"false"
.- Returns:
- the value of the 'Abstract' attribute.
- See Also:
isSetAbstract()
,unsetAbstract()
,setAbstract(boolean)
,SchemaPackage.getElement_Abstract()
-
setAbstract
void setAbstract(boolean value)
Sets the value of the 'Abstract
' attribute.- Parameters:
value
- the new value of the 'Abstract' attribute.- See Also:
isSetAbstract()
,unsetAbstract()
,isAbstract()
-
unsetAbstract
void unsetAbstract()
Unsets the value of the 'Abstract
' attribute.- See Also:
isSetAbstract()
,isAbstract()
,setAbstract(boolean)
-
isSetAbstract
boolean isSetAbstract()
Returns whether the value of the 'Abstract
' attribute is set.- Returns:
- whether the value of the 'Abstract' attribute is set.
- See Also:
unsetAbstract()
,isAbstract()
,setAbstract(boolean)
-
getBlock
Object getBlock()
Returns the value of the 'Block' attribute.- Returns:
- the value of the 'Block' attribute.
- See Also:
setBlock(Object)
,SchemaPackage.getElement_Block()
-
setBlock
void setBlock(Object value)
Sets the value of the 'Block
' attribute.- Parameters:
value
- the new value of the 'Block' attribute.- See Also:
getBlock()
-
getDefault
String getDefault()
Returns the value of the 'Default' attribute.- Returns:
- the value of the 'Default' attribute.
- See Also:
setDefault(String)
,SchemaPackage.getElement_Default()
-
setDefault
void setDefault(String value)
Sets the value of the 'Default
' attribute.- Parameters:
value
- the new value of the 'Default' attribute.- See Also:
getDefault()
-
getFinal
Object getFinal()
Returns the value of the 'Final' attribute.- Returns:
- the value of the 'Final' attribute.
- See Also:
setFinal(Object)
,SchemaPackage.getElement_Final()
-
setFinal
void setFinal(Object value)
Sets the value of the 'Final
' attribute.- Parameters:
value
- the new value of the 'Final' attribute.- See Also:
getFinal()
-
getFixed
String getFixed()
Returns the value of the 'Fixed' attribute.- Returns:
- the value of the 'Fixed' attribute.
- See Also:
setFixed(String)
,SchemaPackage.getElement_Fixed()
-
setFixed
void setFixed(String value)
Sets the value of the 'Fixed
' attribute.- Parameters:
value
- the new value of the 'Fixed' attribute.- See Also:
getFixed()
-
getForm
FormChoice getForm()
Returns the value of the 'Form' attribute. The literals are from the enumerationFormChoice
.- Returns:
- the value of the 'Form' attribute.
- See Also:
FormChoice
,isSetForm()
,unsetForm()
,setForm(FormChoice)
,SchemaPackage.getElement_Form()
-
setForm
void setForm(FormChoice value)
Sets the value of the 'Form
' attribute.- Parameters:
value
- the new value of the 'Form' attribute.- See Also:
FormChoice
,isSetForm()
,unsetForm()
,getForm()
-
unsetForm
void unsetForm()
Unsets the value of the 'Form
' attribute.- See Also:
isSetForm()
,getForm()
,setForm(FormChoice)
-
isSetForm
boolean isSetForm()
Returns whether the value of the 'Form
' attribute is set.- Returns:
- whether the value of the 'Form' attribute is set.
- See Also:
unsetForm()
,getForm()
,setForm(FormChoice)
-
getMaxOccurs
Object getMaxOccurs()
Returns the value of the 'Max Occurs' attribute. The default value is"1"
.- Returns:
- the value of the 'Max Occurs' attribute.
- See Also:
isSetMaxOccurs()
,unsetMaxOccurs()
,setMaxOccurs(Object)
,SchemaPackage.getElement_MaxOccurs()
-
setMaxOccurs
void setMaxOccurs(Object value)
Sets the value of the 'Max Occurs
' attribute.- Parameters:
value
- the new value of the 'Max Occurs' attribute.- See Also:
isSetMaxOccurs()
,unsetMaxOccurs()
,getMaxOccurs()
-
unsetMaxOccurs
void unsetMaxOccurs()
Unsets the value of the 'Max Occurs
' attribute.- See Also:
isSetMaxOccurs()
,getMaxOccurs()
,setMaxOccurs(Object)
-
isSetMaxOccurs
boolean isSetMaxOccurs()
Returns whether the value of the 'Max Occurs
' attribute is set.- Returns:
- whether the value of the 'Max Occurs' attribute is set.
- See Also:
unsetMaxOccurs()
,getMaxOccurs()
,setMaxOccurs(Object)
-
getMinOccurs
BigInteger getMinOccurs()
Returns the value of the 'Min Occurs' attribute. The default value is"1"
.- Returns:
- the value of the 'Min Occurs' attribute.
- See Also:
isSetMinOccurs()
,unsetMinOccurs()
,setMinOccurs(BigInteger)
,SchemaPackage.getElement_MinOccurs()
-
setMinOccurs
void setMinOccurs(BigInteger value)
Sets the value of the 'Min Occurs
' attribute.- Parameters:
value
- the new value of the 'Min Occurs' attribute.- See Also:
isSetMinOccurs()
,unsetMinOccurs()
,getMinOccurs()
-
unsetMinOccurs
void unsetMinOccurs()
Unsets the value of the 'Min Occurs
' attribute.- See Also:
isSetMinOccurs()
,getMinOccurs()
,setMinOccurs(BigInteger)
-
isSetMinOccurs
boolean isSetMinOccurs()
Returns whether the value of the 'Min Occurs
' attribute is set.- Returns:
- whether the value of the 'Min Occurs' attribute is set.
- See Also:
unsetMinOccurs()
,getMinOccurs()
,setMinOccurs(BigInteger)
-
getName
String getName()
Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,SchemaPackage.getElement_Name()
-
setName
void setName(String value)
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
getName()
-
isNillable
boolean isNillable()
Returns the value of the 'Nillable' attribute. The default value is"false"
.- Returns:
- the value of the 'Nillable' attribute.
- See Also:
isSetNillable()
,unsetNillable()
,setNillable(boolean)
,SchemaPackage.getElement_Nillable()
-
setNillable
void setNillable(boolean value)
Sets the value of the 'Nillable
' attribute.- Parameters:
value
- the new value of the 'Nillable' attribute.- See Also:
isSetNillable()
,unsetNillable()
,isNillable()
-
unsetNillable
void unsetNillable()
Unsets the value of the 'Nillable
' attribute.- See Also:
isSetNillable()
,isNillable()
,setNillable(boolean)
-
isSetNillable
boolean isSetNillable()
Returns whether the value of the 'Nillable
' attribute is set.- Returns:
- whether the value of the 'Nillable' attribute is set.
- See Also:
unsetNillable()
,isNillable()
,setNillable(boolean)
-
getRef
QName getRef()
Returns the value of the 'Ref' attribute.- Returns:
- the value of the 'Ref' attribute.
- See Also:
setRef(QName)
,SchemaPackage.getElement_Ref()
-
setRef
void setRef(QName value)
Sets the value of the 'Ref
' attribute.- Parameters:
value
- the new value of the 'Ref' attribute.- See Also:
getRef()
-
getSubstitutionGroup
QName getSubstitutionGroup()
Returns the value of the 'Substitution Group' attribute.- Returns:
- the value of the 'Substitution Group' attribute.
- See Also:
setSubstitutionGroup(QName)
,SchemaPackage.getElement_SubstitutionGroup()
-
setSubstitutionGroup
void setSubstitutionGroup(QName value)
Sets the value of the 'Substitution Group
' attribute.- Parameters:
value
- the new value of the 'Substitution Group' attribute.- See Also:
getSubstitutionGroup()
-
getType
QName getType()
Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
setType(QName)
,SchemaPackage.getElement_Type()
-
-