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
Model

Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.codegen.cgmodel.CGElement
EMPTY_LIST
 
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()
          Returns the value of the 'Range' attribute.
 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, 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

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
Model
containment="true" required="true"

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
Model
containment="true" required="true"

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' containment 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
Model
opposite="parts" resolveProxies="false" required="true" transient="false" changeable="false"

isRange

boolean isRange()
Returns the value of the 'Range' attribute. The default value is "false".

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

Returns:
the value of the 'Range' attribute.
See Also:
CGModelPackage.getCGCollectionPart_Range()
Generated
Model
default="false" required="true" transient="true" changeable="false" volatile="true" derived="true"