NAME
UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine --
VERSION
1.5
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::UML_1_5::Foundation::Core::ModelElement
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
behavior
: THIS 0..*
<---> context
: UMMF::UML_1_5::Foundation::Core::ModelElement 0..1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::ModelElement
- multiplicity =
0..1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
aggregate
- visibility =
public
- container_type =
Set::Object
submachine
: THIS 1
<---> submachineState
: UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
private
- container_type =
Set::Object
stateMachine
: THIS 0..1
<---> top
: UMMF::UML_1_5::Behavioral_Elements::State_Machines::State 1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Behavioral_Elements::State_Machines::State
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
stateMachine
: THIS 0..1
<---> transitions
: UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine.
__typecheck
UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine-
__validate_type($value)>> is false.
isaStateMachine
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine. Other receivers will return false.
isaBehavioral_Elements__State_Machines__StateMachine
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine. Other receivers will return false. This is the fully qualified version of the isaStateMachine
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Behavioral_Elements::State_Machines::StateMachine'
) for an object or package of this Classifier.
__isAbstract
$package->__isAbstract;
Returns 0
.
__tangram_schema
my $tangram_schema $obj_or_package->__tangram_schema
Returns a HASH ref that describes this Classifier for Tangram.
See UMMF::Export::Perl::Tangram
___initialize
Initialize all Attributes and AssociationEnds in a instance of this Classifier. Does not initalize slots in its Generalizations.
See also: __initialize
.
__initialize
Initialize all slots in this Classifier and all its Generalizations.
See also: ___initialize
.
__create
Calls all <<create>> Methods for this Classifier and all Generalizations.
See also: ___create
.
context
my $val = $obj->context;
Returns the AssociationEnd context
value of type UMMF::UML_1_5::Foundation::Core::ModelElement.
set_context
$obj->set_context($val);
Sets the AssociationEnd context
value. $val
must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj
.
add_context
$obj->add_context($val);
Adds the AssociationEnd context
value. $val
must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Throws exception if a value already exists. Returns $obj
.
remove_context
$obj->remove_context($val);
Removes the AssociationEnd context
value $val
. Returns $obj
.
clear_context
$obj->clear_context;
Clears the AssociationEnd context
links to UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj
.
count_context
$obj->count_context;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::ModelElement associated with context
.
submachineState
my @val = $obj->submachineState;
my $ary_val = $obj->submachineState;
Returns the AssociationEnd submachineState
values of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.
set_submachineState
$obj->set_submachineState(@val);
Sets the AssociationEnd submachineState
value. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState. Returns $obj
.
add_submachineState
$obj->add_submachineState(@val);
Adds AssociationEnd submachineState
values. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState. Returns $obj
.
remove_submachineState
$obj->remove_submachineState(@val);
Removes the AssociationEnd submachineState
values @val
. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState. Returns $obj
.
clear_submachineState
$obj->clear_submachineState;
Clears the AssociationEnd submachineState
links to UMMF::UML_1_5::Behavioral_Elements::State_Machines::SubmachineState. Returns $obj
.
count_submachineState
$obj->count_submachineState;
Returns the number of elements associated with submachineState
.
top
my $val = $obj->top;
Returns the AssociationEnd top
value of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State.
set_top
$obj->set_top($val);
Sets the AssociationEnd top
value. $val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj
.
add_top
$obj->add_top($val);
Adds the AssociationEnd top
value. $val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Throws exception if a value already exists. Returns $obj
.
remove_top
$obj->remove_top($val);
Removes the AssociationEnd top
value $val
. Returns $obj
.
clear_top
$obj->clear_top;
Clears the AssociationEnd top
links to UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj
.
count_top
$obj->count_top;
Returns the number of elements of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State associated with top
.
transitions
my @val = $obj->transitions;
my $ary_val = $obj->transitions;
Returns the AssociationEnd transitions
values of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.
set_transitions
$obj->set_transitions(@val);
Sets the AssociationEnd transitions
value. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj
.
add_transitions
$obj->add_transitions(@val);
Adds AssociationEnd transitions
values. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj
.
remove_transitions
$obj->remove_transitions(@val);
Removes the AssociationEnd transitions
values @val
. Elements of @val
must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj
.
clear_transitions
$obj->clear_transitions;
Clears the AssociationEnd transitions
links to UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj
.
count_transitions
$obj->count_transitions;
Returns the number of elements associated with transitions
.
END OF DOCUMENT