Interface Extension
- All Known Implementing Classes:
ExtensionImpl
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='redefinedInSuperStereotype subsettedInSuperStereotype subsettedMustHaveHigherOrEqualUpperBound redefiningTargetMustBeSubclassOfRedefinedTarget subsettingTargetMustBeSubclassOfSubsettedTarget'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL redefinedInSuperStereotype='self.source.eAllSuperTypes->select(s | s.oclIsKindOf(Stereotype))->collect(s | s.oclAsType(Stereotype).extensions)->includesAll(self.redefined)' subsettedInSuperStereotype='self.source.eAllSuperTypes->select(s | s.oclIsKindOf(Stereotype))->collect(s | s.oclAsType(Stereotype).extensions)->includesAll(self.subsetted)' subsettedMustHaveHigherOrEqualUpperBound='self.subsetted->size() > 0 implies self.subsetted->forAll(subsetted : Extension | subsetted.upperBound >= self.upperBound or subsetted.upperBound = -1)' redefiningTargetMustBeSubclassOfRedefinedTarget='self.redefined->notEmpty() implies self.redefined->forAll(redef : Extension | target.eAllSuperTypes->includes(redef.target))' subsettingTargetMustBeSubclassOfSubsettedTarget='self.subsetted->notEmpty() implies self.subsetted->forAll(subsetted : Extension | target.eAllSuperTypes->includes(subsetted.target))'"
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of the 'Lower Bound' attribute.Returns the value of the 'Redefined' reference list.Returns the value of the 'Redefining' reference list.Returns the value of the 'Source' container reference.Returns the value of the 'Subsetted' reference list.Returns the value of the 'Subsetting' reference list.Returns the value of the 'Target' reference.int
Returns the value of the 'Upper Bound' attribute.boolean
isApplicable
(EClass eClass) boolean
boolean
Returns whether the value of the 'Redefining
' reference list is set.boolean
Returns whether the value of the 'Subsetting
' reference list is set.void
setLowerBound
(int value) Sets the value of the 'Lower Bound
' attribute.void
setSource
(Stereotype value) Sets the value of the 'Source
' container reference.void
Sets the value of the 'Target
' reference.void
setUpperBound
(int value) Sets the value of the 'Upper Bound
' attribute.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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getSource
Stereotype getSource()Returns the value of the 'Source' container reference. It is bidirectional and its opposite is 'Extensions
'.If the meaning of the 'Source' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Source' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="extensions" required="true" transient="false"
-
setSource
Sets the value of the 'Source
' container reference.- Parameters:
value
- the new value of the 'Source' container reference.- See Also:
- Generated class or method.
-
getTarget
EClass getTarget()Returns the value of the 'Target' reference.If the meaning of the 'Target' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Target' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setTarget
Sets the value of the 'Target
' reference.- Parameters:
value
- the new value of the 'Target' reference.- See Also:
- Generated class or method.
-
getLowerBound
int getLowerBound()Returns the value of the 'Lower Bound' attribute. The default value is"0"
.If the meaning of the 'Lower Bound' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Lower Bound' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="0"
-
setLowerBound
void setLowerBound(int value) Sets the value of the 'Lower Bound
' attribute.- Parameters:
value
- the new value of the 'Lower Bound' attribute.- See Also:
- Generated class or method.
-
getUpperBound
int getUpperBound()Returns the value of the 'Upper Bound' attribute. The default value is"-1"
.If the meaning of the 'Upper Bound' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Upper Bound' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="-1"
-
setUpperBound
void setUpperBound(int value) Sets the value of the 'Upper Bound
' attribute.- Parameters:
value
- the new value of the 'Upper Bound' attribute.- See Also:
- Generated class or method.
-
getRedefined
Returns the value of the 'Redefined' reference list. The list contents are of typeExtension
. It is bidirectional and its opposite is 'Redefining
'.If the meaning of the 'Redefined' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Redefined' reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="redefining" ordered="false"
-
getSubsetted
Returns the value of the 'Subsetted' reference list. The list contents are of typeExtension
. It is bidirectional and its opposite is 'Subsetting
'.If the meaning of the 'Subsetted' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Subsetted' reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="subsetting" resolveProxies="false"
-
getRedefining
Returns the value of the 'Redefining' reference list. The list contents are of typeExtension
. It is bidirectional and its opposite is 'Redefined
'.If the meaning of the 'Redefining' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Redefining' reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="redefined" unsettable="true" changeable="false" derived="true"
-
isSetRedefining
boolean isSetRedefining()Returns whether the value of the 'Redefining
' reference list is set.- Returns:
- whether the value of the 'Redefining' reference list is set.
- See Also:
- Generated class or method.
-
getSubsetting
Returns the value of the 'Subsetting' reference list. The list contents are of typeExtension
. It is bidirectional and its opposite is 'Subsetted
'.If the meaning of the 'Subsetting' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Subsetting' reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="subsetted" unsettable="true" changeable="false" derived="true"
-
isSetSubsetting
boolean isSetSubsetting()Returns whether the value of the 'Subsetting
' reference list is set.- Returns:
- whether the value of the 'Subsetting' reference list is set.
- See Also:
- Generated class or method.
-
isRequired
boolean isRequired()- Generated class or method.
- EMF model class or method.
- kind="operation" required="true"
-
isApplicable
- Generated class or method.
- EMF model class or method.
- required="true" eClassRequired="true"
-