UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
NO ATTRIBUTES
event
0..1
parameter
0..*
changeable
instance
ordered
1
none
public
ARRAY
deferrableEvent
state
private
Set::Object
trigger
transition
0
aggregate
__validate_type
UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event.
$value
__typecheck
UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event-
isaEvent
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event. Other receivers will return false.
isaBehavioral_Elements__State_Machines__Event
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::Event. Other receivers will return false. This is the fully qualified version of the isaEvent method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Behavioral_Elements::State_Machines::Event') for an object or package of this Classifier.
'Behavioral_Elements::State_Machines::Event'
__isAbstract
$package->__isAbstract;
Returns 1.
__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->parameter; my $ary_val = $obj->parameter;
Returns the AssociationEnd parameter values of type UMMF::UML_1_5::Foundation::Core::Parameter. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.
index_parameter
my $x = $obj->index_parameter($i); my @x = $obj->index_parameter($i, $count);
In scalar context, returns the value of AssociationEnd parameter at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_parameter
my $index = $obj->index_of_parameter($val);
Returns the index of $val in AssociationEnd parameter. Return undef if $val is not in parameter.
$val
undef
set_parameter
$obj->set_parameter(@val);
Sets the AssociationEnd parameter value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.
@val
$obj
set_index_parameter
$obj->set_index_parameter($i, $val);
Sets the value of AssociationEnd parameter at index $i. Returns self.
add_parameter
$obj->add_parameter(@val);
Adds AssociationEnd parameter values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.
add_index_parameter
$obj->add_index_parameter($i, @val);
Adds AssociationEnd parameter values at index $i. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.
remove_parameter
$obj->remove_parameter(@val);
Removes the AssociationEnd parameter values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.
clear_parameter
$obj->clear_parameter;
Clears the AssociationEnd parameter links to UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.
count_parameter
$obj->count_parameter;
Returns the number of elements associated with parameter.
my @val = $obj->state; my $ary_val = $obj->state;
Returns the AssociationEnd state values of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. 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_state
$obj->set_state(@val);
Sets the AssociationEnd state value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj.
add_state
$obj->add_state(@val);
Adds AssociationEnd state values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj.
remove_state
$obj->remove_state(@val);
Removes the AssociationEnd state values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj.
clear_state
$obj->clear_state;
Clears the AssociationEnd state links to UMMF::UML_1_5::Behavioral_Elements::State_Machines::State. Returns $obj.
count_state
$obj->count_state;
Returns the number of elements associated with state.
my $val = $obj->transition;
Returns the AssociationEnd transition value of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition.
set_transition
$obj->set_transition($val);
Sets the AssociationEnd transition value. $val must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj.
add_transition
$obj->add_transition($val);
Adds the AssociationEnd transition value. $val must of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Throws exception if a value already exists. Returns $obj.
remove_transition
$obj->remove_transition($val);
Removes the AssociationEnd transition value $val. Returns $obj.
clear_transition
$obj->clear_transition;
Clears the AssociationEnd transition links to UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition. Returns $obj.
count_transition
$obj->count_transition;
Returns the number of elements of type UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition associated with transition.
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.