public class ExecutorMapType extends AbstractSpecializedType implements MapType
AbstractInheritance.FragmentIterable
Modifier and Type | Field and Description |
---|---|
protected Type |
keyType |
protected MapTypeId |
typeId |
protected Type |
valueType |
containerType
flags, OCL_ANY, OCL_INVALID, OCL_VOID, ORDERED, UNIQUE
name
EMPTY_ARRAY
Constructor and Description |
---|
ExecutorMapType(java.lang.String name,
Class containerType,
Type keyType,
Type valueType) |
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 |
getKeyType()
Returns the value of the 'Key Type' reference.
|
java.util.List<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operations' containment reference list.
|
MapTypeId |
getTypeId()
Return a unique StandardLibrary-independent identifier for this type.
|
Type |
getValueType()
Returns the value of the 'Value Type' reference.
|
boolean |
isEqualTo(StandardLibrary standardLibrary,
Type type)
Return true if this is the same type as thatType within standardLibrary.
|
void |
setKeyType(Type value)
Sets the value of the '
Key Type ' reference. |
void |
setValueType(Type value)
Sets the value of the '
Value Type ' reference. |
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
public boolean conformsTo(@NonNull StandardLibrary standardLibrary, @NonNull Type type)
Type
conformsTo
in interface Type
conformsTo
in class AbstractExecutorType
@NonNull public Class getCommonType(@NonNull IdResolver idResolver, @NonNull Type type)
Type
getCommonType
in interface Type
getCommonType
in class AbstractExecutorType
@NonNull public Class getContainerType()
getContainerType
in class AbstractSpecializedType
@NonNull public Type getKeyType()
MapType
If the meaning of the 'Key Type' reference isn't clear, there really should be more of a description here...
getKeyType
in interface MapType
MapType.setKeyType(Type)
,
PivotPackage.getMapType_KeyType()
@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 MapTypeId getTypeId()
Type
getTypeId
in interface Type
getTypeId
in class AbstractExecutorType
@NonNull public Type getValueType()
MapType
If the meaning of the 'Value Type' reference isn't clear, there really should be more of a description here...
getValueType
in interface MapType
MapType.setValueType(Type)
,
PivotPackage.getMapType_ValueType()
public boolean isEqualTo(@NonNull StandardLibrary standardLibrary, @NonNull Type type)
Type
isEqualTo
in interface Type
isEqualTo
in class AbstractExecutorType
public void setKeyType(Type value)
MapType
Key Type
' reference.
setKeyType
in interface MapType
value
- the new value of the 'Key Type' reference.MapType.getKeyType()
public void setValueType(Type value)
MapType
Value Type
' reference.
setValueType
in interface MapType
value
- the new value of the 'Value Type' reference.MapType.getValueType()
public java.lang.String toString()
toString
in class java.lang.Object