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, setIsSerializable
addClassListener, 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, validateUniqueInvariantName
createInstance, createInstance, getPackage, isEqualToUnspecializedType, oclEquals, oclHashCode
getName
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehavioralClass, getValue, isIsSerializable, setBehavioralClass, setIsSerializable
createInstance, createInstance, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedInvariants, getOwnedOperations, getOwnedProperties, getOwningPackage, getSuperClasses, getTypeParameters, isIsAbstract, isIsActive, isIsInterface, isOrdered, isUnique, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateNameIsNotNull, validateUniqueInvariantName
getInheritance, getNormalizedType, isClass, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getOwnedConstraints
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElement
public boolean isIsNullFree()
isIsNullFree
in interface CollectionType
CollectionType.setIsNullFree(boolean)
,
PivotPackage.getCollectionType_IsNullFree()
public void setIsNullFree(boolean newIsNullFree)
setIsNullFree
in interface CollectionType
newIsNullFree
- the new value of the 'Is Null Free' attribute.CollectionType.isIsNullFree()
public Number getLower()
getLower
in interface CollectionType
CollectionType.setLower(Number)
,
PivotPackage.getCollectionType_Lower()
public void setLower(Number newLower)
setLower
in interface CollectionType
newLower
- the new value of the 'Lower' attribute.CollectionType.getLower()
public Number getUpper()
getUpper
in interface CollectionType
CollectionType.setUpper(Number)
,
PivotPackage.getCollectionType_Upper()
public void setUpper(Number newUpper)
setUpper
in interface CollectionType
newUpper
- the new value of the 'Upper' attribute.CollectionType.getUpper()
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class DataTypeImpl
public void eSet(int featureID, Object newValue)
eSet
in class DataTypeImpl
public void eUnset(int featureID)
eUnset
in class DataTypeImpl
public boolean eIsSet(int featureID)
eIsSet
in class DataTypeImpl
public String toString()
toString
in class DataTypeImpl
public <R> R accept(Visitor<R> visitor)
Element
@Deprecated public Type basicGetElementType()
public TypeId computeId()
computeId
in class DataTypeImpl
public boolean conformsTo(StandardLibrary standardLibrary, Type type)
Type
conformsTo
in interface Type
conformsTo
in class ClassImpl
public Type flattenedType()
TypeImpl
flattenedType
in interface Type
flattenedType
in class TypeImpl
public Class getCommonType(IdResolver idResolver, Type type)
Type
getCommonType
in interface Type
getCommonType
in class ClassImpl
public CollectionType getContainerType()
getContainerType
in interface CollectionType
public CollectionTypeId getTypeId()
Type
public boolean isEqualTo(StandardLibrary standardLibrary, Type type)
Type
public Type getElementType()
CollectionType
If the meaning of the 'Element Type' reference isn't clear, there really should be more of a description here...
getElementType
in interface CollectionType
CollectionType.setElementType(Type)
,
PivotPackage.getCollectionType_ElementType()
public IntegerValue getLowerValue()
getLowerValue
in interface CollectionType
public UnlimitedNaturalValue getUpperValue()
getUpperValue
in interface CollectionType
public void setElementType(Type newElementType)
CollectionType
Element Type
' reference.
setElementType
in interface CollectionType
newElementType
- the new value of the 'Element Type' reference.CollectionType.getElementType()
public void setLowerValue(IntegerValue lower)
setLowerValue
in interface CollectionType
public void setUpperValue(UnlimitedNaturalValue upper)
setUpperValue
in interface CollectionType
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.