public abstract class ExecutableStandardLibrary extends AbstractExecutorElement implements CompleteEnvironment, StandardLibrary.StandardLibraryExtension
StandardLibrary.StandardLibraryExtension
Constructor and Description |
---|
ExecutableStandardLibrary() |
Modifier and Type | Method and Description |
---|---|
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(String typeName,
Type contextType,
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,
String name) |
Class |
getNestedType(Package parentPackage,
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(String className) |
Type |
getPrimitiveType(PrimitiveTypeId typeId) |
Class |
getRealType()
Obtains the instance of the PrimitiveType metatype, named
Real.
|
Package |
getRootPackage(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(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(String typeName,
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. |
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassType, getEnumerationType, getInheritance, getNsURIPackage, getOclInvalidOperation, getOclInvalidProperty, getOclType
accept, allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public Iterable<? extends CompletePackage> getAllCompletePackages()
getAllCompletePackages
in interface StandardLibrary
public Class getBagType()
StandardLibrary
getBagType
in interface StandardLibrary
public CollectionType getBagType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getBagType
in interface CompleteEnvironment
public CollectionType getBagType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getBagType
in interface CompleteEnvironment
public Class getBooleanType()
StandardLibrary
getBooleanType
in interface StandardLibrary
public Class getCollectionType()
StandardLibrary
getCollectionType
in interface StandardLibrary
public CollectionType getCollectionType(Class genericType, Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getCollectionType
in interface CompleteEnvironment
getCollectionType
in interface StandardLibrary
public CollectionType getCollectionType(Class genericType, Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getCollectionType
in interface CompleteEnvironment
getCollectionType
in interface StandardLibrary
public Class getIntegerType()
StandardLibrary
getIntegerType
in interface StandardLibrary
public LambdaType getLambdaType(String typeName, Type contextType, List<? extends Type> parameterTypes, Type resultType, TemplateParameterSubstitutions bindings)
getLambdaType
in interface CompleteEnvironment
public Class getMapType()
getMapType
in interface StandardLibrary
public MapType getMapType(Class genericType, Type keyType, Type valueType)
getMapType
in interface CompleteEnvironment
getMapType
in interface StandardLibrary
public Class getMetaclass(Type classType)
StandardLibrary
getMetaclass
in interface StandardLibrary
public Type getMetaType(Type instanceType)
StandardLibrary
getMetaType
in interface StandardLibrary
public Package getNestedPackage(Package parentPackage, String name)
getNestedPackage
in interface CompleteEnvironment
public Class getNestedType(Package parentPackage, String name)
getNestedType
in interface CompleteEnvironment
public Class getOclAnyType()
StandardLibrary
getOclAnyType
in interface StandardLibrary
public Class getOclComparableType()
StandardLibrary
getOclComparableType
in interface StandardLibrary
public Class getOclElementType()
StandardLibrary
getOclElementType
in interface StandardLibrary
public Class getOclEnumerationType()
StandardLibrary.StandardLibraryExtension
getOclEnumerationType
in interface StandardLibrary.StandardLibraryExtension
public Class getOclInvalidType()
StandardLibrary
getOclInvalidType
in interface StandardLibrary
public Class getOclMessageType()
StandardLibrary
getOclMessageType
in interface StandardLibrary
public Class getOclSelfType()
StandardLibrary
getOclSelfType
in interface StandardLibrary
public Class getOclStereotypeType()
StandardLibrary
getOclStereotypeType
in interface StandardLibrary
public Class getOclSummableType()
StandardLibrary
getOclSummableType
in interface StandardLibrary
public Class getOclTupleType()
StandardLibrary
getOclTupleType
in interface StandardLibrary
public Class getOclVoidType()
StandardLibrary
getOclVoidType
in interface StandardLibrary
public Element getOperationTemplateParameter(Operation anOperation, int index)
getOperationTemplateParameter
in interface StandardLibrary
public Class getOrderedCollectionType()
StandardLibrary
getOrderedCollectionType
in interface StandardLibrary
public Class getOrderedSetType()
StandardLibrary
getOrderedSetType
in interface StandardLibrary
public CollectionType getOrderedSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getOrderedSetType
in interface CompleteEnvironment
public CollectionType getOrderedSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getOrderedSetType
in interface CompleteEnvironment
public CompleteModel getOwnedCompleteModel()
CompleteEnvironment
Owning 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 CompleteEnvironment
CompleteEnvironment.setOwnedCompleteModel(CompleteModel)
,
PivotPackage.getCompleteEnvironment_OwnedCompleteModel()
,
CompleteModel.getOwningCompleteEnvironment()
public StandardLibrary getOwnedStandardLibrary()
CompleteEnvironment
Owning 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 CompleteEnvironment
CompleteEnvironment.setOwnedStandardLibrary(StandardLibrary)
,
PivotPackage.getCompleteEnvironment_OwnedStandardLibrary()
,
StandardLibrary.getOwningCompleteEnvironment()
public CompleteEnvironment getOwningCompleteEnvironment()
StandardLibrary
Owned 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 StandardLibrary
StandardLibrary.setOwningCompleteEnvironment(CompleteEnvironment)
,
PivotPackage.getStandardLibrary_OwningCompleteEnvironment()
,
CompleteEnvironment.getOwnedStandardLibrary()
public Package getPackage()
StandardLibrary
getPackage
in interface StandardLibrary
public Type getPrimitiveType(PrimitiveTypeId typeId)
getPrimitiveType
in interface StandardLibrary
public Class getRealType()
StandardLibrary
getRealType
in interface StandardLibrary
public Package getRootPackage(String name)
getRootPackage
in interface StandardLibrary
public Class getSequenceType()
StandardLibrary
getSequenceType
in interface StandardLibrary
public CollectionType getSequenceType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSequenceType
in interface CompleteEnvironment
public CollectionType getSequenceType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getSequenceType
in interface CompleteEnvironment
public Class getSetType()
StandardLibrary
getSetType
in interface StandardLibrary
public CollectionType getSetType(Type elementType, IntegerValue lower, UnlimitedNaturalValue upper)
getSetType
in interface CompleteEnvironment
public CollectionType getSetType(Type elementType, boolean isNullFree, IntegerValue lower, UnlimitedNaturalValue upper)
CompleteEnvironment
getSetType
in interface CompleteEnvironment
public StatusCodes.Severity getSeverity(Object validationKey)
public Type getSpecializedType(Type type, TemplateParameterSubstitutions substitutions)
getSpecializedType
in interface CompleteEnvironment
public Class getStringType()
StandardLibrary
getStringType
in interface StandardLibrary
public Element getTemplateParameter(TemplateParameterId id, Element context)
public TupleType getTupleType(TupleTypeId typeId)
public TupleType getTupleType(String typeName, Collection<? extends TypedElement> parts, TemplateParameterSubstitutions bindings)
getTupleType
in interface CompleteEnvironment
public Class getUniqueCollectionType()
StandardLibrary
getUniqueCollectionType
in interface StandardLibrary
public Class getUnlimitedNaturalType()
StandardLibrary
getUnlimitedNaturalType
in interface StandardLibrary
public void resetSeverities()
public void setOwnedCompleteModel(CompleteModel value)
CompleteEnvironment
Owned Complete Model
' containment reference.
setOwnedCompleteModel
in interface CompleteEnvironment
value
- the new value of the 'Owned Complete Model' containment reference.CompleteEnvironment.getOwnedCompleteModel()
public void setOwnedStandardLibrary(StandardLibrary value)
CompleteEnvironment
Owned Standard Library
' containment reference.
setOwnedStandardLibrary
in interface CompleteEnvironment
value
- the new value of the 'Owned Standard Library' containment reference.CompleteEnvironment.getOwnedStandardLibrary()
public void setOwningCompleteEnvironment(CompleteEnvironment value)
StandardLibrary
Owning Complete Environment
' container reference.
setOwningCompleteEnvironment
in interface StandardLibrary
value
- the new value of the 'Owning Complete Environment' container reference.StandardLibrary.getOwningCompleteEnvironment()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.