Class TypeBasedCharacteristicApplicationRuleImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- tools.mdsd.characteristics.characteristic.impl.CharacteristicApplicationRuleImpl
-
- tools.mdsd.characteristics.characteristic.impl.TypeBasedCharacteristicApplicationRuleImpl
-
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,CharacteristicApplicationRule
,TypeBasedCharacteristicApplicationRule
public class TypeBasedCharacteristicApplicationRuleImpl extends CharacteristicApplicationRuleImpl implements TypeBasedCharacteristicApplicationRule
An implementation of the model object 'Type Based Characteristic Application Rule'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected static EOperation.Internal.InvocationDelegate
DETERMINE_APPLICABILITY_EOBJECT__EINVOCATION_DELEGATE
The cached invocation delegate for the 'Determine Applicability
' operation.protected EList<EClass>
legalTypes
The cached value of the 'Legal Types
' reference list.protected boolean
mandatory
The cached value of the 'Mandatory
' attribute.protected static boolean
MANDATORY_EDEFAULT
The default value of the 'Mandatory
' attribute.-
Fields inherited from class tools.mdsd.characteristics.characteristic.impl.CharacteristicApplicationRuleImpl
allowedCharacteristics
-
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TypeBasedCharacteristicApplicationRuleImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharacteristicApplicability
determineApplicability(EObject element)
Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
EList<EClass>
getLegalTypes()
boolean
isMandatory()
void
setMandatory(boolean newMandatory)
String
toString()
-
Methods inherited from class tools.mdsd.characteristics.characteristic.impl.CharacteristicApplicationRuleImpl
getAllowedCharacteristics
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.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 org.eclipse.emf.ecore.impl.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, 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 org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface tools.mdsd.characteristics.characteristic.CharacteristicApplicationRule
getAllowedCharacteristics
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
legalTypes
protected EList<EClass> legalTypes
The cached value of the 'Legal Types
' reference list.- See Also:
getLegalTypes()
- Generated class or method.
- Ordered collection.
-
MANDATORY_EDEFAULT
protected static final boolean MANDATORY_EDEFAULT
The default value of the 'Mandatory
' attribute.- See Also:
isMandatory()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
mandatory
protected boolean mandatory
The cached value of the 'Mandatory
' attribute.- See Also:
isMandatory()
- Generated class or method.
- Ordered collection.
-
DETERMINE_APPLICABILITY_EOBJECT__EINVOCATION_DELEGATE
protected static final EOperation.Internal.InvocationDelegate DETERMINE_APPLICABILITY_EOBJECT__EINVOCATION_DELEGATE
The cached invocation delegate for the 'Determine Applicability
' operation.- See Also:
determineApplicability(org.eclipse.emf.ecore.EObject)
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
getLegalTypes
public EList<EClass> getLegalTypes()
- Specified by:
getLegalTypes
in interfaceTypeBasedCharacteristicApplicationRule
- Returns:
- the value of the 'Legal Types' reference list.
- See Also:
CharacteristicPackage.getTypeBasedCharacteristicApplicationRule_LegalTypes()
- Generated class or method.
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interfaceTypeBasedCharacteristicApplicationRule
- Returns:
- the value of the 'Mandatory' attribute.
- See Also:
TypeBasedCharacteristicApplicationRule.setMandatory(boolean)
,CharacteristicPackage.getTypeBasedCharacteristicApplicationRule_Mandatory()
- Generated class or method.
-
setMandatory
public void setMandatory(boolean newMandatory)
- Specified by:
setMandatory
in interfaceTypeBasedCharacteristicApplicationRule
- Parameters:
newMandatory
- the new value of the 'Mandatory' attribute.- See Also:
TypeBasedCharacteristicApplicationRule.isMandatory()
- Generated class or method.
-
determineApplicability
public CharacteristicApplicability determineApplicability(EObject element)
- Specified by:
determineApplicability
in interfaceCharacteristicApplicationRule
- Specified by:
determineApplicability
in interfaceTypeBasedCharacteristicApplicationRule
- Overrides:
determineApplicability
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classCharacteristicApplicationRuleImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-