public class ExecutorCollectionType extends AbstractSpecializedType implements CollectionType
AbstractInheritance.FragmentIterable
Modifier and Type | Field and Description |
---|---|
protected Type |
elementType |
protected boolean |
isNullFree |
protected IntegerValue |
lower |
protected CollectionTypeId |
typeId |
protected UnlimitedNaturalValue |
upper |
containerType
ABSTRACT, flags, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
name
EMPTY_ARRAY
Constructor and Description |
---|
ExecutorCollectionType(java.lang.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.
|
java.lang.Number |
getLower()
Returns the value of the 'Lower' attribute.
|
IntegerValue |
getLowerValue() |
java.util.List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
CollectionTypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
java.lang.Number |
getUpper()
Returns the value of the 'Upper' attribute.
|
UnlimitedNaturalValue |
getUpperValue() |
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(java.lang.Number value)
Sets the value of the '
Lower ' attribute. |
void |
setLowerValue(IntegerValue lower) |
void |
setUpper(java.lang.Number value)
Sets the value of the '
Upper ' attribute. |
void |
setUpperValue(UnlimitedNaturalValue upper) |
java.lang.String |
toString() |
isOrdered, isUnique, lookupActualOperation, lookupImplementation
createInstance, 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, validateUniqueInvariantName
flattenedType, getAllProperSuperFragments, getAllSuperFragments, getDepth, getFragment, getFragments, getIndex, getIndexes, getMemberOperation, getMemberProperty, getNormalizedType, getPivotClass, getSelfFragment, getSuperFragments, isClass, isEqualToUnspecializedType, isTemplateParameter, oclEquals, oclHashCode, specializeIn
getCommonInheritance, getFragment, getType, initStatics, isInvalid, isOclAny, isSubInheritanceOf, isSuperInheritanceOf, isUndefined, lookupLocalOperation
getName, setName
accept, 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, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBehavioralClass, isIsSerializable, setBehavioralClass, setIsSerializable
createInstance, createInstance, getExtenders, getInstanceClassName, getMetaTypeName, getOwnedBehaviors, getOwnedInvariants, getOwnedProperties, getOwningPackage, getSuperClasses, getTypeParameters, isIsAbstract, isIsActive, isIsInterface, isOrdered, isUnique, lookupActualOperation, lookupImplementation, setInstanceClassName, setIsAbstract, setIsActive, setIsInterface, setOwningPackage, validateUniqueInvariantName
flattenedType, getInheritance, getNormalizedType, isClass, isEqualToUnspecializedType, isTemplateParameter, specializeIn
oclEquals, oclHashCode
getOwnedConstraints
getName, setName
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
getOwnedBindings, getOwnedSignature, getUnspecializedElement, setOwnedSignature, setUnspecializedElement
@NonNull protected final Type elementType
protected final boolean isNullFree
@NonNull protected final IntegerValue lower
@NonNull protected final UnlimitedNaturalValue upper
@NonNull protected final CollectionTypeId typeId
public ExecutorCollectionType(@NonNull java.lang.String name, Class containerType, @NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
public boolean conformsTo(@NonNull StandardLibrary standardLibrary, @NonNull Type type)
Type
conformsTo
in interface Type
conformsTo
in class AbstractExecutorType
public Class getCommonType(@NonNull IdResolver idResolver, @NonNull Type type)
Type
getCommonType
in interface Type
getCommonType
in class AbstractExecutorType
public Class getContainerType()
getContainerType
in interface CollectionType
getContainerType
in class AbstractSpecializedType
@NonNull 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 java.lang.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 CollectionType
CollectionType.setLower(Number)
,
PivotPackage.getCollectionType_Lower()
@NonNull public IntegerValue getLowerValue()
getLowerValue
in interface CollectionType
@NonNull public java.util.List<Operation> getOwnedOperations()
Class
Operation
.
It is bidirectional and its opposite is 'Owning Class
'.
The Operations owned by the Class.
getOwnedOperations
in interface Class
getOwnedOperations
in class AbstractExecutorClass
PivotPackage.getClass_OwnedOperations()
,
Operation.getOwningClass()
@NonNull public CollectionTypeId getTypeId()
Type
getTypeId
in interface CollectionType
getTypeId
in interface Type
getTypeId
in class AbstractExecutorType
public java.lang.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 CollectionType
CollectionType.setUpper(Number)
,
PivotPackage.getCollectionType_Upper()
@NonNull public UnlimitedNaturalValue getUpperValue()
getUpperValue
in interface CollectionType
public boolean isEqualTo(@NonNull StandardLibrary standardLibrary, @NonNull Type type)
Type
isEqualTo
in interface Type
isEqualTo
in class AbstractExecutorType
public 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 CollectionType
CollectionType.setIsNullFree(boolean)
,
PivotPackage.getCollectionType_IsNullFree()
public void setElementType(Type value)
CollectionType
Element Type
' reference.
setElementType
in interface CollectionType
value
- the new value of the 'Element Type' reference.CollectionType.getElementType()
public void setIsNullFree(boolean value)
CollectionType
Is Null Free
' attribute.
setIsNullFree
in interface CollectionType
value
- the new value of the 'Is Null Free' attribute.CollectionType.isIsNullFree()
public void setLower(java.lang.Number value)
CollectionType
Lower
' attribute.
setLower
in interface CollectionType
value
- the new value of the 'Lower' attribute.CollectionType.getLower()
public void setLowerValue(@NonNull IntegerValue lower)
setLowerValue
in interface CollectionType
public void setUpper(java.lang.Number value)
CollectionType
Upper
' attribute.
setUpper
in interface CollectionType
value
- the new value of the 'Upper' attribute.CollectionType.getUpper()
public void setUpperValue(@NonNull UnlimitedNaturalValue upper)
setUpperValue
in interface CollectionType
public java.lang.String toString()
toString
in class java.lang.Object