org.eclipse.ocl.examples.pivot
Interface ParameterableElement

All Superinterfaces:
Element, org.eclipse.emf.ecore.EObject, MonikeredElement, org.eclipse.emf.common.notify.Notifier, PivotObject, Visitable
All Known Subinterfaces:
AnyType, AssociationClass, BagType, Class, ClassifierType, CollectionType, DataType, Enumeration, ExpressionInOcl, InvalidType, Iteration, LambdaType, MessageType, OpaqueExpression, Operation, OrderedSetType, PackageableElement, PrimitiveType, Property, SequenceType, SetType, TemplateParameterType, TupleType, Type, UnspecifiedType, ValueSpecification, VoidType
All Known Implementing Classes:
AnyTypeImpl, AssociationClassImpl, BagTypeImpl, ClassifierTypeImpl, ClassImpl, CollectionTypeImpl, DataTypeImpl, EnumerationImpl, ExpressionInOclImpl, InvalidTypeImpl, IterationImpl, LambdaTypeImpl, MessageTypeImpl, OpaqueExpressionImpl, OperationImpl, OrderedSetTypeImpl, PackageableElementImpl, ParameterableElementImpl, PrimitiveTypeImpl, PropertyImpl, SequenceTypeImpl, SetTypeImpl, TemplateParameterTypeImpl, TupleTypeImpl, TypeImpl, UnspecifiedTypeImpl, ValueSpecificationImpl, VoidTypeImpl

public interface ParameterableElement
extends MonikeredElement

A representation of the model object 'Parameterable Element'. A parameterable element is an element that can be exposed as a formal template parameter for a template, or specified as an actual parameter in a binding of a template.

The following features are supported:

See Also:
PivotPackage.getParameterableElement()
Generated
Model
abstract="true"

Method Summary
 TemplateParameter getOwningTemplateParameter()
          Returns the value of the 'Owning Template Parameter' container reference.
 TemplateParameter getTemplateParameter()
          Returns the value of the 'Template Parameter' reference.
 boolean isTemplateParameter()
          The query isTemplateParameter() determines if this parameterable element is exposed as a formal template parameter.
 void setOwningTemplateParameter(TemplateParameter value)
          Sets the value of the 'Owning Template Parameter' container reference.
 void setTemplateParameter(TemplateParameter value)
          Sets the value of the 'Template Parameter' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.MonikeredElement
getMoniker, hasMoniker, setMoniker
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.Element
createOwnedComment, getETarget, getOwnedComments
 
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
 

Method Detail

getTemplateParameter

TemplateParameter getTemplateParameter()
Returns the value of the 'Template Parameter' reference. It is bidirectional and its opposite is 'Parametered Element'. The template parameter that exposes this element as a formal parameter.

Returns:
the value of the 'Template Parameter' reference.
See Also:
setTemplateParameter(TemplateParameter), PivotPackage.getParameterableElement_TemplateParameter(), TemplateParameter.getParameteredElement()
Generated
Model
opposite="parameteredElement" ordered="false"

setTemplateParameter

void setTemplateParameter(TemplateParameter value)
Sets the value of the 'Template Parameter' reference.

Parameters:
value - the new value of the 'Template Parameter' reference.
See Also:
getTemplateParameter()
Generated

getOwningTemplateParameter

TemplateParameter getOwningTemplateParameter()
Returns the value of the 'Owning Template Parameter' container reference. It is bidirectional and its opposite is 'Owned Parametered Element'.

This feature subsets the following features:

The formal template parameter that owns this element.

Returns:
the value of the 'Owning Template Parameter' container reference.
See Also:
setOwningTemplateParameter(TemplateParameter), PivotPackage.getParameterableElement_OwningTemplateParameter(), TemplateParameter.getOwnedParameteredElement()
Generated
Model
opposite="ownedParameteredElement" transient="false" ordered="false"

setOwningTemplateParameter

void setOwningTemplateParameter(TemplateParameter value)
Sets the value of the 'Owning Template Parameter' container reference.

Parameters:
value - the new value of the 'Owning Template Parameter' container reference.
See Also:
getOwningTemplateParameter()
Generated

isTemplateParameter

boolean isTemplateParameter()
The query isTemplateParameter() determines if this parameterable element is exposed as a formal template parameter. result = templateParameter->notEmpty()

Generated
Model
kind="operation" dataType="org.eclipse.ocl.examples.pivot.Boolean" required="true" ordered="false"