Package org.w3._2001.schema
Interface Attribute
- All Known Subinterfaces:
TopLevelAttribute
- All Known Implementing Classes:
AttributeImpl
,TopLevelAttributeImpl
A representation of the model object 'Attribute'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Default' attribute.getFixed()
Returns the value of the 'Fixed' attribute.getForm()
Returns the value of the 'Form' attribute.getName()
Returns the value of the 'Name' attribute.getRef()
Returns the value of the 'Ref' attribute.Returns the value of the 'Simple Type' containment reference.getType()
Returns the value of the 'Type' attribute.getUse()
Returns the value of the 'Use' attribute.boolean
Returns whether the value of the 'Form
' attribute is set.boolean
isSetUse()
Returns whether the value of the 'Use
' attribute is set.void
setDefault
(String value) Sets the value of the 'Default
' attribute.void
Sets the value of the 'Fixed
' attribute.void
setForm
(FormChoice value) Sets the value of the 'Form
' attribute.void
Sets the value of the 'Name
' attribute.void
Sets the value of the 'Ref
' attribute.void
setSimpleType
(LocalSimpleType value) Sets the value of the 'Simple Type
' containment reference.void
Sets the value of the 'Type
' attribute.void
Sets the value of the 'Use
' attribute.void
Unsets the value of the 'Form
' attribute.void
unsetUse()
Unsets the value of the 'Use
' 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 Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface OpenAttrs
getAnyAttribute
-
Method Details
-
getSimpleType
LocalSimpleType getSimpleType()Returns the value of the 'Simple Type' containment reference.- Returns:
- the value of the 'Simple Type' containment reference.
- See Also:
-
setSimpleType
Sets the value of the 'Simple Type
' containment reference.- Parameters:
value
- the new value of the 'Simple Type' containment reference.- See Also:
-
getDefault
String getDefault()Returns the value of the 'Default' attribute.- Returns:
- the value of the 'Default' attribute.
- See Also:
-
setDefault
Sets the value of the 'Default
' attribute.- Parameters:
value
- the new value of the 'Default' attribute.- See Also:
-
getFixed
String getFixed()Returns the value of the 'Fixed' attribute.- Returns:
- the value of the 'Fixed' attribute.
- See Also:
-
setFixed
Sets the value of the 'Fixed
' attribute.- Parameters:
value
- the new value of the 'Fixed' attribute.- See Also:
-
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:
-
setForm
Sets the value of the 'Form
' attribute.- Parameters:
value
- the new value of the 'Form' attribute.- See Also:
-
unsetForm
void unsetForm()Unsets the value of the 'Form
' attribute.- See Also:
-
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:
-
getName
String getName()Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getRef
QName getRef()Returns the value of the 'Ref' attribute.- Returns:
- the value of the 'Ref' attribute.
- See Also:
-
setRef
Sets the value of the 'Ref
' attribute.- Parameters:
value
- the new value of the 'Ref' attribute.- See Also:
-
getType
QName getType()Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
-
setType
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
-
getUse
UseType getUse()Returns the value of the 'Use' attribute. The default value is"optional"
. The literals are from the enumerationUseType
.- Returns:
- the value of the 'Use' attribute.
- See Also:
-
setUse
Sets the value of the 'Use
' attribute.- Parameters:
value
- the new value of the 'Use' attribute.- See Also:
-
unsetUse
void unsetUse()Unsets the value of the 'Use
' attribute.- See Also:
-
isSetUse
boolean isSetUse()Returns whether the value of the 'Use
' attribute is set.- Returns:
- whether the value of the 'Use' attribute is set.
- See Also:
-