|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OCLStandardLibrary<C>
A representation of the OCL Standard Library, which is the set of singleton instances of the OCL-defined metatypes, including the generic collection types (e.g., Set(T)).
See the Environment
class for a description of the
generic type parameters of this class.
Method Summary | |
---|---|
C |
getBag()
Obtains the generic instance of the BagType metatype, named
Bag(T). |
C |
getBoolean()
Obtains the instance of the PrimitiveType metatype, named
Boolean. |
C |
getCollection()
Obtains the generic instance of the CollectionType metatype, named
Collection(T). |
C |
getInteger()
Obtains the instance of the PrimitiveType metatype, named
Integer. |
C |
getInvalid()
Obtains the single instance of the InvalidType metatype, named
Invalid. |
C |
getOclAny()
Obtains the single instance of the AnyType metatype, named
OclAny. |
C |
getOclElement()
Obtains the generic instance of the ElementType metatype, named
OclElement. |
C |
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. |
C |
getOclMessage()
Obtains the generic instance of the MessageType metatype, named
OclMessage. |
C |
getOclType()
Obtains the generic instance of the TypeType metatype, named
OclType. |
C |
getOclVoid()
Obtains the single instance of the VoidType metatype, named
OclVoid. |
C |
getOrderedSet()
Obtains the generic instance of the OrderedSetType metatype, named
OrderedSet(T). |
C |
getReal()
Obtains the instance of the PrimitiveType metatype, named
Real. |
C |
getSequence()
Obtains the generic instance of the SequenceType metatype, named
Sequence(T). |
C |
getSet()
Obtains the generic instance of the SetType metatype, named
Set(T). |
C |
getState()
Obtains the instance of the ElementType metatype that represents
the type of states in the model, named State. |
C |
getString()
Obtains the instance of the PrimitiveType metatype, named
String. |
C |
getT()
Obtains a generic instance of the AnyType metatype that represents
the type parameter of generic types and operations, named T. |
C |
getT2()
Obtains a generic instance of the AnyType metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection operations), named T2. |
C |
getUnlimitedNatural()
Obtains the instance of the PrimitiveType metatype,
named UnlimitedNatural. |
Method Detail |
---|
C getOclAny()
AnyType
metatype, named
OclAny.
AnyType
)C getOclVoid()
VoidType
metatype, named
OclVoid.
VoidType
)C getInvalid()
InvalidType
metatype, named
Invalid.
InvalidType
)Object getOclInvalid()
Invalid
type,
identified by the token OclInvalid.
Invalid
)C getBoolean()
PrimitiveType
metatype, named
Boolean.
PrimitiveType
)C getString()
PrimitiveType
metatype, named
String.
PrimitiveType
)C getReal()
PrimitiveType
metatype, named
Real.
PrimitiveType
)C getInteger()
PrimitiveType
metatype, named
Integer.
PrimitiveType
)C getUnlimitedNatural()
PrimitiveType
metatype,
named UnlimitedNatural.
PrimitiveType
)C getOclType()
TypeType
metatype, named
OclType.
TypeType
)C getOclElement()
ElementType
metatype, named
OclElement.
ElementType
)C getOclMessage()
MessageType
metatype, named
OclMessage.
MessageType
)C getSet()
SetType
metatype, named
Set(T).
SetType
)C getOrderedSet()
OrderedSetType
metatype, named
OrderedSet(T).
OrderedSetType
)C getBag()
BagType
metatype, named
Bag(T).
BagType
)C getSequence()
SequenceType
metatype, named
Sequence(T).
SequenceType
)C getCollection()
CollectionType
metatype, named
Collection(T).
CollectionType
)C getState()
ElementType
metatype that represents
the type of states in the model, named State.
ElementType
)C getOclExpression()
ElementType
metatype that represents
the type of OCL expressions in the model, named OclExpression.
ElementType
)C getT()
AnyType
metatype that represents
the type parameter of generic types and operations, named T.
AnyType
)C getT2()
AnyType
metatype that represents
another type parameter of generic operations (particularly certain
OCL Collection
operations), named T2.
AnyType
)
|
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 |