UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
NO ATTRIBUTES
behavior
0..*
context
0..1
changeable
instance
1
aggregate
public
Set::Object
submachine
submachineState
none
private
stateMachine
top
transitions
__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.
$value
__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.
confess()
$msg
<UMMF::UML_1_5::Behavioral_Elements::State_Machines::StateMachine-
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.
'Behavioral_Elements::State_Machines::StateMachine'
__isAbstract
$package->__isAbstract;
Returns 0.
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.
___create
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.
$val
$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.
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.
@val
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.
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.
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
To install UMMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UMMF
CPAN shell
perl -MCPAN -e shell install UMMF
For more information on module installation, please visit the detailed CPAN module installation guide.