|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.ecore.EcoreOCLStandardLibrary
public class EcoreOCLStandardLibrary
An extensible implementation of the OCLStandardLibrary
which provides the
OCL Standard Library predefined M1 types and the associated operations related to them.
The Ecore-based OCL Standard library represents an EPackage
which owns all the predefined
OCL types defined by the specification. The library itself is built by the the internal internal
OCLStandardLibraryImpl
singleton.
OCLStandardLibraryImpl
Constructor Summary | |
---|---|
EcoreOCLStandardLibrary()
|
Method Summary | |
---|---|
EClassifier |
getBag()
Obtains the generic instance of the BagType metatype, named
Bag(T). |
EClassifier |
getBoolean()
Obtains the instance of the PrimitiveType metatype, named
Boolean. |
EClassifier |
getCollection()
Obtains the generic instance of the CollectionType metatype, named
Collection(T). |
EClassifier |
getInteger()
Obtains the instance of the PrimitiveType metatype, named
Integer. |
java.lang.Object |
getInvalid()
Obtains the single instance of the OclInvalid type,
identified by the token invalid. |
EClassifier |
getOclAny()
Obtains the single instance of the AnyType metatype, named
OclAny. |
EClassifier |
getOclElement()
Obtains the generic instance of the ElementType metatype, named
OclElement. |
EClassifier |
getOclExpression()
Obtains the instance of the ElementType metatype that represents
the type of OCL expressions in the model, named OclExpression. |
EClassifier |
getOclInvalid()
Obtains the single instance of the InvalidType metatype, named
OclInvalid. |
EClassifier |
getOclMessage()
Obtains the generic instance of the MessageType metatype, named
OclMessage. |
EPackage |
getOCLStdLibPackage()
|
EClassifier |
getOclType()
Obtains the generic instance of the TypeType metatype, named
OclType. |
EClassifier |
getOclVoid()
Obtains the single instance of the VoidType metatype, named
OclVoid. |
EClassifier |
getOrderedSet()
Obtains the generic instance of the OrderedSetType metatype, named
OrderedSet(T). |
EClassifier |
getReal()
Obtains the instance of the PrimitiveType metatype, named
Real. |
EClassifier |
getSequence()
Obtains the generic instance of the SequenceType metatype, named
Sequence(T). |
EClassifier |
getSet()
Obtains the generic instance of the SetType metatype, named
Set(T). |
EClassifier |
getState()
Obtains the instance of the ElementType metatype that represents
the type of states in the model, named State. |
EClassifier |
getString()
Obtains the instance of the PrimitiveType metatype, named
String. |
EClassifier |
getT()
Obtains a generic instance of the AnyType metatype that represents
the type parameter of generic types and operations, named T. |
EClassifier |
getT2()
Obtains a generic instance of the AnyType metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection operations), named T2. |
EClassifier |
getUnlimitedNatural()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EcoreOCLStandardLibrary()
Method Detail |
---|
public EClassifier getBag()
OCLStandardLibrary
BagType
metatype, named
Bag(T).
getBag
in interface OCLStandardLibrary<EClassifier>
BagType
)public EClassifier getBoolean()
OCLStandardLibrary
PrimitiveType
metatype, named
Boolean.
getBoolean
in interface OCLStandardLibrary<EClassifier>
PrimitiveType
)public EClassifier getCollection()
OCLStandardLibrary
CollectionType
metatype, named
Collection(T).
getCollection
in interface OCLStandardLibrary<EClassifier>
CollectionType
)public EClassifier getInteger()
OCLStandardLibrary
PrimitiveType
metatype, named
Integer.
getInteger
in interface OCLStandardLibrary<EClassifier>
PrimitiveType
)public EClassifier getOclInvalid()
OCLStandardLibrary
InvalidType
metatype, named
OclInvalid.
getOclInvalid
in interface OCLStandardLibrary<EClassifier>
InvalidType
)public EClassifier getOclAny()
OCLStandardLibrary
AnyType
metatype, named
OclAny.
getOclAny
in interface OCLStandardLibrary<EClassifier>
AnyType
)public EClassifier getOclElement()
OCLStandardLibrary
ElementType
metatype, named
OclElement.
getOclElement
in interface OCLStandardLibrary<EClassifier>
ElementType
)public EClassifier getOclExpression()
OCLStandardLibrary
ElementType
metatype that represents
the type of OCL expressions in the model, named OclExpression.
getOclExpression
in interface OCLStandardLibrary<EClassifier>
ElementType
)public java.lang.Object getInvalid()
OCLStandardLibrary
OclInvalid
type,
identified by the token invalid.
getInvalid
in interface OCLStandardLibrary<EClassifier>
invalid
)public EClassifier getOclMessage()
OCLStandardLibrary
MessageType
metatype, named
OclMessage.
getOclMessage
in interface OCLStandardLibrary<EClassifier>
MessageType
)public EClassifier getOclType()
OCLStandardLibrary
TypeType
metatype, named
OclType.
getOclType
in interface OCLStandardLibrary<EClassifier>
TypeType
)public EClassifier getOclVoid()
OCLStandardLibrary
VoidType
metatype, named
OclVoid.
getOclVoid
in interface OCLStandardLibrary<EClassifier>
VoidType
)public EClassifier getOrderedSet()
OCLStandardLibrary
OrderedSetType
metatype, named
OrderedSet(T).
getOrderedSet
in interface OCLStandardLibrary<EClassifier>
OrderedSetType
)public EClassifier getReal()
OCLStandardLibrary
PrimitiveType
metatype, named
Real.
getReal
in interface OCLStandardLibrary<EClassifier>
PrimitiveType
)public EClassifier getSequence()
OCLStandardLibrary
SequenceType
metatype, named
Sequence(T).
getSequence
in interface OCLStandardLibrary<EClassifier>
SequenceType
)public EClassifier getSet()
OCLStandardLibrary
SetType
metatype, named
Set(T).
getSet
in interface OCLStandardLibrary<EClassifier>
SetType
)public EClassifier getState()
OCLStandardLibrary
ElementType
metatype that represents
the type of states in the model, named State.
getState
in interface OCLStandardLibrary<EClassifier>
ElementType
)public EClassifier getString()
OCLStandardLibrary
PrimitiveType
metatype, named
String.
getString
in interface OCLStandardLibrary<EClassifier>
PrimitiveType
)public EClassifier getT()
OCLStandardLibrary
AnyType
metatype that represents
the type parameter of generic types and operations, named T.
getT
in interface OCLStandardLibrary<EClassifier>
AnyType
)public EClassifier getT2()
OCLStandardLibrary
AnyType
metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection
operations), named T2.
getT2
in interface OCLStandardLibrary<EClassifier>
AnyType
)public EClassifier getUnlimitedNatural()
OCLStandardLibrary
PrimitiveType
metatype,
named UnlimitedNatural.
getUnlimitedNatural
in interface OCLStandardLibrary<EClassifier>
PrimitiveType
)public EPackage getOCLStdLibPackage()
EPackage
which contains the OCL predefined types.
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |