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, weakGet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnumerationType, getInheritance, getMetaclassType, getOclType
@NonNull protected abstract DomainMetaclass createMetaclass(@NonNull DomainType classType)
@NonNull public DomainType getBagType()
DomainStandardLibrary
BagType
metatype, named
Bag(T).BagType
)@NonNull public DomainCollectionType getBagType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary
@NonNull public DomainType getBooleanType()
DomainStandardLibrary
PrimitiveType
metatype, named
Boolean.PrimitiveType
)@NonNull public DomainType getCollectionType()
DomainStandardLibrary
CollectionType
metatype, named
Collection(T).CollectionType
)@NonNull public DomainCollectionType getCollectionType(@NonNull DomainType genericType, @NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary
getCollectionType
in interface DomainStandardLibrary
getCollectionType
in class AbstractStandardLibrary
@NonNull public DomainType getIntegerType()
DomainStandardLibrary
PrimitiveType
metatype, named
Integer.PrimitiveType
)@NonNull public DomainMetaclass getMetaclass(@NonNull DomainType classType)
DomainStandardLibrary
@NonNull public DomainType getOclAnyType()
DomainStandardLibrary
AnyType
metatype, named
OclAny.AnyType
)@NonNull public DomainType getOclComparableType()
DomainStandardLibrary
OclComparable
metatype, named
OclAny.Class
)@NonNull public DomainType getOclElementType()
DomainStandardLibrary
Class
metatype, named
OclElement.Class
)@NonNull public DomainType getOclInvalidType()
DomainStandardLibrary
InvalidType
metatype, named
OclInvalid.InvalidType
)public DomainType getOclMessageType()
DomainStandardLibrary
MessageType
metatype, named
OclMessage.MessageType
)@NonNull public DomainType getOclSelfType()
DomainStandardLibrary
OclSelf
pseudo-metatype, named
OclSelf.SelfType
)@NonNull public DomainType getOclSummableType()
DomainStandardLibrary
OclSummable
metatype, named
OclAny.Class
)@NonNull public DomainType getOclTupleType()
DomainStandardLibrary
OclTupleType
metatype, named
OclVoid.Class
)@NonNull public DomainType getOclVoidType()
DomainStandardLibrary
VoidType
metatype, named
OclVoid.VoidType
)@NonNull public DomainType getOrderedSetType()
DomainStandardLibrary
OrderedSetType
metatype, named
OrderedSet(T).OrderedSetType
)@NonNull public DomainCollectionType getOrderedSetType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary
@NonNull public DomainType getRealType()
DomainStandardLibrary
PrimitiveType
metatype, named
Real.PrimitiveType
)@NonNull public DomainType getSequenceType()
DomainStandardLibrary
SequenceType
metatype, named
Sequence(T).SequenceType
)@NonNull public DomainCollectionType getSequenceType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary
@NonNull public DomainType getSetType()
DomainStandardLibrary
SetType
metatype, named
Set(T).SetType
)@NonNull public DomainCollectionType getSetType(@NonNull DomainType elementType, @Nullable IntegerValue lower, @Nullable IntegerValue upper)
DomainStandardLibrary
@NonNull public DomainType getStringType()
DomainStandardLibrary
PrimitiveType
metatype, named
String.PrimitiveType
)@NonNull public DomainElement getTemplateParameter(@NonNull TemplateParameterId id, DomainElement context)
@NonNull public DomainTupleType getTupleType(@NonNull TupleTypeId typeId)
@NonNull public DomainType getUniqueCollectionType()
DomainStandardLibrary
UniqueCollection
metatype, named
Set(T).CollectionType
)@NonNull public DomainType getUnlimitedNaturalType()
DomainStandardLibrary
PrimitiveType
metatype,
named UnlimitedNatural.PrimitiveType
)