Package org.w3._2001.schema
Interface Attribute
-
- All Known Subinterfaces:
TopLevelAttribute
- All Known Implementing Classes:
AttributeImpl
,TopLevelAttributeImpl
public interface Attribute extends Annotated
A representation of the model object 'Attribute'.The following features are supported:
- See Also:
SchemaPackage.getAttribute()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDefault()
Returns the value of the 'Default' attribute.String
getFixed()
Returns the value of the 'Fixed' attribute.FormChoice
getForm()
Returns the value of the 'Form' 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
getType()
Returns the value of the 'Type' attribute.UseType
getUse()
Returns the value of the 'Use' attribute.boolean
isSetForm()
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
setFixed(String value)
Sets the value of the 'Fixed
' attribute.void
setForm(FormChoice value)
Sets the value of the 'Form
' attribute.void
setName(String value)
Sets the value of the 'Name
' 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
setType(QName value)
Sets the value of the 'Type
' attribute.void
setUse(UseType value)
Sets the value of the 'Use
' attribute.void
unsetForm()
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 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.getAttribute_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()
-
getDefault
String getDefault()
Returns the value of the 'Default' attribute.- Returns:
- the value of the 'Default' attribute.
- See Also:
setDefault(String)
,SchemaPackage.getAttribute_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()
-
getFixed
String getFixed()
Returns the value of the 'Fixed' attribute.- Returns:
- the value of the 'Fixed' attribute.
- See Also:
setFixed(String)
,SchemaPackage.getAttribute_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.getAttribute_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)
-
getName
String getName()
Returns the value of the 'Name' attribute.- Returns:
- the value of the 'Name' attribute.
- See Also:
setName(String)
,SchemaPackage.getAttribute_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()
-
getRef
QName getRef()
Returns the value of the 'Ref' attribute.- Returns:
- the value of the 'Ref' attribute.
- See Also:
setRef(QName)
,SchemaPackage.getAttribute_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()
-
getType
QName getType()
Returns the value of the 'Type' attribute.- Returns:
- the value of the 'Type' attribute.
- See Also:
setType(QName)
,SchemaPackage.getAttribute_Type()
-
setType
void setType(QName value)
Sets the value of the 'Type
' attribute.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
getType()
-
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:
UseType
,isSetUse()
,unsetUse()
,setUse(UseType)
,SchemaPackage.getAttribute_Use()
-
setUse
void setUse(UseType value)
Sets the value of the 'Use
' attribute.- Parameters:
value
- the new value of the 'Use' attribute.- See Also:
UseType
,isSetUse()
,unsetUse()
,getUse()
-
unsetUse
void unsetUse()
Unsets the value of the 'Use
' attribute.- See Also:
isSetUse()
,getUse()
,setUse(UseType)
-
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:
unsetUse()
,getUse()
,setUse(UseType)
-
-