public class RequirementImpl extends ModelElementImpl implements Requirement
The following features are implemented:
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected static boolean |
FEATURE_EDEFAULT
The default value of the '
Feature ' attribute. |
protected static String |
ID_EDEFAULT
The default value of the '
ID ' attribute. |
protected String |
name
The cached value of the '
Name ' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name ' attribute. |
protected String |
namespace
The cached value of the '
Namespace ' attribute. |
protected static String |
NAMESPACE_EDEFAULT
The default value of the '
Namespace ' attribute. |
protected boolean |
optional
The cached value of the '
Optional ' attribute. |
protected static boolean |
OPTIONAL_EDEFAULT
The default value of the '
Optional ' attribute. |
protected static VersionRange |
VERSION_RANGE_EDEFAULT
The default value of the '
Version Range ' attribute. |
protected VersionRange |
versionRange
The cached value of the '
Version Range ' attribute. |
annotations
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
RequirementImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
Object |
eInvoke(int operationID,
EList<?> arguments) |
boolean |
eIsSet(int featureID) |
protected void |
eMigrate() |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
String |
getID() |
String |
getName() |
String |
getNamespace() |
VersionRange |
getVersionRange() |
boolean |
isFeature() |
boolean |
isOptional() |
void |
setID(String newID) |
void |
setName(String newName) |
void |
setNamespace(String newNamespace) |
void |
setOptional(boolean newOptional) |
void |
setVersionRange(VersionRange newVersionRange) |
void |
setVersionRange(Version version,
VersionSegment segment) |
String |
toString() |
eInverseAdd, eInverseRemove, getAnnotation, getAnnotations
eBasicSetContainer, eInternalContainer
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
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, eInverseRemove, eInvocationDelegate, 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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected static final String ID_EDEFAULT
ID
' attribute.
getID()
protected static final String NAME_EDEFAULT
Name
' attribute.
getName()
protected String name
Name
' attribute.
getName()
protected static final String NAMESPACE_EDEFAULT
Namespace
' attribute.
getNamespace()
,
Constant Field Valuesprotected String namespace
Namespace
' attribute.
getNamespace()
protected static final VersionRange VERSION_RANGE_EDEFAULT
Version Range
' attribute.
getVersionRange()
protected VersionRange versionRange
Version Range
' attribute.
getVersionRange()
protected static final boolean OPTIONAL_EDEFAULT
Optional
' attribute.
isOptional()
,
Constant Field Valuesprotected boolean optional
Optional
' attribute.
isOptional()
protected static final boolean FEATURE_EDEFAULT
Feature
' attribute.
isFeature()
,
Constant Field Valuesprotected EClass eStaticClass()
eStaticClass
in class ModelElementImpl
public String getID()
public void setID(String newID)
public String getName()
getName
in interface Requirement
Requirement.setName(String)
,
P2Package.getRequirement_Name()
public void setName(String newName)
setName
in interface Requirement
newName
- the new value of the 'Name' attribute.Requirement.getName()
public String getNamespace()
getNamespace
in interface Requirement
Requirement.setNamespace(String)
,
P2Package.getRequirement_Namespace()
public void setNamespace(String newNamespace)
setNamespace
in interface Requirement
newNamespace
- the new value of the 'Namespace' attribute.Requirement.getNamespace()
public VersionRange getVersionRange()
getVersionRange
in interface Requirement
Requirement.setVersionRange(VersionRange)
,
P2Package.getRequirement_VersionRange()
public void setVersionRange(VersionRange newVersionRange)
setVersionRange
in interface Requirement
newVersionRange
- the new value of the 'Version Range' attribute.Requirement.getVersionRange()
public void setVersionRange(Version version, VersionSegment segment)
setVersionRange
in interface Requirement
public boolean isOptional()
isOptional
in interface Requirement
Requirement.setOptional(boolean)
,
P2Package.getRequirement_Optional()
public void setOptional(boolean newOptional)
setOptional
in interface Requirement
newOptional
- the new value of the 'Optional' attribute.Requirement.isOptional()
public boolean isFeature()
isFeature
in interface Requirement
P2Package.getRequirement_Feature()
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class ModelElementImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class ModelElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ModelElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ModelElementImpl
public Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class ModelElementImpl
InvocationTargetException
protected void eMigrate()
public String toString()
toString
in class BasicEObjectImpl
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html