|
||||||||||
| 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.pivot.manager.PivotStandardLibrary
public abstract class PivotStandardLibrary
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_OCL_STDLIB_URI
The URI used by default for the MDT/OCL Standard Library. |
protected java.lang.String |
defaultStandardLibraryURI
The URI to provide the default Standard Library. |
| Constructor Summary | |
|---|---|
PivotStandardLibrary()
|
|
| Method Summary | |
|---|---|
protected void |
defineLibraryType(Type pivotType)
|
void |
dispose()
|
ClassifierType |
getAnyClassifierType()
Obtains the single instance of the DomainClassifierType metatype, named
AnyClassifier. |
BagType |
getBagType()
Obtains the generic instance of the BagType metatype, named
Bag(T). |
PrimitiveType |
getBooleanType()
Obtains the instance of the PrimitiveType metatype, named
Boolean. |
ClassifierType |
getClassClassifierType()
|
Class |
getClassType()
|
ClassifierType |
getCollectionClassifierType()
|
CollectionType |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named
Collection(T). |
ClassifierType |
getEnumerationClassifierType()
|
Class |
getEnumerationType()
Obtains the single instance of the EnumerationType metatype, named
Enumeration. |
PrimitiveType |
getIntegerType()
Obtains the instance of the PrimitiveType metatype, named
Integer. |
Type |
getLibraryType(java.lang.String typeName)
|
AnyType |
getOclAnyType()
Obtains the single instance of the AnyType metatype, named
OclAny. |
Class |
getOclComparableType()
Obtains the single instance of the OclComparable metatype, named
OclAny. |
Class |
getOclElementType()
Obtains the single instance of the Class metatype, named
OclElement. |
InvalidType |
getOclInvalidType()
Obtains the single instance of the InvalidType metatype, named
OclInvalid. |
Class |
getOclLambdaType()
|
Type |
getOclMessageType()
Obtains the generic instance of the MessageType metatype, named
OclMessage. |
SelfType |
getOclSelfType()
Obtains the single instance of the OclSelf pseudo-metatype, named
OclSelf. |
Class |
getOclSummableType()
Obtains the single instance of the OclSummable metatype, named
OclAny. |
Class |
getOclTupleType()
Obtains the single instance of the OclTupleType metatype, named
OclVoid. |
VoidType |
getOclVoidType()
Obtains the single instance of the VoidType metatype, named
OclVoid. |
OrderedSetType |
getOrderedSetType()
Obtains the generic instance of the OrderedSetType metatype, named
OrderedSet(T). |
PrimitiveType |
getRealType()
Obtains the instance of the PrimitiveType metatype, named
Real. |
Type |
getRequiredLibraryType(java.lang.String typeName)
|
SequenceType |
getSequenceType()
Obtains the generic instance of the SequenceType metatype, named
Sequence(T). |
SetType |
getSetType()
Obtains the generic instance of the SetType metatype, named
Set(T). |
PrimitiveType |
getStringType()
Obtains the instance of the PrimitiveType metatype, named
String. |
PrimitiveType |
getUnlimitedNaturalType()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural. |
boolean |
isOrdered(Type sourceType)
|
boolean |
isUnique(Type sourceType)
|
protected abstract org.eclipse.emf.ecore.resource.Resource |
loadDefaultLibrary(java.lang.String uri)
|
void |
resetLibrary()
|
| Methods inherited from class org.eclipse.ocl.examples.domain.types.AbstractStandardLibrary |
|---|
conformsToCollectionType, conformsToLambdaType, conformsToTupleType, 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 |
|---|
getBagType, getClassifierType, getInheritance, getOclType, getOrderedSetType, getSequenceType, getSetType, getTupleType, getType |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_OCL_STDLIB_URI
protected java.lang.String defaultStandardLibraryURI
| Constructor Detail |
|---|
public PivotStandardLibrary()
| Method Detail |
|---|
protected void defineLibraryType(Type pivotType)
public void dispose()
dispose in class AbstractStandardLibrarypublic ClassifierType getAnyClassifierType()
DomainStandardLibraryDomainClassifierType metatype, named
AnyClassifier.
AnyClassifier)public BagType getBagType()
DomainStandardLibraryBagType metatype, named
Bag(T).
BagType)public PrimitiveType getBooleanType()
DomainStandardLibraryPrimitiveType metatype, named
Boolean.
PrimitiveType)public Class getClassType()
public ClassifierType getClassClassifierType()
public ClassifierType getCollectionClassifierType()
public CollectionType getCollectionType()
DomainStandardLibraryCollectionType metatype, named
Collection(T).
CollectionType)public ClassifierType getEnumerationClassifierType()
public Class getEnumerationType()
DomainStandardLibraryEnumerationType metatype, named
Enumeration.
Enumeration)public PrimitiveType getIntegerType()
DomainStandardLibraryPrimitiveType metatype, named
Integer.
PrimitiveType)public Type getLibraryType(java.lang.String typeName)
public AnyType getOclAnyType()
DomainStandardLibraryAnyType metatype, named
OclAny.
AnyType)public Class getOclComparableType()
DomainStandardLibraryOclComparable metatype, named
OclAny.
Class)public Class getOclElementType()
DomainStandardLibraryClass metatype, named
OclElement.
Class)public InvalidType getOclInvalidType()
DomainStandardLibraryInvalidType metatype, named
OclInvalid.
InvalidType)public Class getOclLambdaType()
public Type getOclMessageType()
DomainStandardLibraryMessageType metatype, named
OclMessage.
MessageType)public SelfType getOclSelfType()
DomainStandardLibraryOclSelf pseudo-metatype, named
OclSelf.
SelfType)public Class getOclSummableType()
DomainStandardLibraryOclSummable metatype, named
OclAny.
Class)public Class getOclTupleType()
DomainStandardLibraryOclTupleType metatype, named
OclVoid.
Class)public VoidType getOclVoidType()
DomainStandardLibraryVoidType metatype, named
OclVoid.
VoidType)public OrderedSetType getOrderedSetType()
DomainStandardLibraryOrderedSetType metatype, named
OrderedSet(T).
OrderedSetType)public PrimitiveType getRealType()
DomainStandardLibraryPrimitiveType metatype, named
Real.
PrimitiveType)public Type getRequiredLibraryType(java.lang.String typeName)
public SequenceType getSequenceType()
DomainStandardLibrarySequenceType metatype, named
Sequence(T).
SequenceType)public SetType getSetType()
DomainStandardLibrarySetType metatype, named
Set(T).
SetType)public PrimitiveType getStringType()
DomainStandardLibraryPrimitiveType metatype, named
String.
PrimitiveType)public PrimitiveType getUnlimitedNaturalType()
DomainStandardLibraryPrimitiveType metatype,
named UnlimitedNatural.
PrimitiveType)public boolean isOrdered(Type sourceType)
public boolean isUnique(Type sourceType)
protected abstract org.eclipse.emf.ecore.resource.Resource loadDefaultLibrary(java.lang.String uri)
public void resetLibrary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||