|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CollectionType<C,O>
A representation of the model object 'Collection Type'.
The following features are supported:
TypesPackage.getCollectionType()
Field Summary | |
---|---|
static String |
SINGLETON_NAME
|
Method Summary | |
---|---|
boolean |
checkCollectionTypeName(DiagnosticChain diagnostics,
Map<Object,Object> context)
self.name = 'Collection(' + self.elementType.name + ')' |
boolean |
checkNoInvalidValues(DiagnosticChain diagnostics,
Map<Object,Object> context)
self->forAll(not oclIsInvalid()) |
C |
getElementType()
Returns the value of the 'Element Type' reference |
CollectionKind |
getKind()
Returns the value of the 'Kind' attribute. |
EList<O> |
oclIterators()
If the meaning of the 'Iterators' reference list isn't clear, there really should be more of a description here... |
void |
setElementType(C value)
Sets the value of the ' Element Type ' reference |
Methods inherited from interface org.eclipse.ocl.utilities.PredefinedType |
---|
getName, oclOperations |
Methods inherited from interface org.eclipse.ocl.utilities.TypedASTNode |
---|
getTypeEndPosition, getTypeStartPosition, setTypeEndPosition, setTypeStartPosition |
Methods inherited from interface org.eclipse.ocl.utilities.ASTNode |
---|
getEndPosition, getStartPosition, setEndPosition, setStartPosition |
Field Detail |
---|
static final String SINGLETON_NAME
Method Detail |
---|
C getElementType()
If the meaning of the 'Element Type' reference isn't clear, there really should be more of a description here...
setElementType(Object)
,
TypesPackage.getCollectionType_ElementType()
void setElementType(C value)
Element Type
' reference.
value
- the new value of the 'Element Type' reference.getElementType()
CollectionKind getKind()
CollectionKind
.
If the meaning of the 'Collection Kind' attribute isn't clear, there really should be more of a description here...
CollectionKind
,
TypesPackage.getCollectionType_Kind()
boolean checkCollectionTypeName(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.
boolean checkNoInvalidValues(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.
EList<O> oclIterators()
If the meaning of the 'Iterators' reference list isn't clear, there really should be more of a description here...
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |