|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.pivot.utilities.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)
|
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 |
getClassifierType()
Obtains the single instance of the ClassifierType metatype, named
Classifier. |
CollectionType |
getCollectionType()
Obtains the generic instance of the CollectionType metatype, named
Collection(T). |
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. |
InvalidType |
getOclInvalidType()
Obtains the single instance of the InvalidType metatype, named
OclInvalid. |
Type |
getOclMessageType()
Obtains the generic instance of the MessageType metatype, named
OclMessage. |
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. |
TupleType |
getTupleType()
|
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ocl.examples.pivot.StandardLibrary |
---|
conformsTo, conformsTo, getPivotType |
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 BagType getBagType()
StandardLibrary
BagType
metatype, named
Bag(T).
getBagType
in interface StandardLibrary
BagType
)public PrimitiveType getBooleanType()
StandardLibrary
PrimitiveType
metatype, named
Boolean.
getBooleanType
in interface StandardLibrary
PrimitiveType
)public ClassifierType getClassifierType()
StandardLibrary
ClassifierType
metatype, named
Classifier.
getClassifierType
in interface StandardLibrary
Classifier
)public CollectionType getCollectionType()
StandardLibrary
CollectionType
metatype, named
Collection(T).
getCollectionType
in interface StandardLibrary
CollectionType
)public Class getEnumerationType()
StandardLibrary
EnumerationType
metatype, named
Enumeration.
getEnumerationType
in interface StandardLibrary
Enumeration
)public PrimitiveType getIntegerType()
StandardLibrary
PrimitiveType
metatype, named
Integer.
getIntegerType
in interface StandardLibrary
PrimitiveType
)public Type getLibraryType(java.lang.String typeName)
public AnyType getOclAnyType()
StandardLibrary
AnyType
metatype, named
OclAny.
getOclAnyType
in interface StandardLibrary
AnyType
)public InvalidType getOclInvalidType()
StandardLibrary
InvalidType
metatype, named
OclInvalid.
getOclInvalidType
in interface StandardLibrary
InvalidType
)public Type getOclMessageType()
StandardLibrary
MessageType
metatype, named
OclMessage.
getOclMessageType
in interface StandardLibrary
MessageType
)public VoidType getOclVoidType()
StandardLibrary
VoidType
metatype, named
OclVoid.
getOclVoidType
in interface StandardLibrary
VoidType
)public OrderedSetType getOrderedSetType()
StandardLibrary
OrderedSetType
metatype, named
OrderedSet(T).
getOrderedSetType
in interface StandardLibrary
OrderedSetType
)public PrimitiveType getRealType()
StandardLibrary
PrimitiveType
metatype, named
Real.
getRealType
in interface StandardLibrary
PrimitiveType
)public Type getRequiredLibraryType(java.lang.String typeName)
public SequenceType getSequenceType()
StandardLibrary
SequenceType
metatype, named
Sequence(T).
getSequenceType
in interface StandardLibrary
SequenceType
)public SetType getSetType()
StandardLibrary
SetType
metatype, named
Set(T).
getSetType
in interface StandardLibrary
SetType
)public PrimitiveType getStringType()
StandardLibrary
PrimitiveType
metatype, named
String.
getStringType
in interface StandardLibrary
PrimitiveType
)public TupleType getTupleType()
public PrimitiveType getUnlimitedNaturalType()
StandardLibrary
PrimitiveType
metatype,
named UnlimitedNatural.
getUnlimitedNaturalType
in interface StandardLibrary
PrimitiveType
)public boolean isOrdered(Type sourceType)
isOrdered
in interface StandardLibrary
public boolean isUnique(Type sourceType)
isUnique
in interface StandardLibrary
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 |