public interface Requirement extends ModelElement
The following features are supported:
P2Package.getRequirement()
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the value of the 'Name' attribute.
|
String |
getNamespace()
Returns the value of the 'Namespace' attribute.
|
VersionRange |
getVersionRange()
Returns the value of the 'Version Range' attribute.
|
boolean |
isFeature()
Returns the value of the 'Feature' attribute.
|
boolean |
isOptional()
Returns the value of the 'Optional' attribute.
|
void |
setName(String value)
Sets the value of the '
Name ' attribute. |
void |
setNamespace(String value)
Sets the value of the '
Namespace ' attribute. |
void |
setOptional(boolean value)
Sets the value of the '
Optional ' attribute. |
void |
setVersionRange(VersionRange value)
Sets the value of the '
Version Range ' attribute. |
void |
setVersionRange(Version version,
VersionSegment segment) |
getAnnotation, getAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
String getName()
If the meaning of the 'ID' attribute isn't clear, there really should be more of a description here...
setName(String)
,
P2Package.getRequirement_Name()
void setName(String value)
Name
' attribute.
value
- the new value of the 'Name' attribute.getName()
String getNamespace()
"org.eclipse.equinox.p2.iu"
.
If the meaning of the 'Namespace' attribute isn't clear, there really should be more of a description here...
setNamespace(String)
,
P2Package.getRequirement_Namespace()
void setNamespace(String value)
Namespace
' attribute.
value
- the new value of the 'Namespace' attribute.getNamespace()
VersionRange getVersionRange()
"0.0.0"
.
If the meaning of the 'Version Range' attribute isn't clear, there really should be more of a description here...
setVersionRange(VersionRange)
,
P2Package.getRequirement_VersionRange()
void setVersionRange(VersionRange value)
Version Range
' attribute.
value
- the new value of the 'Version Range' attribute.getVersionRange()
boolean isOptional()
If the meaning of the 'Optional' attribute isn't clear, there really should be more of a description here...
setOptional(boolean)
,
P2Package.getRequirement_Optional()
void setOptional(boolean value)
Optional
' attribute.
value
- the new value of the 'Optional' attribute.isOptional()
boolean isFeature()
If the meaning of the 'Feature' attribute isn't clear, there really should be more of a description here...
P2Package.getRequirement_Feature()
void setVersionRange(Version version, VersionSegment segment)
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