public class UMLOCLStandardLibrary extends Object implements OCLStandardLibrary<Classifier>
An extensible implementation of the OCLStandardLibrary which provides the
OCL Standard Library predefined M1 types and the associated operations related to them.
The UML-based OCL standard library represents a Package 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 and Description |
|---|
UMLOCLStandardLibrary() |
| Modifier and Type | Method and Description |
|---|---|
Classifier |
getBag()
Obtains the generic instance of the
BagType metatype, named
Bag(T). |
Classifier |
getBoolean()
Obtains the instance of the
PrimitiveType metatype, named
Boolean. |
Classifier |
getCollection()
Obtains the generic instance of the
CollectionType metatype, named
Collection(T). |
Classifier |
getInteger()
Obtains the instance of the
PrimitiveType metatype, named
Integer. |
Object |
getInvalid()
Obtains the single instance of the
OclInvalid type,
identified by the token invalid. |
Classifier |
getOclAny()
Obtains the single instance of the
AnyType metatype, named
OclAny. |
Classifier |
getOclElement()
Obtains the generic instance of the
ElementType metatype, named
OclElement. |
Classifier |
getOclExpression()
Obtains the instance of the
ElementType metatype that represents
the type of OCL expressions in the model, named OclExpression. |
Classifier |
getOclInvalid()
Obtains the single instance of the
InvalidType metatype, named
OclInvalid. |
Classifier |
getOclMessage()
Obtains the generic instance of the
MessageType metatype, named
OclMessage. |
Package |
getOCLStdLibPackage() |
Classifier |
getOclType()
Obtains the generic instance of the
TypeType metatype, named
OclType. |
Classifier |
getOclVoid()
Obtains the single instance of the
VoidType metatype, named
OclVoid. |
Classifier |
getOrderedSet()
Obtains the generic instance of the
OrderedSetType metatype, named
OrderedSet(T). |
Classifier |
getReal()
Obtains the instance of the
PrimitiveType metatype, named
Real. |
Classifier |
getSequence()
Obtains the generic instance of the
SequenceType metatype, named
Sequence(T). |
Classifier |
getSet()
Obtains the generic instance of the
SetType metatype, named
Set(T). |
Classifier |
getState()
Obtains the instance of the
ElementType metatype that represents
the type of states in the model, named State. |
Classifier |
getString()
Obtains the instance of the
PrimitiveType metatype, named
String. |
Classifier |
getT()
Obtains a generic instance of the
AnyType metatype that represents
the type parameter of generic types and operations, named T. |
Classifier |
getT2()
Obtains a generic instance of the
AnyType metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection operations), named T2. |
Classifier |
getUnlimitedNatural()
Obtains the instance of the
PrimitiveType metatype,
named UnlimitedNatural. |
public Classifier getBag()
OCLStandardLibraryBagType metatype, named
Bag(T).getBag in interface OCLStandardLibrary<Classifier>BagType)public Classifier getBoolean()
OCLStandardLibraryPrimitiveType metatype, named
Boolean.getBoolean in interface OCLStandardLibrary<Classifier>PrimitiveType)public Classifier getCollection()
OCLStandardLibraryCollectionType metatype, named
Collection(T).getCollection in interface OCLStandardLibrary<Classifier>CollectionType)public Classifier getInteger()
OCLStandardLibraryPrimitiveType metatype, named
Integer.getInteger in interface OCLStandardLibrary<Classifier>PrimitiveType)public Classifier getOclInvalid()
OCLStandardLibraryInvalidType metatype, named
OclInvalid.getOclInvalid in interface OCLStandardLibrary<Classifier>InvalidType)public Classifier getOclAny()
OCLStandardLibraryAnyType metatype, named
OclAny.getOclAny in interface OCLStandardLibrary<Classifier>AnyType)public Classifier getOclElement()
OCLStandardLibraryElementType metatype, named
OclElement.getOclElement in interface OCLStandardLibrary<Classifier>ElementType)public Classifier getOclExpression()
OCLStandardLibraryElementType metatype that represents
the type of OCL expressions in the model, named OclExpression.getOclExpression in interface OCLStandardLibrary<Classifier>ElementType)public Object getInvalid()
OCLStandardLibraryOclInvalid type,
identified by the token invalid.getInvalid in interface OCLStandardLibrary<Classifier>invalid)public Classifier getOclMessage()
OCLStandardLibraryMessageType metatype, named
OclMessage.getOclMessage in interface OCLStandardLibrary<Classifier>MessageType)public Classifier getOclType()
OCLStandardLibraryTypeType metatype, named
OclType.getOclType in interface OCLStandardLibrary<Classifier>TypeType)public Classifier getOclVoid()
OCLStandardLibraryVoidType metatype, named
OclVoid.getOclVoid in interface OCLStandardLibrary<Classifier>VoidType)public Classifier getOrderedSet()
OCLStandardLibraryOrderedSetType metatype, named
OrderedSet(T).getOrderedSet in interface OCLStandardLibrary<Classifier>OrderedSetType)public Classifier getReal()
OCLStandardLibraryPrimitiveType metatype, named
Real.getReal in interface OCLStandardLibrary<Classifier>PrimitiveType)public Classifier getSequence()
OCLStandardLibrarySequenceType metatype, named
Sequence(T).getSequence in interface OCLStandardLibrary<Classifier>SequenceType)public Classifier getSet()
OCLStandardLibrarySetType metatype, named
Set(T).getSet in interface OCLStandardLibrary<Classifier>SetType)public Classifier getState()
OCLStandardLibraryElementType metatype that represents
the type of states in the model, named State.getState in interface OCLStandardLibrary<Classifier>ElementType)public Classifier getString()
OCLStandardLibraryPrimitiveType metatype, named
String.getString in interface OCLStandardLibrary<Classifier>PrimitiveType)public Classifier getT()
OCLStandardLibraryAnyType metatype that represents
the type parameter of generic types and operations, named T.getT in interface OCLStandardLibrary<Classifier>AnyType)public Classifier getT2()
OCLStandardLibraryAnyType metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection operations), named T2.getT2 in interface OCLStandardLibrary<Classifier>AnyType)public Classifier getUnlimitedNatural()
OCLStandardLibraryPrimitiveType metatype,
named UnlimitedNatural.getUnlimitedNatural in interface OCLStandardLibrary<Classifier>PrimitiveType)Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.