public class ExecutorCollectionType extends AbstractSpecializedType implements CollectionType
AbstractInheritance.FragmentIterableABSTRACT, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUEEMPTY_ARRAY| Constructor and Description |
|---|
ExecutorCollectionType(String name,
Class containerType,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
conformsTo(StandardLibrary standardLibrary,
Type type)
Return true if this type conform to thatType within standardLibrary.
|
Class |
getCommonType(IdResolver idResolver,
Type type)
Return the most derived type common to this type and thatType within standardLibrary.
|
Class |
getContainerType() |
Type |
getElementType()
Returns the value of the 'Element Type' reference.
|
Number |
getLower()
Returns the value of the 'Lower' attribute.
|
IntegerValue |
getLowerValue() |
List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
CollectionTypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
Number |
getUpper()
Returns the value of the 'Upper' attribute.
|
UnlimitedNaturalValue |
getUpperValue() |
String |
getValue()
Returns the value of the 'Value' attribute.
|
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type type)
Return true if this is the same type as thatType within standardLibrary.
|
boolean |
isIsNullFree()
Returns the value of the 'Is Null Free' attribute.
|
void |
setElementType(Type value)
Sets the value of the '
Element Type' reference. |
void |
setIsNullFree(boolean value)
Sets the value of the '
Is Null Free' attribute. |
void |
setLower(Number value)
Sets the value of the '
Lower' attribute. |
void |
setLowerValue(IntegerValue lower) |
void |
setUpper(Number value)
Sets the value of the '
Upper' attribute. |
void |
setUpperValue(UnlimitedNaturalValue upper) |
String |
toString() |
isOrdered, isUnique, lookupActualOperation, lookupImplementationcreateInstance, createInstance, getBehavioralClass, getExtenders, getInheritance, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedBindings, getOwnedConstraints, getOwnedInvariants, getOwnedProperties, getOwnedSignature, getOwningPackage, getSuperClasses, getTypeParameters, getUnspecializedElement, isIsAbstract, isIsActive, isIsInterface, isIsSerializable, setBehavioralClass, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setIsSerializable, setOwnedSignature, setOwningPackage, setUnspecializedElement, validateNameIsNotNull, validateUniqueInvariantNameflattenedType, getAllProperSuperFragments, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getMemberOperation, getMemberProperty, getNormalizedType, getPivotClass, getSelfFragment, getSuperFragments, isClass, isEqualToUnspecializedType, isTemplateParameter, oclEquals, oclHashCode, specializeIngetCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupLocalOperationgetName, setNameaccept, allOwnedElements, eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValueequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBehavioralClass, isIsSerializable, setBehavioralClass, setIsSerializablecreateInstance, createInstance, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedInvariants, getOwnedProperties, getOwningPackage, getSuperClasses, getTypeParameters, isIsAbstract, isIsActive, isIsInterface, isOrdered, isUnique, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateNameIsNotNull, validateUniqueInvariantNameflattenedType, getInheritance, getNormalizedType, isClass, isEqualToUnspecializedType, isTemplateParameter, specializeInoclEquals, oclHashCodegetOwnedConstraintsgetName, setNameaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElementpublic ExecutorCollectionType(String name, Class containerType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
public boolean conformsTo(StandardLibrary standardLibrary, Type type)
TypeconformsTo in interface TypeconformsTo in class AbstractExecutorTypepublic Class getCommonType(IdResolver idResolver, Type type)
TypegetCommonType in interface TypegetCommonType in class AbstractExecutorTypepublic Class getContainerType()
getContainerType in interface CollectionTypegetContainerType in class AbstractSpecializedTypepublic 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 Number getLower()
CollectionType"0".
If the meaning of the 'Lower' attribute isn't clear, there really should be more of a description here...
getLower in interface CollectionTypeCollectionType.setLower(Number),
PivotPackage.getCollectionType_Lower()public IntegerValue getLowerValue()
getLowerValue in interface CollectionTypepublic List<Operation> getOwnedOperations()
ClassOperation.
It is bidirectional and its opposite is 'Owning Class'.
The Operations owned by the Class.
getOwnedOperations in interface ClassgetOwnedOperations in class AbstractExecutorClassPivotPackage.getClass_OwnedOperations(),
Operation.getOwningClass()public CollectionTypeId getTypeId()
TypegetTypeId in interface CollectionTypegetTypeId in interface TypegetTypeId in class AbstractExecutorTypepublic Number getUpper()
CollectionType"*".
If the meaning of the 'Upper' attribute isn't clear, there really should be more of a description here...
getUpper in interface CollectionTypeCollectionType.setUpper(Number),
PivotPackage.getCollectionType_Upper()public UnlimitedNaturalValue getUpperValue()
getUpperValue in interface CollectionTypepublic String getValue()
DataType"".
If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
getValue in interface DataTypePivotPackage.getDataType_Value()public boolean isEqualTo(StandardLibrary standardLibrary, Type type)
TypeisEqualTo in interface TypeisEqualTo in class AbstractExecutorTypepublic boolean isIsNullFree()
CollectionType"false".
If the meaning of the 'Is Null Free' attribute isn't clear, there really should be more of a description here...
isIsNullFree in interface CollectionTypeCollectionType.setIsNullFree(boolean),
PivotPackage.getCollectionType_IsNullFree()public void setElementType(Type value)
CollectionTypeElement Type' reference.
setElementType in interface CollectionTypevalue - the new value of the 'Element Type' reference.CollectionType.getElementType()public void setIsNullFree(boolean value)
CollectionTypeIs Null Free' attribute.
setIsNullFree in interface CollectionTypevalue - the new value of the 'Is Null Free' attribute.CollectionType.isIsNullFree()public void setLower(Number value)
CollectionTypeLower' attribute.
setLower in interface CollectionTypevalue - the new value of the 'Lower' attribute.CollectionType.getLower()public void setLowerValue(IntegerValue lower)
setLowerValue in interface CollectionTypepublic void setUpper(Number value)
CollectionTypeUpper' attribute.
setUpper in interface CollectionTypevalue - the new value of the 'Upper' attribute.CollectionType.getUpper()public void setUpperValue(UnlimitedNaturalValue upper)
setUpperValue in interface CollectionTypeCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.