org.eclipse.ocl.examples.codegen.cgmodel
Interface CGCastParameter

All Superinterfaces:
CGElement, CGNamedElement, CGParameter, CGTypedElement, CGValuedElement, CGVariable, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CGCastParameterImpl

public interface CGCastParameter
extends CGParameter

A representation of the model object 'CG Cast Parameter'. A cast parameter wraps a passed parameter to apply the known type to the much weaker type available as part of some polymorphic API.

The following features are supported:

See Also:
CGModelPackage.getCGCastParameter()
Generated
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
Method Summary
 CGParameter getReferredParameter()
          Returns the value of the 'Referred Parameter' reference.
 void setReferredParameter(CGParameter value)
          Sets the value of the 'Referred Parameter' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGParameter
getOperation, setOperation
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGVariable
getInit, setInit
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getReferredValuedElement, getValue, getValueName, isBoxed, isCaught, isConstant, isFalse, isGlobal, isInlineable, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, setCaught, setNonInvalid, setNonNull, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getPivotTypeId, getTypeId, isRequired, setRequired, setTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getName, getPivot, setName, setPivot
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent
 
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 Detail

getReferredParameter

CGParameter getReferredParameter()
Returns the value of the 'Referred Parameter' reference.

If the meaning of the 'Referred Parameter' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Referred Parameter' reference.
See Also:
setReferredParameter(CGParameter), CGModelPackage.getCGCastParameter_ReferredParameter()
Generated
Model
resolveProxies="false" required="true"

setReferredParameter

void setReferredParameter(CGParameter value)
Sets the value of the 'Referred Parameter' reference.

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