public class CollectionTypeImpl<C,O> extends org.eclipse.emf.ecore.impl.EObjectImpl implements CollectionType<C,O>
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| 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. |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETSINGLETON_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, 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 | Constructor and Description |
|---|---|
protected |
CollectionTypeImpl() |
protected |
CollectionTypeImpl(C elementType) |
| Modifier and Type | Method and Description |
|---|---|
C |
basicGetElementType() |
boolean |
checkCollectionTypeName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
boolean |
checkNoInvalidValues(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context) |
int |
eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass) |
int |
eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
C |
getElementType() |
int |
getEndPosition() |
CollectionKind |
getKind() |
java.lang.String |
getName() |
int |
getStartPosition() |
int |
getTypeEndPosition() |
int |
getTypeStartPosition() |
org.eclipse.emf.common.util.EList<O> |
oclIterators() |
org.eclipse.emf.common.util.EList<O> |
oclOperations() |
void |
setElementType(C newElementType) |
void |
setEndPosition(int newEndPosition) |
void |
setStartPosition(int newStartPosition) |
void |
setTypeEndPosition(int newTypeEndPosition) |
void |
setTypeStartPosition(int newTypeStartPosition) |
java.lang.String |
toString() |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIeAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImplpublic java.lang.String getName()
getName in interface PredefinedType<O>public org.eclipse.emf.common.util.EList<O> oclOperations()
oclOperations in interface PredefinedType<O>public boolean checkCollectionTypeName(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
checkCollectionTypeName in interface CollectionType<C,O>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
public boolean checkNoInvalidValues(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
checkNoInvalidValues in interface CollectionType<C,O>diagnostics - The chain of diagnostics to which problems are to be appended.context - The cache of context-specific information.
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)
setElementType in interface CollectionType<C,O>newElementType - the new value of the 'Element Type' reference.CollectionType.getElementType()public CollectionKind getKind()
getKind in interface CollectionType<C,O>CollectionKind,
TypesPackage.getCollectionType_Kind()public org.eclipse.emf.common.util.EList<O> oclIterators()
oclIterators in interface CollectionType<C,O>public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObjecteDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl