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

All Superinterfaces:
CGElement, CGNamedElement, org.eclipse.emf.ecore.EObject, Nameable, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CGAccumulator, CGAssertNonNullExp, CGASTCallExp, CGBoolean, CGBoxExp, CGBuiltInIterationCallExp, CGCallable, CGCallExp, CGCastExp, CGCatchExp, CGCollectionExp, CGCollectionPart, CGConstant, CGConstantExp, CGConstraint, CGConstructorExp, CGConstructorPart, CGContainmentBody, CGContainmentPart, CGContainmentVisit, CGEcoreClassConstructorExp, CGEcoreDataTypeConstructorExp, CGEcoreOperation, CGEcoreOperationCallExp, CGEcoreOppositePropertyCallExp, CGEcorePropertyCallExp, CGElementId, CGExecutorCompositionProperty, CGExecutorConstructorPart, CGExecutorNavigationProperty, CGExecutorOperation, CGExecutorOperationCallExp, CGExecutorOppositeProperty, CGExecutorOppositePropertyCallExp, CGExecutorProperty, CGExecutorPropertyCallExp, CGExecutorType, CGFinalVariable, CGGuardExp, CGIfExp, CGInteger, CGInvalid, CGIsEqualExp, CGIsInvalidExp, CGIsUndefinedExp, CGIterationCallExp, CGIterator, CGLetExp, CGLibraryIterateCallExp, CGLibraryIterationCallExp, CGLibraryOperation, CGLibraryOperationCallExp, CGLibraryPropertyCallExp, CGLocalVariable, CGNavigationCallExp, CGNull, CGNumber, CGOperation, CGOperationCallExp, CGOppositePropertyCallExp, CGParameter, CGProperty, CGPropertyCallExp, CGReal, CGSettableVariable, CGString, CGText, CGTextParameter, CGThrowExp, CGTupleExp, CGTuplePart, CGTuplePartCallExp, CGTypeExp, CGTypeId, CGUnboxExp, CGUnlimited, CGValuedElement, CGVariable, CGVariableExp
All Known Implementing Classes:
CGAccumulatorImpl, CGAssertNonNullExpImpl, CGASTCallExpImpl, CGBooleanImpl, CGBoxExpImpl, CGBuiltInIterationCallExpImpl, CGCallableImpl, CGCallExpImpl, CGCastExpImpl, CGCatchExpImpl, CGCollectionExpImpl, CGCollectionPartImpl, CGConstantExpImpl, CGConstantImpl, CGConstraintImpl, CGConstructorExpImpl, CGConstructorPartImpl, CGContainmentBodyImpl, CGContainmentPartImpl, CGContainmentVisitImpl, CGEcoreClassConstructorExpImpl, CGEcoreDataTypeConstructorExpImpl, CGEcoreOperationCallExpImpl, CGEcoreOperationImpl, CGEcoreOppositePropertyCallExpImpl, CGEcorePropertyCallExpImpl, CGElementIdImpl, CGExecutorCompositionPropertyImpl, CGExecutorConstructorPartImpl, CGExecutorNavigationPropertyImpl, CGExecutorOperationCallExpImpl, CGExecutorOperationImpl, CGExecutorOppositePropertyCallExpImpl, CGExecutorOppositePropertyImpl, CGExecutorPropertyCallExpImpl, CGExecutorPropertyImpl, CGExecutorTypeImpl, CGFinalVariableImpl, CGGuardExpImpl, CGIfExpImpl, CGIntegerImpl, CGInvalidImpl, CGIsEqualExpImpl, CGIsInvalidExpImpl, CGIsUndefinedExpImpl, CGIterationCallExpImpl, CGIteratorImpl, CGLetExpImpl, CGLibraryIterateCallExpImpl, CGLibraryIterationCallExpImpl, CGLibraryOperationCallExpImpl, CGLibraryOperationImpl, CGLibraryPropertyCallExpImpl, CGLocalVariableImpl, CGNavigationCallExpImpl, CGNullImpl, CGNumberImpl, CGOperationCallExpImpl, CGOperationImpl, CGOppositePropertyCallExpImpl, CGParameterImpl, CGPropertyCallExpImpl, CGPropertyImpl, CGRealImpl, CGSettableVariableImpl, CGStringImpl, CGTextImpl, CGTextParameterImpl, CGThrowExpImpl, CGTupleExpImpl, CGTuplePartCallExpImpl, CGTuplePartImpl, CGTypedElementImpl, CGTypeExpImpl, CGTypeIdImpl, CGUnboxExpImpl, CGUnlimitedImpl, CGValuedElementImpl, CGVariableExpImpl, CGVariableImpl

public interface CGTypedElement
extends CGNamedElement

A representation of the model object 'CG Typed Element'.

The following features are supported:

See Also:
CGModelPackage.getCGTypedElement()
Generated

Method Summary
 TypeId getASTypeId()
          Return the TypeId of the pivot element.
 CGTypeId getTypeId()
          Returns the value of the 'Type Id' reference.
 boolean isRequired()
          Returns the value of the 'Required' attribute.
 void setRequired(boolean value)
          Sets the value of the 'Required' attribute.
 void setTypeId(CGTypeId value)
          Sets the value of the 'Type Id' reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGNamedElement
getAst, getName, setAst, setName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
accept, getChildren, getParent, getPlace, isContext, rewriteAs
 
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

getTypeId

CGTypeId getTypeId()
Returns the value of the 'Type Id' reference.

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

Returns:
the value of the 'Type Id' reference.
See Also:
setTypeId(CGTypeId), CGModelPackage.getCGTypedElement_TypeId()
Generated

setTypeId

void setTypeId(CGTypeId value)
Sets the value of the 'Type Id' reference.

Parameters:
value - the new value of the 'Type Id' reference.
See Also:
getTypeId()
Generated

isRequired

boolean isRequired()
Returns the value of the 'Required' attribute. The default value is "false".

If the meaning of the 'Required' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Required' attribute.
See Also:
setRequired(boolean), CGModelPackage.getCGTypedElement_Required()
Generated

setRequired

void setRequired(boolean value)
Sets the value of the 'Required' attribute.

Parameters:
value - the new value of the 'Required' attribute.
See Also:
isRequired()
Generated

getASTypeId

@Nullable
TypeId getASTypeId()
Return the TypeId of the pivot element.

Generated