|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
DomainStandardLibraryDomainClassifierType metatype, named
AnyClassifier.
AnyClassifier)public DomainType getBagType()
DomainStandardLibraryBagType metatype, named
Bag(T).
BagType)public DomainCollectionType getBagType(DomainType elementType)
DomainStandardLibrary
public DomainType getBooleanType()
DomainStandardLibraryPrimitiveType metatype, named
Boolean.
PrimitiveType)public DomainClassifierType getClassifierType(DomainType classType)
DomainStandardLibrary
public DomainType getCollectionType()
DomainStandardLibraryCollectionType metatype, named
Collection(T).
CollectionType)
public DomainCollectionType getCollectionType(DomainType genericType,
DomainType elementType)
public DomainType getEnumerationType()
DomainStandardLibraryEnumerationType metatype, named
Enumeration.
Enumeration)public DomainType getIntegerType()
DomainStandardLibraryPrimitiveType metatype, named
Integer.
PrimitiveType)public DomainType getOclAnyType()
DomainStandardLibraryAnyType metatype, named
OclAny.
AnyType)public DomainType getOclComparableType()
DomainStandardLibraryOclComparable metatype, named
OclAny.
Class)public DomainType getOclElementType()
DomainStandardLibraryClass metatype, named
OclElement.
Class)public DomainType getOclInvalidType()
DomainStandardLibraryInvalidType metatype, named
OclInvalid.
InvalidType)public DomainType getOclMessageType()
DomainStandardLibraryMessageType metatype, named
OclMessage.
MessageType)public DomainType getOclSelfType()
DomainStandardLibraryOclSelf pseudo-metatype, named
OclSelf.
SelfType)public DomainType getOclSummableType()
DomainStandardLibraryOclSummable metatype, named
OclAny.
Class)public DomainType getOclTupleType()
DomainStandardLibraryOclTupleType metatype, named
OclVoid.
Class)public DomainType getOclVoidType()
DomainStandardLibraryVoidType metatype, named
OclVoid.
VoidType)public DomainType getOrderedSetType()
DomainStandardLibraryOrderedSetType metatype, named
OrderedSet(T).
OrderedSetType)public DomainCollectionType getOrderedSetType(DomainType elementType)
DomainStandardLibrary
public DomainType getRealType()
DomainStandardLibraryPrimitiveType metatype, named
Real.
PrimitiveType)public DomainType getSequenceType()
DomainStandardLibrarySequenceType metatype, named
Sequence(T).
SequenceType)public DomainCollectionType getSequenceType(DomainType elementType)
DomainStandardLibrary
public DomainType getSetType()
DomainStandardLibrarySetType metatype, named
Set(T).
SetType)public DomainCollectionType getSetType(DomainType elementType)
DomainStandardLibrary
public DomainType getStringType()
DomainStandardLibraryPrimitiveType metatype, named
String.
PrimitiveType)public DomainTupleType getTupleType(java.util.List<? extends DomainTypedElement> parts)
DomainStandardLibraryTupleType metatype for the given list of parts,
which must be alphabetical order by name.
public DomainType getUnlimitedNaturalType()
DomainStandardLibraryPrimitiveType metatype,
named UnlimitedNatural.
PrimitiveType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||