public class CollectionTypeImpl extends DataTypeImpl implements CollectionType
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
Type |
basicGetElementType()
Deprecated.
|
TypeId |
computeId() |
boolean |
conformsTo(StandardLibrary standardLibrary,
Type type)
Return true if this type conform to thatType within standardLibrary.
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
Type |
flattenedType() |
Class |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
CollectionType |
getContainerType() |
Type |
getElementType()
Returns the value of the 'Element Type' reference.
|
Number |
getLower() |
IntegerValue |
getLowerValue() |
CollectionTypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
Number |
getUpper() |
UnlimitedNaturalValue |
getUpperValue() |
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type type)
Return true if this is the same type as thatType within standardLibrary.
|
boolean |
isIsNullFree() |
void |
setElementType(Type newElementType)
Sets the value of the '
Element Type' reference. |
void |
setIsNullFree(boolean newIsNullFree) |
void |
setLower(Number newLower) |
void |
setLowerValue(IntegerValue lower) |
void |
setUpper(Number newUpper) |
void |
setUpperValue(UnlimitedNaturalValue upper) |
String |
toString() |
basicGetBehavioralClass, getBehavioralClass, getInheritance, getValue, isIsSerializable, setBehavioralClass, setIsSerializableaddClassListener, basicSetOwnedSignature, basicSetOwningPackage, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, eInvoke, getExtenders, getInstanceClassName, getMetaTypeName, getNormalizedType, getOwnedBehaviors, getOwnedBindings, getOwnedConstraints, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwnedSignature, getOwningPackage, getSuperClasses, getTypeParameters, getUnspecializedElement, isClass, isIsAbstract, isIsActive, isIsInterface, isOrdered, isTemplateParameter, isUnique, lookupActualOperation, lookupImplementation, removeClassListener, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setName, setOwnedSignature, setOwningPackage, setUnspecializedElement, specializeIn, validateNameIsNotNull, validateUniqueInvariantNamecreateInstance, createInstance, getPackage, isEqualToUnspecializedType, oclEquals, oclHashCodegetNameallOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBehavioralClass, getValue, isIsSerializable, setBehavioralClass, setIsSerializablecreateInstance, createInstance, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwningPackage, getSuperClasses, getTypeParameters, isIsAbstract, isIsActive, isIsInterface, isOrdered, isUnique, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateNameIsNotNull, validateUniqueInvariantNamegetInheritance, getNormalizedType, isClass, isEqualToUnspecializedType, isTemplateParameter, specializeInoclEquals, oclHashCodegetOwnedConstraintsgetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElementpublic boolean isIsNullFree()
isIsNullFree in interface CollectionTypeCollectionType.setIsNullFree(boolean),
PivotPackage.getCollectionType_IsNullFree()public void setIsNullFree(boolean newIsNullFree)
setIsNullFree in interface CollectionTypenewIsNullFree - the new value of the 'Is Null Free' attribute.CollectionType.isIsNullFree()public Number getLower()
getLower in interface CollectionTypeCollectionType.setLower(Number),
PivotPackage.getCollectionType_Lower()public void setLower(Number newLower)
setLower in interface CollectionTypenewLower - the new value of the 'Lower' attribute.CollectionType.getLower()public Number getUpper()
getUpper in interface CollectionTypeCollectionType.setUpper(Number),
PivotPackage.getCollectionType_Upper()public void setUpper(Number newUpper)
setUpper in interface CollectionTypenewUpper - the new value of the 'Upper' attribute.CollectionType.getUpper()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class DataTypeImplpublic void eSet(int featureID,
Object newValue)
eSet in class DataTypeImplpublic void eUnset(int featureID)
eUnset in class DataTypeImplpublic boolean eIsSet(int featureID)
eIsSet in class DataTypeImplpublic String toString()
toString in class DataTypeImplpublic <R> R accept(Visitor<R> visitor)
Element@Deprecated public Type basicGetElementType()
public TypeId computeId()
computeId in class DataTypeImplpublic boolean conformsTo(StandardLibrary standardLibrary, Type type)
TypeconformsTo in interface TypeconformsTo in class ClassImplpublic Type flattenedType()
TypeImplflattenedType in interface TypeflattenedType in class TypeImplpublic Class getCommonType(IdResolver idResolver, Type type)
TypegetCommonType in interface TypegetCommonType in class ClassImplpublic CollectionType getContainerType()
getContainerType in interface CollectionTypepublic CollectionTypeId getTypeId()
Typepublic boolean isEqualTo(StandardLibrary standardLibrary, Type type)
Typepublic Type getElementType()
CollectionTypeIf the meaning of the 'Element Type' reference isn't clear, there really should be more of a description here...
getElementType in interface CollectionTypeCollectionType.setElementType(Type),
PivotPackage.getCollectionType_ElementType()public IntegerValue getLowerValue()
getLowerValue in interface CollectionTypepublic UnlimitedNaturalValue getUpperValue()
getUpperValue in interface CollectionTypepublic void setElementType(Type newElementType)
CollectionTypeElement Type' reference.
setElementType in interface CollectionTypenewElementType - the new value of the 'Element Type' reference.CollectionType.getElementType()public void setLowerValue(IntegerValue lower)
setLowerValue in interface CollectionTypepublic void setUpperValue(UnlimitedNaturalValue upper)
setUpperValue in interface CollectionTypeCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.