Package org.eclipse.esmf.metamodel.impl
Class DefaultOperation
java.lang.Object
org.eclipse.esmf.metamodel.impl.ModelElementImpl
org.eclipse.esmf.metamodel.impl.DefaultOperation
- All Implemented Interfaces:
Comparable<ModelElementImpl>,ModelElement,NamedElement,Operation
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOperation(MetaModelBaseAttributes metaModelBaseAttributes, List<Property> input, Optional<Property> output) -
Method Summary
Modifier and TypeMethodDescription<T,C> T accept(AspectVisitor<T, C> visitor, C context) Accepts an Aspect visitorbooleangetInput()A list of input parameters for the Operation.The return value of the Operation.inthashCode()toString()Methods inherited from class org.eclipse.esmf.metamodel.impl.ModelElementImpl
compareTo, getAspectModelUrn, getDescriptions, getMetaModelVersion, getName, getPreferredNames, getSee, hasSyntheticNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Constructor Details
-
DefaultOperation
public DefaultOperation(MetaModelBaseAttributes metaModelBaseAttributes, List<Property> input, Optional<Property> output)
-
-
Method Details
-
getInput
A list of input parameters for the Operation. If the operation does not take any input parameters, the input may be omitted. -
getOutput
The return value of the Operation. If the Operation does not return anything, the output may be omitted. -
accept
Accepts an Aspect visitor- Specified by:
acceptin interfaceModelElement- Type Parameters:
T- The result type of the traversal operationC- The context of the visitor traversal- Parameters:
visitor- The visitor to accept
-
toString
-
equals
- Overrides:
equalsin classModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelElementImpl
-