public class CollectionTypeImpl<C,O> extends EObjectImpl implements CollectionType<C,O>
The following features are implemented:
| Modifier and Type | Field and Description |
|---|---|
protected C |
elementType
The cached value of the '
Element Type' reference. |
protected static int |
END_POSITION_EDEFAULT
The default value of the '
End Position' attribute. |
protected int |
endPosition
The cached value of the '
End Position' attribute. |
protected static CollectionKind |
KIND_EDEFAULT
The default value of the '
Kind' attribute. |
protected static int |
START_POSITION_EDEFAULT
The default value of the '
Start Position' attribute. |
protected int |
startPosition
The cached value of the '
Start Position' attribute. |
protected static int |
TYPE_END_POSITION_EDEFAULT
The default value of the '
Type End Position' attribute. |
protected static int |
TYPE_START_POSITION_EDEFAULT
The default value of the '
Type Start Position' attribute. |
protected int |
typeEndPosition
The cached value of the '
Type End Position' attribute. |
protected int |
typeStartPosition
The cached value of the '
Type Start Position' attribute. |
SINGLETON_NAMEABS, ABS_NAME, ALL_INSTANCES, ALL_INSTANCES_NAME, AND, AND_NAME, ANY, ANY_NAME, APPEND, APPEND_NAME, AS_BAG, AS_BAG_NAME, AS_ORDERED_SET, AS_ORDERED_SET_NAME, AS_SEQUENCE, AS_SEQUENCE_NAME, AS_SET, AS_SET_NAME, AT, AT_NAME, CLOSURE, CLOSURE_NAME, COLLECT, COLLECT_NAME, COLLECT_NESTED, COLLECT_NESTED_NAME, CONCAT, CONCAT_NAME, COUNT, COUNT_NAME, DIV, DIV_NAME, DIVIDE, DIVIDE_NAME, EQUAL, EQUAL_NAME, EXCLUDES, EXCLUDES_ALL, EXCLUDES_ALL_NAME, EXCLUDES_NAME, EXCLUDING, EXCLUDING_NAME, EXISTS, EXISTS_NAME, FIRST, FIRST_NAME, FLATTEN, FLATTEN_NAME, FLOOR, FLOOR_NAME, FOR_ALL, FOR_ALL_NAME, GREATER_THAN, GREATER_THAN_EQUAL, GREATER_THAN_EQUAL_NAME, GREATER_THAN_NAME, HAS_RETURNED, HAS_RETURNED_NAME, IMPLIES, IMPLIES_NAME, INCLUDES, INCLUDES_ALL, INCLUDES_ALL_NAME, INCLUDES_NAME, INCLUDING, INCLUDING_NAME, INDEX_OF, INDEX_OF_NAME, INSERT_AT, INSERT_AT_NAME, INTERSECTION, INTERSECTION_NAME, IS_EMPTY, IS_EMPTY_NAME, IS_OPERATION_CALL, IS_OPERATION_CALL_NAME, IS_SIGNAL_SENT, IS_SIGNAL_SENT_NAME, IS_UNIQUE, IS_UNIQUE_NAME, LAST, LAST_NAME, LESS_THAN, LESS_THAN_EQUAL, LESS_THAN_EQUAL_NAME, LESS_THAN_NAME, MAX, MAX_NAME, MIN, MIN_NAME, MINUS, MINUS_NAME, MOD, MOD_NAME, NOT, NOT_EMPTY, NOT_EMPTY_NAME, NOT_EQUAL, NOT_EQUAL_NAME, NOT_NAME, OCL_AS_TYPE, OCL_AS_TYPE_NAME, OCL_IS_IN_STATE, OCL_IS_IN_STATE_NAME, OCL_IS_INVALID, OCL_IS_INVALID_NAME, OCL_IS_KIND_OF, OCL_IS_KIND_OF_NAME, OCL_IS_NEW, OCL_IS_NEW_NAME, OCL_IS_TYPE_OF, OCL_IS_TYPE_OF_NAME, OCL_IS_UNDEFINED, OCL_IS_UNDEFINED_NAME, ONE, ONE_NAME, OR, OR_NAME, PLUS, PLUS_NAME, PREPEND, PREPEND_NAME, PRODUCT, PRODUCT_NAME, REJECT, REJECT_NAME, RESULT, RESULT_NAME, ROUND, ROUND_NAME, SELECT, SELECT_NAME, SIZE, SIZE_NAME, SORTED_BY, SORTED_BY_NAME, SUB_ORDERED_SET, SUB_ORDERED_SET_NAME, SUB_SEQUENCE, SUB_SEQUENCE_NAME, SUBSTRING, SUBSTRING_NAME, SUM, SUM_NAME, SYMMETRIC_DIFFERENCE, SYMMETRIC_DIFFERENCE_NAME, TIMES, TIMES_NAME, TO_INTEGER, TO_INTEGER_NAME, TO_LOWER, TO_LOWER_NAME, TO_REAL, TO_REAL_NAME, TO_UPPER, TO_UPPER_NAME, UNION, UNION_NAME, XOR, XOR_NAME| Modifier | Constructor and Description |
|---|---|
protected |
CollectionTypeImpl() |
protected |
CollectionTypeImpl(C elementType) |
| Modifier and Type | Method and Description |
|---|---|
C |
basicGetElementType() |
boolean |
checkCollectionTypeName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
boolean |
checkNoInvalidValues(DiagnosticChain diagnostics,
Map<Object,Object> context) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
C |
getElementType() |
int |
getEndPosition() |
CollectionKind |
getKind() |
String |
getName() |
int |
getStartPosition() |
int |
getTypeEndPosition() |
int |
getTypeStartPosition() |
<any> |
oclIterators() |
<any> |
oclOperations() |
void |
setElementType(C newElementType) |
void |
setEndPosition(int newEndPosition) |
void |
setStartPosition(int newStartPosition) |
void |
setTypeEndPosition(int newTypeEndPosition) |
void |
setTypeStartPosition(int newTypeStartPosition) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckCollectionTypeName, checkNoInvalidValues, setElementTypeprotected static final int START_POSITION_EDEFAULT
Start Position' attribute.
getStartPosition(),
Constant Field Valuesprotected int startPosition
Start Position' attribute.
getStartPosition()protected static final int END_POSITION_EDEFAULT
End Position' attribute.
getEndPosition(),
Constant Field Valuesprotected int endPosition
End Position' attribute.
getEndPosition()protected static final int TYPE_START_POSITION_EDEFAULT
Type Start Position' attribute.
getTypeStartPosition(),
Constant Field Valuesprotected int typeStartPosition
Type Start Position' attribute.
getTypeStartPosition()protected static final int TYPE_END_POSITION_EDEFAULT
Type End Position' attribute.
getTypeEndPosition(),
Constant Field Valuesprotected int typeEndPosition
Type End Position' attribute.
getTypeEndPosition()protected C elementType
Element Type' reference.
getElementType()protected static final CollectionKind KIND_EDEFAULT
Kind' attribute.
getKind()protected CollectionTypeImpl()
protected CollectionTypeImpl(C elementType)
protected EClass eStaticClass()
public String getName()
getName in interface PredefinedType<O>public <any> oclOperations()
oclOperations in interface PredefinedType<O>public boolean checkCollectionTypeName(DiagnosticChain diagnostics,
Map<Object,Object> context)
public boolean checkNoInvalidValues(DiagnosticChain diagnostics,
Map<Object,Object> context)
public int getStartPosition()
getStartPosition in interface ASTNodeASTNode.setStartPosition(int),
UtilitiesPackage.getASTNode_StartPosition()public void setStartPosition(int newStartPosition)
setStartPosition in interface ASTNodenewStartPosition - the new value of the 'Start Position' attribute.ASTNode.getStartPosition()public int getEndPosition()
getEndPosition in interface ASTNodeASTNode.setEndPosition(int),
UtilitiesPackage.getASTNode_EndPosition()public void setEndPosition(int newEndPosition)
setEndPosition in interface ASTNodenewEndPosition - the new value of the 'End Position' attribute.ASTNode.getEndPosition()public int getTypeStartPosition()
getTypeStartPosition in interface TypedASTNodeTypedASTNode.setTypeStartPosition(int),
UtilitiesPackage.getTypedASTNode_TypeStartPosition()public void setTypeStartPosition(int newTypeStartPosition)
setTypeStartPosition in interface TypedASTNodenewTypeStartPosition - the new value of the 'Type Start Position' attribute.TypedASTNode.getTypeStartPosition()public int getTypeEndPosition()
getTypeEndPosition in interface TypedASTNodeTypedASTNode.setTypeEndPosition(int),
UtilitiesPackage.getTypedASTNode_TypeEndPosition()public void setTypeEndPosition(int newTypeEndPosition)
setTypeEndPosition in interface TypedASTNodenewTypeEndPosition - the new value of the 'Type End Position' attribute.TypedASTNode.getTypeEndPosition()public C getElementType()
getElementType in interface CollectionType<C,O>CollectionType.setElementType(Object),
TypesPackage.getCollectionType_ElementType()public C basicGetElementType()
public void setElementType(C newElementType)
public CollectionKind getKind()
getKind in interface CollectionType<C,O>CollectionKind,
TypesPackage.getCollectionType_Kind()public <any> oclIterators()
oclIterators in interface CollectionType<C,O>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)
public int eBaseStructuralFeatureID(int derivedFeatureID,
Class<?> baseClass)
public int eDerivedStructuralFeatureID(int baseFeatureID,
Class<?> baseClass)
public String toString()
Copyright © 2015 Open eHealth Foundation. All rights reserved.