OCLOperators
No edit summary
No edit summary
Line 10: Line 10:
|All the currently loaded instances
|All the currently loaded instances
|-
|-
|'''AllStates'''
|'''[[OCLOperators allStates|AllStates]]'''
|Meta information about available states in state machines the class may contain
|Meta information about available states in state machines the class may contain
|-
|-

Revision as of 15:34, 13 August 2017

The operations listed do this:

Operators Description
Allinstances All the objects of the class
allinstancesAtTime All the currently loaded instances
AllStates Meta information about available states in state machines the class may contain
allSubClasses Meta information on all the sub classes this class has
AllSuperTypes Meta information on all the super classes – in inheritance order the class has
associationEnds Meta information on all the associationEnds
Asstring The string representation of the class – the asString operation is available on everything
Attributes Meta information about what attributes the class has
Contraints Meta information on what constraints the class has
Emptylist Returns an empty list typed to hold objects of the class
IsDirtyMember
isNull
nullValue A typed null value
objectFromExternalId An external identity will be resolved to the object
oclAsType The type of the class
oclIsKindOf This is to if a class is a subclass or a the class itself and not unrelated
oclIsTypeOf Returns true if
oclSingleton Classes that implements the Singleton pattern – by setting IsSingleton=true – will return the singleton instance with this operator
OclType
safeCast
SuperTypes
TaggedValue Meta information on tagged values set in the class
TaggedValueOnFeature Meta information on Tagged values set on a named feature in the class
Typename The type name as a string
ViewModels A tuple with the ViewModels for this class a members
This page was edited 105 days ago on 01/11/2024. What links here