|
||||||||||
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.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 AbstractStandardLibrary
public ClassifierType getAnyClassifierType()
DomainStandardLibrary
DomainClassifierType
metatype, named
AnyClassifier.
AnyClassifier
)public BagType getBagType()
DomainStandardLibrary
BagType
metatype, named
Bag(T).
BagType
)public PrimitiveType getBooleanType()
DomainStandardLibrary
PrimitiveType
metatype, named
Boolean.
PrimitiveType
)public Class getClassType()
public ClassifierType getClassClassifierType()
public ClassifierType getCollectionClassifierType()
public CollectionType getCollectionType()
DomainStandardLibrary
CollectionType
metatype, named
Collection(T).
CollectionType
)public ClassifierType getEnumerationClassifierType()
public Class getEnumerationType()
DomainStandardLibrary
EnumerationType
metatype, named
Enumeration.
Enumeration
)public PrimitiveType getIntegerType()
DomainStandardLibrary
PrimitiveType
metatype, named
Integer.
PrimitiveType
)public Type getLibraryType(java.lang.String typeName)
public AnyType getOclAnyType()
DomainStandardLibrary
AnyType
metatype, named
OclAny.
AnyType
)public Class getOclComparableType()
DomainStandardLibrary
OclComparable
metatype, named
OclAny.
Class
)public Class getOclElementType()
DomainStandardLibrary
Class
metatype, named
OclElement.
Class
)public InvalidType getOclInvalidType()
DomainStandardLibrary
InvalidType
metatype, named
OclInvalid.
InvalidType
)public Class getOclLambdaType()
public Type getOclMessageType()
DomainStandardLibrary
MessageType
metatype, named
OclMessage.
MessageType
)public SelfType getOclSelfType()
DomainStandardLibrary
OclSelf
pseudo-metatype, named
OclSelf.
SelfType
)public Class getOclSummableType()
DomainStandardLibrary
OclSummable
metatype, named
OclAny.
Class
)public Class getOclTupleType()
DomainStandardLibrary
OclTupleType
metatype, named
OclVoid.
Class
)public VoidType getOclVoidType()
DomainStandardLibrary
VoidType
metatype, named
OclVoid.
VoidType
)public OrderedSetType getOrderedSetType()
DomainStandardLibrary
OrderedSetType
metatype, named
OrderedSet(T).
OrderedSetType
)public PrimitiveType getRealType()
DomainStandardLibrary
PrimitiveType
metatype, named
Real.
PrimitiveType
)public Type getRequiredLibraryType(java.lang.String typeName)
public SequenceType getSequenceType()
DomainStandardLibrary
SequenceType
metatype, named
Sequence(T).
SequenceType
)public SetType getSetType()
DomainStandardLibrary
SetType
metatype, named
Set(T).
SetType
)public PrimitiveType getStringType()
DomainStandardLibrary
PrimitiveType
metatype, named
String.
PrimitiveType
)public PrimitiveType getUnlimitedNaturalType()
DomainStandardLibrary
PrimitiveType
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 |