NAME

UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML::MetaModel::Foundation::Core::Class

SUPERCLASSES

UMMF::UML::MetaModel::Foundation::Core::ModelElement

ATTRIBUTES

NO ATTRIBUTES

ASSOCIATIONS

0..1 : event <---> parameter : UMMF::UML::MetaModel::Foundation::Core::Parameter 0..*

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Foundation::Core::Parameter
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering = ordered
isNavigable = 1
aggregation = none
visibility = public
container_type = ARRAY

0..* : deferrableEvent <---> state : UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::State 0..*

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::State
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

0..1 : trigger <---> transition : UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Transition 0

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Transition
multiplicity = 0
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = aggregate
visibility = private
container_type = Set::Object

METHODS

__validate_type

UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event.

__typecheck

UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event-__validate_type($value)>> is false.

isaEvent

Returns true if receiver is a UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Event. Other receivers will return false.

isaBehavioral_Elements__State_Machines__Event

Returns true if receiver is a UMMF::UML::MetaModel::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.

__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::UML::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.

parameter

my @val = $obj->parameter;
my $ary_val = $obj->parameter;

Returns the AssociationEnd parameter values of type UMMF::UML::MetaModel::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.

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.

set_parameter

$obj->set_parameter(@val);

Sets the AssociationEnd parameter value. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::Parameter. Returns $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::MetaModel::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::MetaModel::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::MetaModel::Foundation::Core::Parameter. Returns $obj.

clear_parameter

$obj->clear_parameter;

Clears the AssociationEnd parameter links to UMMF::UML::MetaModel::Foundation::Core::Parameter. Returns $obj.

count_parameter

$obj->count_parameter;

Returns the number of elements associated with parameter.

state

my @val = $obj->state;
my $ary_val = $obj->state;

Returns the AssociationEnd state values of type UMMF::UML::MetaModel::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::MetaModel::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::MetaModel::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::MetaModel::Behavioral_Elements::State_Machines::State. Returns $obj.

clear_state

$obj->clear_state;

Clears the AssociationEnd state links to UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::State. Returns $obj.

count_state

$obj->count_state;

Returns the number of elements associated with state.

transition

my $val = $obj->transition;

Returns the AssociationEnd transition value of type UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Transition.

set_transition

$obj->set_transition($val);

Sets the AssociationEnd transition value. $val must of type UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Transition. Returns $obj.

add_transition

$obj->add_transition($val);

Adds the AssociationEnd transition value. $val must of type UMMF::UML::MetaModel::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::MetaModel::Behavioral_Elements::State_Machines::Transition. Returns $obj.

count_transition

$obj->count_transition;

Returns the number of elements of type UMMF::UML::MetaModel::Behavioral_Elements::State_Machines::Transition associated with transition.

END OF DOCUMENT