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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
CGBoolean, CGBoxExp, CGBuiltInIterationCallExp, CGCallExp, CGCastParameter, CGCatchExp, CGClass, CGCollectionExp, CGCollectionPart, CGConstant, CGConstantExp, CGConstraint, CGConstructorExp, CGConstructorPart, CGEcoreClassConstructorExp, CGEcoreDataTypeConstructorExp, CGEcoreOperationCallExp, CGEcorePropertyCallExp, CGElementId, CGEqualsExp, CGExecutorCompositionProperty, CGExecutorConstructorPart, CGExecutorNavigationProperty, CGExecutorOperation, CGExecutorOperationCallExp, CGExecutorOppositeProperty, CGExecutorProperty, CGExecutorPropertyCallExp, CGExecutorType, CGFinalVariable, CGGuardExp, CGIfExp, CGInfinity, CGInteger, CGInvalid, CGIsInvalidExp, CGIsUndefinedExp, CGIterationCallExp, CGIterator, CGLetExp, CGLibraryIterateCallExp, CGLibraryIterationCallExp, CGLibraryOperationCallExp, CGLibraryPropertyCallExp, CGLocalVariable, CGModel, CGNamedElement, CGNull, CGOperation, CGOperationCallExp, CGPackage, CGParameter, CGProperty, CGPropertyCallExp, CGReal, CGSettableVariable, CGString, CGText, CGTextParameter, CGThrowExp, CGTupleExp, CGTuplePart, CGTuplePartCallExp, CGTypedElement, CGTypeExp, CGTypeId, CGUnboxExp, CGValuedElement, CGVariable, CGVariableExp
All Known Implementing Classes:
CGBooleanImpl, CGBoxExpImpl, CGBuiltInIterationCallExpImpl, CGCallExpImpl, CGCastParameterImpl, CGCatchExpImpl, CGClassImpl, CGCollectionExpImpl, CGCollectionPartImpl, CGConstantExpImpl, CGConstantImpl, CGConstraintImpl, CGConstructorExpImpl, CGConstructorPartImpl, CGEcoreClassConstructorExpImpl, CGEcoreDataTypeConstructorExpImpl, CGEcoreOperationCallExpImpl, CGEcorePropertyCallExpImpl, CGElementIdImpl, CGElementImpl, CGEqualsExpImpl, CGExecutorCompositionPropertyImpl, CGExecutorConstructorPartImpl, CGExecutorNavigationPropertyImpl, CGExecutorOperationCallExpImpl, CGExecutorOperationImpl, CGExecutorOppositePropertyImpl, CGExecutorPropertyCallExpImpl, CGExecutorPropertyImpl, CGExecutorTypeImpl, CGFinalVariableImpl, CGGuardExpImpl, CGIfExpImpl, CGInfinityImpl, CGIntegerImpl, CGInvalidImpl, CGIsInvalidExpImpl, CGIsUndefinedExpImpl, CGIterationCallExpImpl, CGIteratorImpl, CGLetExpImpl, CGLibraryIterateCallExpImpl, CGLibraryIterationCallExpImpl, CGLibraryOperationCallExpImpl, CGLibraryPropertyCallExpImpl, CGLocalVariableImpl, CGModelImpl, CGNamedElementImpl, CGNullImpl, CGOperationCallExpImpl, CGOperationImpl, CGPackageImpl, CGParameterImpl, CGPropertyCallExpImpl, CGPropertyImpl, CGRealImpl, CGSettableVariableImpl, CGStringImpl, CGTextImpl, CGTextParameterImpl, CGThrowExpImpl, CGTupleExpImpl, CGTuplePartCallExpImpl, CGTuplePartImpl, CGTypedElementImpl, CGTypeExpImpl, CGTypeIdImpl, CGUnboxExpImpl, CGValuedElementImpl, CGVariableExpImpl, CGVariableImpl

public interface CGElement
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'CG Element'. CGElement is the abstract class from which all classes contribution to a CG tree derive.

The following features are supported:

See Also:
CGModelPackage.getCGElement()
Generated
Model
abstract="true"

Field Summary
static java.util.List<CGElement> EMPTY_LIST
           
 
Method Summary
<R> R
accept(CGModelVisitor<R> visitor)
           
 java.lang.Iterable<? extends CGElement> getChildren()
           
 CGElement getParent()
          Returns the value of the 'Parent' reference.
 
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
 

Field Detail

EMPTY_LIST

@NonNull
static final java.util.List<CGElement> EMPTY_LIST
Method Detail

getParent

CGElement getParent()
Returns the value of the 'Parent' reference.

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

The parent node in a CG tree, null at the root.

Returns:
the value of the 'Parent' reference.
See Also:
CGModelPackage.getCGElement_Parent()
Generated
Model
resolveProxies="false" transient="true" changeable="false" volatile="true" derived="true"

accept

<R> R accept(@NonNull
             CGModelVisitor<R> visitor)

getChildren

@NonNull
java.lang.Iterable<? extends CGElement> getChildren()