public class CollectionRangeImpl<C> extends CollectionLiteralPartImpl<C> implements CollectionRange<C>
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> |
accept(U v) |
NotificationChain |
basicSetFirst(OCLExpression<C> newFirst,
NotificationChain msgs) |
NotificationChain |
basicSetLast(OCLExpression<C> newLast,
NotificationChain msgs) |
boolean |
checkRangeType(DiagnosticChain diagnostics,
Map<Object,Object> context) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
OCLExpression<C> |
getFirst() |
OCLExpression<C> |
getLast() |
void |
setFirst(OCLExpression<C> newFirst) |
void |
setLast(OCLExpression<C> newLast) |
getName, getType, setName, setType
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getType, setName, setType
public OCLExpression<C> getFirst()
getFirst
in interface CollectionRange<C>
CollectionRange.setFirst(OCLExpression)
,
ExpressionsPackage.getCollectionRange_First()
public NotificationChain basicSetFirst(OCLExpression<C> newFirst, NotificationChain msgs)
public void setFirst(OCLExpression<C> newFirst)
setFirst
in interface CollectionRange<C>
newFirst
- the new value of the 'First' containment reference.CollectionRange.getFirst()
public OCLExpression<C> getLast()
getLast
in interface CollectionRange<C>
CollectionRange.setLast(OCLExpression)
,
ExpressionsPackage.getCollectionRange_Last()
public NotificationChain basicSetLast(OCLExpression<C> newLast, NotificationChain msgs)
public void setLast(OCLExpression<C> newLast)
setLast
in interface CollectionRange<C>
newLast
- the new value of the 'Last' containment reference.CollectionRange.getLast()
public boolean checkRangeType(DiagnosticChain diagnostics, Map<Object,Object> context)
checkRangeType
in interface CollectionRange<C>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public <T,U extends Visitor<T,?,?,?,?,?,?,?,?,?>> T accept(U v)
CollectionLiteralPartImpl
accept
in interface Visitable
accept
in class CollectionLiteralPartImpl<C>
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.