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

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

public interface CGCollectionPart
extends CGValuedElement

A representation of the model object 'CG Collection Part'.

The following features are supported:

See Also:
CGModelPackage.getCGCollectionPart()
Generated

Method Summary
 CGCollectionExp getCollectionExp()
          Returns the value of the 'Collection Exp' container reference.
 CGValuedElement getFirst()
          Returns the value of the 'First' containment reference.
 CGValuedElement getLast()
          Returns the value of the 'Last' containment reference.
 boolean isRange()
          Return true if this is a collection range.
 void setFirst(CGValuedElement value)
          Sets the value of the 'First' containment reference.
 void setLast(CGValuedElement value)
          Sets the value of the 'Last' containment reference.
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGValuedElement
getDependsOn, getInvalidValue, getNamedValue, getOwns, getReferredValue, getSourceValue, getThisValue, getTypedValue, getValueName, isAssertedNonNull, isBoxed, isCaught, isCommonable, isConstant, isEquivalentTo, isEquivalentToInternal, isFalse, isGlobal, isInlined, isInvalid, isNonInvalid, isNonNull, isNull, isSettable, isTrue, isUnboxed, isUncommonable, setCaught, setValueName
 
Methods inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGTypedElement
getASTypeId, getTypeId, isRequired, setRequired, setTypeId
 
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

getFirst

CGValuedElement getFirst()
Returns the value of the 'First' containment reference.

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

Returns:
the value of the 'First' containment reference.
See Also:
setFirst(CGValuedElement), CGModelPackage.getCGCollectionPart_First()
Generated

setFirst

void setFirst(CGValuedElement value)
Sets the value of the 'First' containment reference.

Parameters:
value - the new value of the 'First' containment reference.
See Also:
getFirst()
Generated

getLast

CGValuedElement getLast()
Returns the value of the 'Last' containment reference.

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

Returns:
the value of the 'Last' containment reference.
See Also:
setLast(CGValuedElement), CGModelPackage.getCGCollectionPart_Last()
Generated

setLast

void setLast(CGValuedElement value)
Sets the value of the 'Last' containment reference.

Parameters:
value - the new value of the 'Last' containment reference.
See Also:
getLast()
Generated

getCollectionExp

CGCollectionExp getCollectionExp()
Returns the value of the 'Collection Exp' container reference. It is bidirectional and its opposite is 'Parts'.

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

Returns:
the value of the 'Collection Exp' container reference.
See Also:
CGModelPackage.getCGCollectionPart_CollectionExp(), CGCollectionExp.getParts()
Generated

isRange

boolean isRange()
Return true if this is a collection range.

Generated