Package org.w3._2001.schema.impl
Class AttributeImpl
- Object
-
- BasicNotifierImpl
-
- BasicEObjectImpl
-
- MinimalEObjectImpl
-
- MinimalEObjectImpl.Container
-
- OpenAttrsImpl
-
- AnnotatedImpl
-
- AttributeImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Annotated
,Attribute
,OpenAttrs
- Direct Known Subclasses:
TopLevelAttributeImpl
public class AttributeImpl extends AnnotatedImpl implements Attribute
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected String
default_
The cached value of the 'Default
' attribute.protected static String
DEFAULT_EDEFAULT
The default value of the 'Default
' attribute.protected String
fixed
The cached value of the 'Fixed
' attribute.protected static String
FIXED_EDEFAULT
The default value of the 'Fixed
' attribute.protected FormChoice
form
The cached value of the 'Form
' attribute.protected static FormChoice
FORM_EDEFAULT
The default value of the 'Form
' attribute.protected boolean
formESet
This is true if the Form attribute has been set.protected String
name
The cached value of the 'Name
' attribute.protected static String
NAME_EDEFAULT
The default value of the 'Name
' attribute.protected QName
ref
The cached value of the 'Ref
' attribute.protected static QName
REF_EDEFAULT
The default value of the 'Ref
' attribute.protected LocalSimpleType
simpleType
The cached value of the 'Simple Type
' containment reference.protected QName
type
The cached value of the 'Type
' attribute.protected static QName
TYPE_EDEFAULT
The default value of the 'Type
' attribute.protected UseType
use
The cached value of the 'Use
' attribute.protected static UseType
USE_EDEFAULT
The default value of the 'Use
' attribute.protected boolean
useESet
This is true if the Use attribute has been set.-
Fields inherited from class AnnotatedImpl
annotation, id, ID_EDEFAULT
-
Fields inherited from class OpenAttrsImpl
anyAttribute
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationChain
basicSetSimpleType(LocalSimpleType newSimpleType, NotificationChain msgs)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
String
getDefault()
String
getFixed()
FormChoice
getForm()
String
getName()
QName
getRef()
LocalSimpleType
getSimpleType()
QName
getType()
UseType
getUse()
boolean
isSetForm()
boolean
isSetUse()
void
setDefault(String newDefault)
void
setFixed(String newFixed)
void
setForm(FormChoice newForm)
void
setName(String newName)
void
setRef(QName newRef)
void
setSimpleType(LocalSimpleType newSimpleType)
void
setType(QName newType)
void
setUse(UseType newUse)
String
toString()
void
unsetForm()
void
unsetUse()
-
Methods inherited from class AnnotatedImpl
basicSetAnnotation, getAnnotation, getId, setAnnotation, setId
-
Methods inherited from class OpenAttrsImpl
getAnyAttribute
-
Methods inherited from class MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Field Detail
-
simpleType
protected LocalSimpleType simpleType
The cached value of the 'Simple Type
' containment reference.- See Also:
getSimpleType()
-
DEFAULT_EDEFAULT
protected static final String DEFAULT_EDEFAULT
The default value of the 'Default
' attribute.- See Also:
getDefault()
-
default_
protected String default_
The cached value of the 'Default
' attribute.- See Also:
getDefault()
-
FIXED_EDEFAULT
protected static final String FIXED_EDEFAULT
The default value of the 'Fixed
' attribute.- See Also:
getFixed()
-
fixed
protected String fixed
The cached value of the 'Fixed
' attribute.- See Also:
getFixed()
-
FORM_EDEFAULT
protected static final FormChoice FORM_EDEFAULT
The default value of the 'Form
' attribute.- See Also:
getForm()
-
form
protected FormChoice form
The cached value of the 'Form
' attribute.- See Also:
getForm()
-
formESet
protected boolean formESet
This is true if the Form attribute has been set.
-
NAME_EDEFAULT
protected static final String NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
getName()
-
REF_EDEFAULT
protected static final QName REF_EDEFAULT
The default value of the 'Ref
' attribute.- See Also:
getRef()
-
TYPE_EDEFAULT
protected static final QName TYPE_EDEFAULT
The default value of the 'Type
' attribute.- See Also:
getType()
-
USE_EDEFAULT
protected static final UseType USE_EDEFAULT
The default value of the 'Use
' attribute.- See Also:
getUse()
-
useESet
protected boolean useESet
This is true if the Use attribute has been set.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classAnnotatedImpl
-
getSimpleType
public LocalSimpleType getSimpleType()
- Specified by:
getSimpleType
in interfaceAttribute
- Returns:
- the value of the 'Simple Type' containment reference.
- See Also:
Attribute.setSimpleType(LocalSimpleType)
,SchemaPackage.getAttribute_SimpleType()
-
basicSetSimpleType
public NotificationChain basicSetSimpleType(LocalSimpleType newSimpleType, NotificationChain msgs)
-
setSimpleType
public void setSimpleType(LocalSimpleType newSimpleType)
- Specified by:
setSimpleType
in interfaceAttribute
- Parameters:
newSimpleType
- the new value of the 'Simple Type' containment reference.- See Also:
Attribute.getSimpleType()
-
getDefault
public String getDefault()
- Specified by:
getDefault
in interfaceAttribute
- Returns:
- the value of the 'Default' attribute.
- See Also:
Attribute.setDefault(String)
,SchemaPackage.getAttribute_Default()
-
setDefault
public void setDefault(String newDefault)
- Specified by:
setDefault
in interfaceAttribute
- Parameters:
newDefault
- the new value of the 'Default' attribute.- See Also:
Attribute.getDefault()
-
getFixed
public String getFixed()
- Specified by:
getFixed
in interfaceAttribute
- Returns:
- the value of the 'Fixed' attribute.
- See Also:
Attribute.setFixed(String)
,SchemaPackage.getAttribute_Fixed()
-
setFixed
public void setFixed(String newFixed)
- Specified by:
setFixed
in interfaceAttribute
- Parameters:
newFixed
- the new value of the 'Fixed' attribute.- See Also:
Attribute.getFixed()
-
getForm
public FormChoice getForm()
- Specified by:
getForm
in interfaceAttribute
- Returns:
- the value of the 'Form' attribute.
- See Also:
FormChoice
,Attribute.isSetForm()
,Attribute.unsetForm()
,Attribute.setForm(FormChoice)
,SchemaPackage.getAttribute_Form()
-
setForm
public void setForm(FormChoice newForm)
- Specified by:
setForm
in interfaceAttribute
- Parameters:
newForm
- the new value of the 'Form' attribute.- See Also:
FormChoice
,Attribute.isSetForm()
,Attribute.unsetForm()
,Attribute.getForm()
-
unsetForm
public void unsetForm()
- Specified by:
unsetForm
in interfaceAttribute
- See Also:
Attribute.isSetForm()
,Attribute.getForm()
,Attribute.setForm(FormChoice)
-
isSetForm
public boolean isSetForm()
- Specified by:
isSetForm
in interfaceAttribute
- Returns:
- whether the value of the 'Form' attribute is set.
- See Also:
Attribute.unsetForm()
,Attribute.getForm()
,Attribute.setForm(FormChoice)
-
getName
public String getName()
- Specified by:
getName
in interfaceAttribute
- Returns:
- the value of the 'Name' attribute.
- See Also:
Attribute.setName(String)
,SchemaPackage.getAttribute_Name()
-
setName
public void setName(String newName)
- Specified by:
setName
in interfaceAttribute
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
Attribute.getName()
-
getRef
public QName getRef()
- Specified by:
getRef
in interfaceAttribute
- Returns:
- the value of the 'Ref' attribute.
- See Also:
Attribute.setRef(QName)
,SchemaPackage.getAttribute_Ref()
-
setRef
public void setRef(QName newRef)
- Specified by:
setRef
in interfaceAttribute
- Parameters:
newRef
- the new value of the 'Ref' attribute.- See Also:
Attribute.getRef()
-
getType
public QName getType()
- Specified by:
getType
in interfaceAttribute
- Returns:
- the value of the 'Type' attribute.
- See Also:
Attribute.setType(QName)
,SchemaPackage.getAttribute_Type()
-
setType
public void setType(QName newType)
- Specified by:
setType
in interfaceAttribute
- Parameters:
newType
- the new value of the 'Type' attribute.- See Also:
Attribute.getType()
-
getUse
public UseType getUse()
- Specified by:
getUse
in interfaceAttribute
- Returns:
- the value of the 'Use' attribute.
- See Also:
UseType
,Attribute.isSetUse()
,Attribute.unsetUse()
,Attribute.setUse(UseType)
,SchemaPackage.getAttribute_Use()
-
setUse
public void setUse(UseType newUse)
- Specified by:
setUse
in interfaceAttribute
- Parameters:
newUse
- the new value of the 'Use' attribute.- See Also:
UseType
,Attribute.isSetUse()
,Attribute.unsetUse()
,Attribute.getUse()
-
unsetUse
public void unsetUse()
- Specified by:
unsetUse
in interfaceAttribute
- See Also:
Attribute.isSetUse()
,Attribute.getUse()
,Attribute.setUse(UseType)
-
isSetUse
public boolean isSetUse()
- Specified by:
isSetUse
in interfaceAttribute
- Returns:
- whether the value of the 'Use' attribute is set.
- See Also:
Attribute.unsetUse()
,Attribute.getUse()
,Attribute.setUse(UseType)
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classAnnotatedImpl
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classAnnotatedImpl
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classAnnotatedImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classAnnotatedImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classAnnotatedImpl
-
toString
public String toString()
- Overrides:
toString
in classAnnotatedImpl
-
-