|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary org.eclipse.ocl.examples.library.executor.ExecutableStandardLibrary
public abstract class ExecutableStandardLibrary
Constructor Summary | |
---|---|
ExecutableStandardLibrary()
|
Method Summary | |
---|---|
protected abstract DomainClassifierType |
createClassifierType(DomainType classType)
|
abstract DomainEvaluator |
createEvaluator(org.eclipse.emf.ecore.EObject contextObject,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
|
DomainType |
getAnyClassifierType()
Obtains the single instance of the DomainClassifierType metatype, named
AnyClassifier. |
DomainType |
getBagType()
Obtains the generic instance of the BagType metatype, named
Bag(T). |
DomainCollectionType |
getBagType(DomainType elementType)
Return the instance of the Bag metatype whose elements are of elementType. |
DomainType |
getBooleanType()
Obtains the instance of the PrimitiveType metatype, named
Boolean. |
DomainClassifierType |
getClassifierType(DomainType classType)
Return the instance of the Classifier metatype whose class is classType. |
DomainType |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named
Collection(T). |
DomainCollectionType |
getCollectionType(DomainType genericType,
DomainType elementType)
|
DomainType |
getEnumerationType()
Obtains the single instance of the EnumerationType metatype, named
Enumeration. |
DomainType |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named
Integer. |
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)
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)
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)
Return the instance of the Set metatype whose elements are of elementType. |
DomainType |
getStringType()
Obtains the instance of the PrimitiveType metatype, named
String. |
DomainTupleType |
getTupleType(java.util.List<? extends DomainTypedElement> parts)
Obtains the instance of the TupleType metatype for the given list of parts,
which must be alphabetical order by name. |
DomainType |
getUnlimitedNaturalType()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural. |
Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary |
---|
conformsToCollectionType, conformsToLambdaType, conformsToTupleType, dispose, getCollectionType, getEnumeration, getMetaType, getTuplePart, getTupleType, getType, isEqualToCollectionType, isEqualToTupleType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainStandardLibrary |
---|
getInheritance, getOclType, getType |
Constructor Detail |
---|
public ExecutableStandardLibrary()
Method Detail |
---|
protected abstract DomainClassifierType createClassifierType(DomainType classType)
public abstract DomainEvaluator createEvaluator(org.eclipse.emf.ecore.EObject contextObject, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
public DomainType getAnyClassifierType()
DomainStandardLibrary
DomainClassifierType
metatype, named
AnyClassifier.
AnyClassifier
)public DomainType getBagType()
DomainStandardLibrary
BagType
metatype, named
Bag(T).
BagType
)public DomainCollectionType getBagType(DomainType elementType)
DomainStandardLibrary
public DomainType getBooleanType()
DomainStandardLibrary
PrimitiveType
metatype, named
Boolean.
PrimitiveType
)public DomainClassifierType getClassifierType(DomainType classType)
DomainStandardLibrary
public DomainType getCollectionType()
DomainStandardLibrary
CollectionType
metatype, named
Collection(T).
CollectionType
)public DomainCollectionType getCollectionType(DomainType genericType, DomainType elementType)
public DomainType getEnumerationType()
DomainStandardLibrary
EnumerationType
metatype, named
Enumeration.
Enumeration
)public DomainType getIntegerType()
DomainStandardLibrary
PrimitiveType
metatype, named
Integer.
PrimitiveType
)public DomainType getOclAnyType()
DomainStandardLibrary
AnyType
metatype, named
OclAny.
AnyType
)public DomainType getOclComparableType()
DomainStandardLibrary
OclComparable
metatype, named
OclAny.
Class
)public DomainType getOclElementType()
DomainStandardLibrary
Class
metatype, named
OclElement.
Class
)public DomainType getOclInvalidType()
DomainStandardLibrary
InvalidType
metatype, named
OclInvalid.
InvalidType
)public DomainType getOclMessageType()
DomainStandardLibrary
MessageType
metatype, named
OclMessage.
MessageType
)public DomainType getOclSelfType()
DomainStandardLibrary
OclSelf
pseudo-metatype, named
OclSelf.
SelfType
)public DomainType getOclSummableType()
DomainStandardLibrary
OclSummable
metatype, named
OclAny.
Class
)public DomainType getOclTupleType()
DomainStandardLibrary
OclTupleType
metatype, named
OclVoid.
Class
)public DomainType getOclVoidType()
DomainStandardLibrary
VoidType
metatype, named
OclVoid.
VoidType
)public DomainType getOrderedSetType()
DomainStandardLibrary
OrderedSetType
metatype, named
OrderedSet(T).
OrderedSetType
)public DomainCollectionType getOrderedSetType(DomainType elementType)
DomainStandardLibrary
public DomainType getRealType()
DomainStandardLibrary
PrimitiveType
metatype, named
Real.
PrimitiveType
)public DomainType getSequenceType()
DomainStandardLibrary
SequenceType
metatype, named
Sequence(T).
SequenceType
)public DomainCollectionType getSequenceType(DomainType elementType)
DomainStandardLibrary
public DomainType getSetType()
DomainStandardLibrary
SetType
metatype, named
Set(T).
SetType
)public DomainCollectionType getSetType(DomainType elementType)
DomainStandardLibrary
public DomainType getStringType()
DomainStandardLibrary
PrimitiveType
metatype, named
String.
PrimitiveType
)public DomainTupleType getTupleType(java.util.List<? extends DomainTypedElement> parts)
DomainStandardLibrary
TupleType
metatype for the given list of parts,
which must be alphabetical order by name.
public DomainType getUnlimitedNaturalType()
DomainStandardLibrary
PrimitiveType
metatype,
named UnlimitedNatural.
PrimitiveType
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |