public interface EOperation extends ETypedElement
The following features are supported:
EcorePackage.getEOperation()
Modifier and Type | Interface and Description |
---|---|
static interface |
EOperation.Internal
Internal API implemented by all operations.
|
UNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITY
Modifier and Type | Method and Description |
---|---|
EClass |
getEContainingClass()
Returns the value of the 'EContaining Class' container reference.
|
EList<EClassifier> |
getEExceptions()
Returns the value of the 'EExceptions' reference list.
|
EList<EGenericType> |
getEGenericExceptions()
Returns the value of the 'EGeneric Exceptions' containment reference list.
|
EList<EParameter> |
getEParameters()
Returns the value of the 'EParameters' containment reference list.
|
EList<ETypeParameter> |
getETypeParameters()
Returns the value of the 'EType Parameters' containment reference list.
|
int |
getOperationID()
Returns the ID relative to the
containing class. |
boolean |
isOverrideOf(EOperation someOperation)
Returns whether this operation is an override of some other operation.
|
getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
getName, setName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
EClass getEContainingClass()
EOperations
'.
It represents a method in the Java sense.
EcorePackage.getEOperation_EContainingClass()
,
EClass.getEOperations()
EList<EParameter> getEParameters()
EParameter
.
It is bidirectional and its opposite is 'EOperation
'.
It represents the valid arguments for this operation.
EcorePackage.getEOperation_EParameters()
,
EParameter.getEOperation()
EList<EClassifier> getEExceptions()
EClassifier
.
It represents the exceptions thrown by this operation
and is derived from the generic exceptions
.
,
EcorePackage.getEOperation_EExceptions()
EList<EGenericType> getEGenericExceptions()
EGenericType
.
It represents the generic exceptions thrown by this operation.
The exceptions
list is derived from this one, i.e., it represents the erasure
of each generic exception.
getEExceptions()
,
EcorePackage.getEOperation_EGenericExceptions()
int getOperationID()
containing
class.boolean isOverrideOf(EOperation someOperation)
someOperation
- some other operation.EList<ETypeParameter> getETypeParameters()
ETypeParameter
.
An operation can optionally introduce type parameters.
EcorePackage.getEOperation_ETypeParameters()