Class UML 2.3::CreateObjectAction
Description:
A create object action is an action that creates an object that conforms
to a statically specified classifier and puts it on an output pin at runtime.
Direct Superclasses: ActionDirect Subclasses: Class Precedence List: CreateObjectAction,
Action,
ExecutableNode,
ActivityNode,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
classifier :
Classifier (1 1); -- source
CreateObjectAction![](/se-interop/image/down-arrow.png)
result :
OutputPin (1 1); -- source
CreateObjectAction![](/se-interop/image/down-arrow.png)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/right-arrow.png)
localPostcondition :
Constraint (0 *); -- source
Action Constraint that must be satisfied when executed is completed.
{
composite}
Subsets: Element.ownedElement
![](/se-interop/image/down-arrow.png)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png)
activity :
Activity (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode Edges that have the node as source.
Opposite: ActivityEdge.source
![](/se-interop/image/down-arrow.png)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: same_type() : Boolean;
Description: The type of the result pin must be the same as the classifier of the action.
Expression: self.result.type = self.classifier
Signature: multiplicity() : Boolean;
Description: The multiplicity of the output pin is 1..1.
The OCL used here is not normative.Editor's notes: No multiplicity
Expression: self.result.is(1,1)
Original: self.result.multiplicity.is(1,1)
Signature: classifier_not_association_class() : Boolean;
Description: The classifier cannot be an association class
Expression: not self.classifier.oclIsKindOf(AssociationClass)
Signature: classifier_not_abstract() : Boolean;
Description: The classifier cannot be abstract.
Expression: not (self.classifier.isAbstract = #true)
Operations:
No additional operations.
Send questions or comments to
[email protected].