org.eclipse.ocl.examples.pivot
Interface Parameter

All Superinterfaces:
DomainElement, DomainNamedElement, DomainTypedElement, Element, org.eclipse.emf.ecore.EObject, Nameable, NamedElement, org.eclipse.emf.common.notify.Notifier, PivotObject, TypedElement, TypedMultiplicityElement, VariableDeclaration, Visitable
All Known Implementing Classes:
ParameterImpl

public interface Parameter
extends TypedMultiplicityElement, VariableDeclaration

A representation of the model object 'Parameter'. A parameter is a typed element that represents a parameter of an operation.

The following features are supported:

See Also:
PivotPackage.getParameter()
Generated

Method Summary
 Operation getOperation()
          Returns the value of the 'Operation' container reference.
 void setOperation(Operation value)
          Sets the value of the 'Operation' container reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedMultiplicityElement
CompatibleBody, isMany, makeParameter
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.TypedElement
getType, isRequired, setIsRequired, setType
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.NamedElement
getName, isStatic, setIsStatic, setName
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
allOwnedElements, getETarget, getExtension, getOwnedAnnotation, getOwnedComment, getValue
 
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
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.util.Visitable
accept, eClass
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTypedElement
getTypeId
 

Method Detail

getOperation

Operation getOperation()
Returns the value of the 'Operation' container reference. It is bidirectional and its opposite is 'Owned Parameter'. The operation that owns the parameter.

Returns:
the value of the 'Operation' container reference.
See Also:
setOperation(Operation), PivotPackage.getParameter_Operation(), Operation.getOwnedParameter()
Generated

setOperation

void setOperation(Operation value)
Sets the value of the 'Operation' container reference.

Parameters:
value - the new value of the 'Operation' container reference.
See Also:
getOperation()
Generated