public abstract class ExecutableStandardLibrary extends AbstractStandardLibrary
| Constructor and Description |
|---|
ExecutableStandardLibrary() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DomainMetaclass |
createMetaclass(DomainType classType) |
DomainType |
getBagType()
Obtains the generic instance of the
BagType metatype, named
Bag(T). |
DomainCollectionType |
getBagType(DomainType elementType,
IntegerValue lower,
IntegerValue upper)
Return the instance of the Bag metatype whose elements are of elementType.
|
DomainType |
getBooleanType()
Obtains the instance of the
PrimitiveType metatype, named
Boolean. |
DomainType |
getCollectionType()
Obtains the generic instance of the
CollectionType metatype, named
Collection(T). |
DomainCollectionType |
getCollectionType(DomainType genericType,
DomainType elementType,
IntegerValue lower,
IntegerValue upper)
Return the specialized collection type for the containerType for elementType.
|
DomainType |
getIntegerType()
Obtains the instance of the
PrimitiveType metatype, named
Integer. |
DomainMetaclass |
getMetaclass(DomainType classType)
Return the instance of the Metaclass metatype whose class is classType.
|
DomainType |
getOclAnyType()
Obtains the single instance of the
AnyType metatype, named
OclAny. |
DomainType |
getOclComparableType()
Obtains the single instance of the
OclComparable metatype, named
OclAny. |
DomainType |
getOclElementType()
Obtains the single instance of the
Class metatype, named
OclElement. |
DomainType |
getOclInvalidType()
Obtains the single instance of the
InvalidType metatype, named
OclInvalid. |
DomainType |
getOclMessageType()
Obtains the generic instance of the
MessageType metatype, named
OclMessage. |
DomainType |
getOclSelfType()
Obtains the single instance of the
OclSelf pseudo-metatype, named
OclSelf. |
DomainType |
getOclSummableType()
Obtains the single instance of the
OclSummable metatype, named
OclAny. |
DomainType |
getOclTupleType()
Obtains the single instance of the
OclTupleType metatype, named
OclVoid. |
DomainType |
getOclVoidType()
Obtains the single instance of the
VoidType metatype, named
OclVoid. |
DomainType |
getOrderedSetType()
Obtains the generic instance of the
OrderedSetType metatype, named
OrderedSet(T). |
DomainCollectionType |
getOrderedSetType(DomainType elementType,
IntegerValue lower,
IntegerValue upper)
Return the instance of the OrderedSet metatype whose elements are of elementType.
|
DomainType |
getRealType()
Obtains the instance of the
PrimitiveType metatype, named
Real. |
DomainType |
getSequenceType()
Obtains the generic instance of the
SequenceType metatype, named
Sequence(T). |
DomainCollectionType |
getSequenceType(DomainType elementType,
IntegerValue lower,
IntegerValue upper)
Return the instance of the Sequence metatype whose elements are of elementType.
|
DomainType |
getSetType()
Obtains the generic instance of the
SetType metatype, named
Set(T). |
DomainCollectionType |
getSetType(DomainType elementType,
IntegerValue lower,
IntegerValue upper)
Return the instance of the Set metatype whose elements are of elementType.
|
DomainType |
getStringType()
Obtains the instance of the
PrimitiveType metatype, named
String. |
DomainElement |
getTemplateParameter(TemplateParameterId id,
DomainElement context) |
DomainTupleType |
getTupleType(TupleTypeId typeId) |
DomainType |
getUniqueCollectionType()
Obtains the generic instance of the
UniqueCollection metatype, named
Set(T). |
DomainType |
getUnlimitedNaturalType()
Obtains the instance of the
PrimitiveType metatype,
named UnlimitedNatural. |
conformsToCollectionType, conformsToLambdaType, conformsToTupleType, dispose, getBagType, getCollectionType, getEnumeration, getMetaType, getNestedPackage, getNestedType, getNsURIPackage, getOperationTemplateParameter, getOrderedSetType, getPrimitiveType, getRootPackage, getSequenceType, getSetType, isEqualToCollectionType, isEqualToTupleType, weakGetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnumerationType, getInheritance, getMetaclassType, getOclType@NonNull protected abstract DomainMetaclass createMetaclass(@NonNull DomainType classType)
@NonNull public DomainType getBagType()
DomainStandardLibraryBagType metatype, named
Bag(T).BagType)@NonNull public DomainCollectionType getBagType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary@NonNull public DomainType getBooleanType()
DomainStandardLibraryPrimitiveType metatype, named
Boolean.PrimitiveType)@NonNull public DomainType getCollectionType()
DomainStandardLibraryCollectionType metatype, named
Collection(T).CollectionType)@NonNull public DomainCollectionType getCollectionType(@NonNull DomainType genericType, @NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrarygetCollectionType in interface DomainStandardLibrarygetCollectionType in class AbstractStandardLibrary@NonNull public DomainType getIntegerType()
DomainStandardLibraryPrimitiveType metatype, named
Integer.PrimitiveType)@NonNull public DomainMetaclass getMetaclass(@NonNull DomainType classType)
DomainStandardLibrary@NonNull public DomainType getOclAnyType()
DomainStandardLibraryAnyType metatype, named
OclAny.AnyType)@NonNull public DomainType getOclComparableType()
DomainStandardLibraryOclComparable metatype, named
OclAny.Class)@NonNull public DomainType getOclElementType()
DomainStandardLibraryClass metatype, named
OclElement.Class)@NonNull public DomainType getOclInvalidType()
DomainStandardLibraryInvalidType metatype, named
OclInvalid.InvalidType)public DomainType getOclMessageType()
DomainStandardLibraryMessageType metatype, named
OclMessage.MessageType)@NonNull public DomainType getOclSelfType()
DomainStandardLibraryOclSelf pseudo-metatype, named
OclSelf.SelfType)@NonNull public DomainType getOclSummableType()
DomainStandardLibraryOclSummable metatype, named
OclAny.Class)@NonNull public DomainType getOclTupleType()
DomainStandardLibraryOclTupleType metatype, named
OclVoid.Class)@NonNull public DomainType getOclVoidType()
DomainStandardLibraryVoidType metatype, named
OclVoid.VoidType)@NonNull public DomainType getOrderedSetType()
DomainStandardLibraryOrderedSetType metatype, named
OrderedSet(T).OrderedSetType)@NonNull public DomainCollectionType getOrderedSetType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary@NonNull public DomainType getRealType()
DomainStandardLibraryPrimitiveType metatype, named
Real.PrimitiveType)@NonNull public DomainType getSequenceType()
DomainStandardLibrarySequenceType metatype, named
Sequence(T).SequenceType)@NonNull public DomainCollectionType getSequenceType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary@NonNull public DomainType getSetType()
DomainStandardLibrarySetType metatype, named
Set(T).SetType)@NonNull public DomainCollectionType getSetType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary@NonNull public DomainType getStringType()
DomainStandardLibraryPrimitiveType metatype, named
String.PrimitiveType)@NonNull public DomainElement getTemplateParameter(@NonNull TemplateParameterId id, DomainElement context)
@NonNull public DomainTupleType getTupleType(@NonNull TupleTypeId typeId)
@NonNull public DomainType getUniqueCollectionType()
DomainStandardLibraryUniqueCollection metatype, named
Set(T).CollectionType)@NonNull public DomainType getUnlimitedNaturalType()
DomainStandardLibraryPrimitiveType metatype,
named UnlimitedNatural.PrimitiveType)