|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.uml.UMLOCLStandardLibrary
public class UMLOCLStandardLibrary
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 Summary | |
|---|---|
UMLOCLStandardLibrary()
|
|
| Method Summary | |
|---|---|
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. |
Classifier |
getInvalid()
Obtains the single instance of the InvalidType metatype, named
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. |
Object |
getOclInvalid()
Obtains the single instance of the Invalid type,
identified by the token 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UMLOCLStandardLibrary()
| Method Detail |
|---|
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 getInvalid()
OCLStandardLibraryInvalidType metatype, named
Invalid.
getInvalid 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 getOclInvalid()
OCLStandardLibraryInvalid type,
identified by the token OclInvalid.
getOclInvalid 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)public Package 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 | |||||||||