public abstract class ExecutableStandardLibrary extends AbstractExecutorElement implements CompleteEnvironment, StandardLibrary.StandardLibraryExtension
StandardLibrary.StandardLibraryExtension| Constructor and Description |
|---|
ExecutableStandardLibrary() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.HashMap<java.lang.Object,StatusCodes.Severity> |
createValidationKey2severityMap() |
java.lang.Iterable<? extends CompletePackage> |
getAllCompletePackages() |
Class |
getBagType()
Obtains the generic instance of the BagType metatype, named
Bag(T).
|
CollectionType |
getBagType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Bag metatype whose elements are of elementType.
|
CollectionType |
getBagType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
Class |
getBooleanType()
Obtains the instance of the PrimitiveType metatype, named
Boolean.
|
Class |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named
Collection(T).
|
CollectionType |
getCollectionType(Class genericType,
Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the specialized collection type for the containerType for elementType.
|
CollectionType |
getCollectionType(Class genericType,
Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
Class |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named
Integer.
|
LambdaType |
getLambdaType(java.lang.String typeName,
Type contextType,
java.util.List<? extends Type> parameterTypes,
Type resultType,
TemplateParameterSubstitutions bindings) |
Class |
getMapType() |
MapType |
getMapType(Class genericType,
Type keyType,
Type valueType) |
Class |
getMetaclass(Type classType)
Return the instance of the Metaclass metatype whose class is classType.
|
Type |
getMetaType(Type instanceType)
Returns the meta-type of a given type.
|
Package |
getNestedPackage(Package parentPackage,
java.lang.String name) |
Class |
getNestedType(Package parentPackage,
java.lang.String name) |
Class |
getOclAnyType()
Obtains the single instance of the AnyType metatype, named
OclAny.
|
Class |
getOclComparableType()
Obtains the single instance of the OclComparable metatype, named
OclAny.
|
Class |
getOclElementType()
Obtains the single instance of the Class metatype, named
OclElement.
|
Class |
getOclEnumerationType()
Obtains the single instance of the Class metatype, named
OclEnumeration.
|
Class |
getOclInvalidType()
Obtains the single instance of the InvalidType metatype, named
OclInvalid.
|
Class |
getOclMessageType()
Obtains the generic instance of the MessageType metatype, named
OclMessage.
|
Class |
getOclSelfType()
Obtains the single instance of the OclSelf pseudo-metatype, named
OclSelf.
|
Class |
getOclStereotypeType()
Obtains the single instance of the OclStereotype metatype, named
OclStereotype.
|
Class |
getOclSummableType()
Obtains the single instance of the OclSummable metatype, named
OclAny.
|
Class |
getOclTupleType()
Obtains the single instance of the OclTupleType metatype, named
OclVoid.
|
Class |
getOclVoidType()
Obtains the single instance of the VoidType metatype, named
OclVoid.
|
Element |
getOperationTemplateParameter(Operation anOperation,
int index) |
Class |
getOrderedCollectionType()
Obtains the generic instance of the OrderedCollection metatype, named
OrderedCollection(T).
|
Class |
getOrderedSetType()
Obtains the generic instance of the OrderedSetType metatype, named
OrderedSet(T).
|
CollectionType |
getOrderedSetType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the OrderedSet metatype whose elements are of elementType.
|
CollectionType |
getOrderedSetType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
CompleteModel |
getOwnedCompleteModel()
Returns the value of the 'Owned Complete Model' containment reference.
|
StandardLibrary |
getOwnedStandardLibrary()
Returns the value of the 'Owned Standard Library' containment reference.
|
CompleteEnvironment |
getOwningCompleteEnvironment()
Returns the value of the 'Owning Complete Environment' container reference.
|
Package |
getPackage()
Obtains the package containing the library types
|
Class |
getPivotType(java.lang.String className) |
Type |
getPrimitiveType(PrimitiveTypeId typeId) |
Class |
getRealType()
Obtains the instance of the PrimitiveType metatype, named
Real.
|
Package |
getRootPackage(java.lang.String name) |
Class |
getSequenceType()
Obtains the generic instance of the SequenceType metatype, named
Sequence(T).
|
CollectionType |
getSequenceType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Sequence metatype whose elements are of elementType.
|
CollectionType |
getSequenceType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
Class |
getSetType()
Obtains the generic instance of the SetType metatype, named
Set(T).
|
CollectionType |
getSetType(Type elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper)
Return the instance of the Set metatype whose elements are of elementType.
|
CollectionType |
getSetType(Type elementType,
IntegerValue lower,
UnlimitedNaturalValue upper) |
StatusCodes.Severity |
getSeverity(java.lang.Object validationKey) |
Type |
getSpecializedType(Type type,
TemplateParameterSubstitutions substitutions) |
Class |
getStringType()
Obtains the instance of the PrimitiveType metatype, named
String.
|
Element |
getTemplateParameter(TemplateParameterId id,
Element context) |
TupleType |
getTupleType(java.lang.String typeName,
java.util.Collection<? extends TypedElement> parts,
TemplateParameterSubstitutions bindings) |
TupleType |
getTupleType(TupleTypeId typeId) |
Class |
getUniqueCollectionType()
Obtains the generic instance of the UniqueCollection metatype, named
Set(T).
|
Class |
getUnlimitedNaturalType()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural.
|
void |
resetSeverities() |
void |
setOwnedCompleteModel(CompleteModel value)
Sets the value of the '
Owned Complete Model' containment reference. |
void |
setOwnedStandardLibrary(StandardLibrary value)
Sets the value of the '
Owned Standard Library' containment reference. |
void |
setOwningCompleteEnvironment(CompleteEnvironment value)
Sets the value of the '
Owning Complete Environment' container reference. |
protected <K,V> V |
weakGet(java.util.Map<K,java.lang.ref.WeakReference<V>> map,
K key)
Return the map.get(key).get() entry if there is one or null if not, removing any stale
entry that may be encountered.
|
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, getValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassType, getEnumerationType, getInheritance, getNsURIPackage, getOclInvalidOperation, getOclTypeaccept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValueeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset@NonNull protected java.util.HashMap<java.lang.Object,StatusCodes.Severity> createValidationKey2severityMap()
@NonNull public java.lang.Iterable<? extends CompletePackage> getAllCompletePackages()
getAllCompletePackages in interface StandardLibrarypublic Class getBagType()
StandardLibrarygetBagType in interface StandardLibrary@NonNull public CollectionType getBagType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getBagType in interface CompleteEnvironment@NonNull public CollectionType getBagType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironmentgetBagType in interface CompleteEnvironmentpublic Class getBooleanType()
StandardLibrarygetBooleanType in interface StandardLibrarypublic Class getCollectionType()
StandardLibrarygetCollectionType in interface StandardLibrary@NonNull public CollectionType getCollectionType(Class genericType, @NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getCollectionType in interface CompleteEnvironmentgetCollectionType in interface StandardLibrary@NonNull public CollectionType getCollectionType(Class genericType, @NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironmentgetCollectionType in interface CompleteEnvironmentgetCollectionType in interface StandardLibrarypublic Class getIntegerType()
StandardLibrarygetIntegerType in interface StandardLibrary@NonNull public LambdaType getLambdaType(@NonNull java.lang.String typeName, @NonNull Type contextType, @NonNull java.util.List<? extends Type> parameterTypes, @NonNull Type resultType, @Nullable TemplateParameterSubstitutions bindings)
getLambdaType in interface CompleteEnvironmentpublic Class getMapType()
getMapType in interface StandardLibrary@NonNull public MapType getMapType(Class genericType, @NonNull Type keyType, @NonNull Type valueType)
getMapType in interface CompleteEnvironmentgetMapType in interface StandardLibrarypublic Class getMetaclass(@NonNull Type classType)
StandardLibrarygetMetaclass in interface StandardLibrarypublic Type getMetaType(@NonNull Type instanceType)
StandardLibrarygetMetaType in interface StandardLibrarypublic Package getNestedPackage(Package parentPackage, @NonNull java.lang.String name)
getNestedPackage in interface CompleteEnvironmentpublic Class getNestedType(Package parentPackage, @NonNull java.lang.String name)
getNestedType in interface CompleteEnvironmentpublic Class getOclAnyType()
StandardLibrarygetOclAnyType in interface StandardLibrarypublic Class getOclComparableType()
StandardLibrarygetOclComparableType in interface StandardLibrarypublic Class getOclElementType()
StandardLibrarygetOclElementType in interface StandardLibrarypublic Class getOclEnumerationType()
StandardLibrary.StandardLibraryExtensiongetOclEnumerationType in interface StandardLibrary.StandardLibraryExtensionpublic Class getOclInvalidType()
StandardLibrarygetOclInvalidType in interface StandardLibrarypublic Class getOclMessageType()
StandardLibrarygetOclMessageType in interface StandardLibrarypublic Class getOclSelfType()
StandardLibrarygetOclSelfType in interface StandardLibrary@NonNull public Class getOclStereotypeType()
StandardLibrarygetOclStereotypeType in interface StandardLibrarypublic Class getOclSummableType()
StandardLibrarygetOclSummableType in interface StandardLibrarypublic Class getOclTupleType()
StandardLibrarygetOclTupleType in interface StandardLibrarypublic Class getOclVoidType()
StandardLibrarygetOclVoidType in interface StandardLibrary@Nullable public Element getOperationTemplateParameter(@NonNull Operation anOperation, int index)
getOperationTemplateParameter in interface StandardLibrarypublic Class getOrderedCollectionType()
StandardLibrarygetOrderedCollectionType in interface StandardLibrarypublic Class getOrderedSetType()
StandardLibrarygetOrderedSetType in interface StandardLibrary@NonNull public CollectionType getOrderedSetType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getOrderedSetType in interface CompleteEnvironment@NonNull public CollectionType getOrderedSetType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironmentgetOrderedSetType in interface CompleteEnvironment@NonNull public CompleteModel getOwnedCompleteModel()
CompleteEnvironmentOwning Complete Environment'.
If the meaning of the 'Owned Complete Model' containment reference isn't clear, there really should be more of a description here...
getOwnedCompleteModel in interface CompleteEnvironmentCompleteEnvironment.setOwnedCompleteModel(CompleteModel),
PivotPackage.getCompleteEnvironment_OwnedCompleteModel(),
CompleteModel.getOwningCompleteEnvironment()@NonNull public StandardLibrary getOwnedStandardLibrary()
CompleteEnvironmentOwning Complete Environment'.
If the meaning of the 'Owned Standard Library' containment reference isn't clear, there really should be more of a description here...
getOwnedStandardLibrary in interface CompleteEnvironmentCompleteEnvironment.setOwnedStandardLibrary(StandardLibrary),
PivotPackage.getCompleteEnvironment_OwnedStandardLibrary(),
StandardLibrary.getOwningCompleteEnvironment()public CompleteEnvironment getOwningCompleteEnvironment()
StandardLibraryOwned Standard Library'.
If the meaning of the 'Owning Complete Environment' container reference isn't clear, there really should be more of a description here...
getOwningCompleteEnvironment in interface StandardLibraryStandardLibrary.setOwningCompleteEnvironment(CompleteEnvironment),
PivotPackage.getStandardLibrary_OwningCompleteEnvironment(),
CompleteEnvironment.getOwnedStandardLibrary()public Package getPackage()
StandardLibrarygetPackage in interface StandardLibrarypublic Class getPivotType(@NonNull java.lang.String className)
@Nullable public Type getPrimitiveType(@NonNull PrimitiveTypeId typeId)
getPrimitiveType in interface StandardLibrarypublic Class getRealType()
StandardLibrarygetRealType in interface StandardLibrarypublic Package getRootPackage(@NonNull java.lang.String name)
getRootPackage in interface StandardLibrarypublic Class getSequenceType()
StandardLibrarygetSequenceType in interface StandardLibrary@NonNull public CollectionType getSequenceType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getSequenceType in interface CompleteEnvironment@NonNull public CollectionType getSequenceType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironmentgetSequenceType in interface CompleteEnvironmentpublic Class getSetType()
StandardLibrarygetSetType in interface StandardLibrary@NonNull public CollectionType getSetType(@NonNull Type elementType, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
getSetType in interface CompleteEnvironment@NonNull public CollectionType getSetType(@NonNull Type elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
CompleteEnvironmentgetSetType in interface CompleteEnvironmentpublic StatusCodes.Severity getSeverity(@Nullable java.lang.Object validationKey)
@NonNull public Type getSpecializedType(@NonNull Type type, @Nullable TemplateParameterSubstitutions substitutions)
getSpecializedType in interface CompleteEnvironmentpublic Class getStringType()
StandardLibrarygetStringType in interface StandardLibrary@NonNull public Element getTemplateParameter(@NonNull TemplateParameterId id, Element context)
@NonNull public TupleType getTupleType(@NonNull TupleTypeId typeId)
@NonNull public TupleType getTupleType(@NonNull java.lang.String typeName, @NonNull java.util.Collection<? extends TypedElement> parts, @Nullable TemplateParameterSubstitutions bindings)
getTupleType in interface CompleteEnvironmentpublic Class getUniqueCollectionType()
StandardLibrarygetUniqueCollectionType in interface StandardLibrarypublic Class getUnlimitedNaturalType()
StandardLibrarygetUnlimitedNaturalType in interface StandardLibrarypublic void resetSeverities()
public void setOwnedCompleteModel(CompleteModel value)
CompleteEnvironmentOwned Complete Model' containment reference.
setOwnedCompleteModel in interface CompleteEnvironmentvalue - the new value of the 'Owned Complete Model' containment reference.CompleteEnvironment.getOwnedCompleteModel()public void setOwnedStandardLibrary(StandardLibrary value)
CompleteEnvironmentOwned Standard Library' containment reference.
setOwnedStandardLibrary in interface CompleteEnvironmentvalue - the new value of the 'Owned Standard Library' containment reference.CompleteEnvironment.getOwnedStandardLibrary()public void setOwningCompleteEnvironment(CompleteEnvironment value)
StandardLibraryOwning Complete Environment' container reference.
setOwningCompleteEnvironment in interface StandardLibraryvalue - the new value of the 'Owning Complete Environment' container reference.StandardLibrary.getOwningCompleteEnvironment()@Nullable
protected <K,V> V weakGet(@NonNull
java.util.Map<K,java.lang.ref.WeakReference<V>> map,
@NonNull
K key)