public interface CollectionRange<C> extends CollectionLiteralPart<C>
The following features are supported:
ExpressionsPackage.getCollectionRange()
Modifier and Type | Method and Description |
---|---|
boolean |
checkRangeType(DiagnosticChain diagnostics,
Map<Object,Object> context)
type = first.type.commonSuperType(last.type)
|
OCLExpression<C> |
getFirst()
Returns the value of the 'First' containment reference.
|
OCLExpression<C> |
getLast()
Returns the value of the 'Last' containment reference.
|
void |
setFirst(OCLExpression<C> value)
Sets the value of the '
First ' containment reference. |
void |
setLast(OCLExpression<C> value)
Sets the value of the '
Last ' containment reference. |
getName, getType, setName, setType
OCLExpression<C> getFirst()
If the meaning of the 'First' containment reference isn't clear, there really should be more of a description here...
setFirst(OCLExpression)
,
ExpressionsPackage.getCollectionRange_First()
void setFirst(OCLExpression<C> value)
First
' containment reference.
value
- the new value of the 'First' containment reference.getFirst()
OCLExpression<C> getLast()
If the meaning of the 'Last' containment reference isn't clear, there really should be more of a description here...
setLast(OCLExpression)
,
ExpressionsPackage.getCollectionRange_Last()
void setLast(OCLExpression<C> value)
Last
' containment reference.
value
- the new value of the 'Last' containment reference.getLast()
boolean checkRangeType(DiagnosticChain diagnostics, Map<Object,Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.