public class CollectionTypeImpl extends EDataTypeImpl implements CollectionType
The following features are implemented:
SINGLETON_NAME
ABS, 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, CHARACTERS, CHARACTERS_NAME, CLOSURE, CLOSURE_NAME, COLLECT, COLLECT_NAME, COLLECT_NESTED, COLLECT_NESTED_NAME, CONCAT, CONCAT_NAME, COUNT, COUNT_NAME, DIV, DIV_NAME, DIVIDE, DIVIDE_NAME, ENDS_WITH, ENDS_WITH_NAME, EQUAL, EQUAL_NAME, EQUALS_IGNORE_CASE, EQUALS_IGNORE_CASE_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_INDEX_OF, LAST_INDEX_OF_NAME, LAST_NAME, LESS_THAN, LESS_THAN_EQUAL, LESS_THAN_EQUAL_NAME, LESS_THAN_NAME, MATCHES, MATCHES_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_SET, OCL_AS_SET_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, REPLACE_ALL, REPLACE_ALL_NAME, REPLACE_FIRST, REPLACE_FIRST_NAME, RESULT, RESULT_NAME, ROUND, ROUND_NAME, SELECT, SELECT_BY_KIND, SELECT_BY_KIND_NAME, SELECT_BY_TYPE, SELECT_BY_TYPE_NAME, SELECT_NAME, SIZE, SIZE_NAME, SORTED_BY, SORTED_BY_NAME, STARTS_WITH, STARTS_WITH_NAME, SUB_ORDERED_SET, SUB_ORDERED_SET_NAME, SUB_SEQUENCE, SUB_SEQUENCE_NAME, SUBSTITUTE_ALL, SUBSTITUTE_ALL_NAME, SUBSTITUTE_FIRST, SUBSTITUTE_FIRST_NAME, SUBSTRING, SUBSTRING_NAME, SUM, SUM_NAME, SYMMETRIC_DIFFERENCE, SYMMETRIC_DIFFERENCE_NAME, TIMES, TIMES_NAME, TO_BOOLEAN, TO_BOOLEAN_NAME, TO_INTEGER, TO_INTEGER_NAME, TO_LOWER, TO_LOWER_CASE, TO_LOWER_CASE_NAME, TO_LOWER_NAME, TO_REAL, TO_REAL_NAME, TO_STRING, TO_STRING_NAME, TO_UPPER, TO_UPPER_CASE, TO_UPPER_CASE_NAME, TO_UPPER_NAME, TOKENIZE, TOKENIZE_NAME, TRIM, TRIM_NAME, UNION, UNION_NAME, XOR, XOR_NAME
Modifier and Type | Method and Description |
---|---|
EClassifier |
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) |
void |
eUnset(int featureID) |
EClassifier |
getElementType() |
int |
getEndPosition() |
CollectionKind |
getKind() |
String |
getName() |
int |
getStartPosition() |
int |
getTypeEndPosition() |
int |
getTypeStartPosition() |
<any> |
oclIterators() |
<any> |
oclOperations() |
void |
setElementType(EClassifier newElementType) |
void |
setEndPosition(int newEndPosition) |
void |
setStartPosition(int newStartPosition) |
void |
setTypeEndPosition(int newTypeEndPosition) |
void |
setTypeStartPosition(int newTypeStartPosition) |
String |
toString() |
public int getStartPosition()
getStartPosition
in interface ASTNode
ASTNode.setStartPosition(int)
,
UtilitiesPackage.getASTNode_StartPosition()
public void setStartPosition(int newStartPosition)
setStartPosition
in interface ASTNode
newStartPosition
- the new value of the 'Start Position' attribute.ASTNode.getStartPosition()
public int getEndPosition()
getEndPosition
in interface ASTNode
ASTNode.setEndPosition(int)
,
UtilitiesPackage.getASTNode_EndPosition()
public void setEndPosition(int newEndPosition)
setEndPosition
in interface ASTNode
newEndPosition
- the new value of the 'End Position' attribute.ASTNode.getEndPosition()
public int getTypeStartPosition()
getTypeStartPosition
in interface TypedASTNode
TypedASTNode.setTypeStartPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeStartPosition()
public void setTypeStartPosition(int newTypeStartPosition)
setTypeStartPosition
in interface TypedASTNode
newTypeStartPosition
- the new value of the 'Type Start Position' attribute.TypedASTNode.getTypeStartPosition()
public int getTypeEndPosition()
getTypeEndPosition
in interface TypedASTNode
TypedASTNode.setTypeEndPosition(int)
,
UtilitiesPackage.getTypedASTNode_TypeEndPosition()
public void setTypeEndPosition(int newTypeEndPosition)
setTypeEndPosition
in interface TypedASTNode
newTypeEndPosition
- the new value of the 'Type End Position' attribute.TypedASTNode.getTypeEndPosition()
public EClassifier getElementType()
getElementType
in interface CollectionType<EClassifier,EOperation>
CollectionType.setElementType(Object)
,
TypesPackage.getCollectionType_ElementType()
public EClassifier basicGetElementType()
public void setElementType(EClassifier newElementType)
setElementType
in interface CollectionType<EClassifier,EOperation>
newElementType
- the new value of the 'Element Type' reference.CollectionType.getElementType()
public CollectionKind getKind()
getKind
in interface CollectionType<EClassifier,EOperation>
CollectionKind
,
TypesPackage.getCollectionType_Kind()
public boolean checkCollectionTypeName(DiagnosticChain diagnostics, Map<Object,Object> context)
checkCollectionTypeName
in interface CollectionType<EClassifier,EOperation>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public boolean checkNoInvalidValues(DiagnosticChain diagnostics, Map<Object,Object> context)
checkNoInvalidValues
in interface CollectionType<EClassifier,EOperation>
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
public String getName()
getName
in interface PredefinedType<EOperation>
public <any> oclOperations()
oclOperations
in interface PredefinedType<EOperation>
public <any> oclIterators()
oclIterators
in interface CollectionType<EClassifier,EOperation>
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 © 2005, 2018 IBM Corporation and others. All Rights Reserved.