public class RequirementImpl extends ModelElementImpl implements Requirement
The following features are implemented:
MinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.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. |
annotationseContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETNILEOPPOSITE_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, getAnnotationseBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected 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 ModelElementImplpublic String getID()
public void setID(String newID)
public String getName()
getName in interface RequirementRequirement.setName(String),
P2Package.getRequirement_Name()public void setName(String newName)
setName in interface RequirementnewName - the new value of the 'Name' attribute.Requirement.getName()public String getNamespace()
getNamespace in interface RequirementRequirement.setNamespace(String),
P2Package.getRequirement_Namespace()public void setNamespace(String newNamespace)
setNamespace in interface RequirementnewNamespace - the new value of the 'Namespace' attribute.Requirement.getNamespace()public VersionRange getVersionRange()
getVersionRange in interface RequirementRequirement.setVersionRange(VersionRange),
P2Package.getRequirement_VersionRange()public void setVersionRange(VersionRange newVersionRange)
setVersionRange in interface RequirementnewVersionRange - the new value of the 'Version Range' attribute.Requirement.getVersionRange()public void setVersionRange(Version version, VersionSegment segment)
setVersionRange in interface Requirementpublic boolean isOptional()
isOptional in interface RequirementRequirement.setOptional(boolean),
P2Package.getRequirement_Optional()public void setOptional(boolean newOptional)
setOptional in interface RequirementnewOptional - the new value of the 'Optional' attribute.Requirement.isOptional()public boolean isFeature()
isFeature in interface RequirementP2Package.getRequirement_Feature()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface InternalEObjecteGet in class ModelElementImplpublic void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class ModelElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ModelElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ModelElementImplpublic Object eInvoke(int operationID, EList<?> arguments) throws InvocationTargetException
eInvoke in interface InternalEObjecteInvoke in class ModelElementImplInvocationTargetExceptionprotected void eMigrate()
public String toString()
toString in class BasicEObjectImplCopyright (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 v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html