|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainStandardLibrary
A representation of the OCL Standard Library, which is the set of singleton instances of the OCL-defined metatypes, including the generic collection types (e.g., Set(T)).
Method Summary | |
---|---|
boolean |
conformsToCollectionType(DomainCollectionType firstCollectionType,
DomainCollectionType secondCollectionType)
|
boolean |
conformsToLambdaType(DomainLambdaType firstLambdaType,
DomainLambdaType secondLambdaType)
|
boolean |
conformsToTupleType(DomainTupleType firstTupleType,
DomainTupleType secondTupleType)
|
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(DomainCollectionType containerType,
DomainType elementType)
Return the specialized collection type for the containerType for elementType. |
DomainEnumeration |
getEnumeration(org.eclipse.emf.common.util.Enumerator enumerator)
Return the enumeration for a given enumerator. |
DomainType |
getEnumerationType()
Obtains the single instance of the EnumerationType metatype, named
Enumeration. |
DomainInheritance |
getInheritance(DomainType type)
Return the Inheritance dispatch table for a given type. |
DomainType |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named
Integer. |
DomainType |
getMetaType(DomainType type)
Returns the meta-type of a given type. |
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 |
getOclType(java.lang.String typeName)
|
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. |
DomainTypedElement |
getTuplePart(java.lang.String name,
DomainType type)
Obtains the instance of the tuple part description for a name and a type. |
DomainTupleType |
getTupleType(DomainTypedElement... parts)
|
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 |
getType(DomainElement element)
|
DomainType |
getType(org.eclipse.emf.ecore.EClassifier eClassifier)
|
DomainType |
getUnlimitedNaturalType()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural. |
boolean |
isEqualToCollectionType(DomainCollectionType firstCollectionType,
DomainCollectionType secondCollectionType)
|
boolean |
isEqualToTupleType(DomainTupleType firstTupleType,
DomainTupleType secondTupleType)
|
Method Detail |
---|
boolean conformsToCollectionType(DomainCollectionType firstCollectionType, DomainCollectionType secondCollectionType)
boolean conformsToLambdaType(DomainLambdaType firstLambdaType, DomainLambdaType secondLambdaType)
boolean conformsToTupleType(DomainTupleType firstTupleType, DomainTupleType secondTupleType)
DomainType getAnyClassifierType()
DomainClassifierType
metatype, named
AnyClassifier.
AnyClassifier
)DomainType getBagType()
BagType
metatype, named
Bag(T).
BagType
)DomainCollectionType getBagType(DomainType elementType)
DomainType getBooleanType()
PrimitiveType
metatype, named
Boolean.
PrimitiveType
)DomainClassifierType getClassifierType(DomainType classType)
DomainType getCollectionType()
CollectionType
metatype, named
Collection(T).
CollectionType
)DomainCollectionType getCollectionType(DomainCollectionType containerType, DomainType elementType)
DomainEnumeration getEnumeration(org.eclipse.emf.common.util.Enumerator enumerator)
DomainType getEnumerationType()
EnumerationType
metatype, named
Enumeration.
Enumeration
)DomainInheritance getInheritance(DomainType type)
DomainType getIntegerType()
PrimitiveType
metatype, named
Integer.
PrimitiveType
)DomainType getMetaType(DomainType type)
DomainType getOclAnyType()
AnyType
metatype, named
OclAny.
AnyType
)DomainType getOclComparableType()
OclComparable
metatype, named
OclAny.
Class
)DomainType getOclElementType()
Class
metatype, named
OclElement.
Class
)DomainType getOclInvalidType()
InvalidType
metatype, named
OclInvalid.
InvalidType
)DomainType getOclMessageType()
MessageType
metatype, named
OclMessage.
MessageType
)DomainType getOclSelfType()
OclSelf
pseudo-metatype, named
OclSelf.
SelfType
)DomainType getOclSummableType()
OclSummable
metatype, named
OclAny.
Class
)DomainType getOclTupleType()
OclTupleType
metatype, named
OclVoid.
Class
)DomainType getOclType(java.lang.String typeName)
DomainType getOclVoidType()
VoidType
metatype, named
OclVoid.
VoidType
)DomainType getOrderedSetType()
OrderedSetType
metatype, named
OrderedSet(T).
OrderedSetType
)DomainCollectionType getOrderedSetType(DomainType elementType)
DomainType getRealType()
PrimitiveType
metatype, named
Real.
PrimitiveType
)DomainType getSequenceType()
SequenceType
metatype, named
Sequence(T).
SequenceType
)DomainCollectionType getSequenceType(DomainType elementType)
DomainType getSetType()
SetType
metatype, named
Set(T).
SetType
)DomainCollectionType getSetType(DomainType elementType)
DomainType getStringType()
PrimitiveType
metatype, named
String.
PrimitiveType
)DomainTypedElement getTuplePart(java.lang.String name, DomainType type)
DomainTupleType getTupleType(java.util.List<? extends DomainTypedElement> parts)
TupleType
metatype for the given list of parts,
which must be alphabetical order by name.
DomainTupleType getTupleType(DomainTypedElement... parts)
DomainType getType(DomainElement element)
DomainType getType(org.eclipse.emf.ecore.EClassifier eClassifier)
DomainType getUnlimitedNaturalType()
PrimitiveType
metatype,
named UnlimitedNatural.
PrimitiveType
)boolean isEqualToCollectionType(DomainCollectionType firstCollectionType, DomainCollectionType secondCollectionType)
boolean isEqualToTupleType(DomainTupleType firstTupleType, DomainTupleType secondTupleType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |