NAME
UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard --
VERSION
1.5
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::UML_1_5::Foundation::Core::ModelElement
ATTRIBUTES
expression
: UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
ASSOCIATIONS
guard
: THIS 0..1
<---> transition
: UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition 1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Behavioral_Elements::State_Machines::Transition
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
composite
- visibility =
private
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard.
__typecheck
UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard-
__validate_type($value)>> is false.
isaGuard
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard. Other receivers will return false.
isaBehavioral_Elements__State_Machines__Guard
Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::State_Machines::Guard. Other receivers will return false. This is the fully qualified version of the isaGuard
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Behavioral_Elements::State_Machines::Guard'
) 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
.
expression
my $val = $obj->expression;
Returns the UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression value of Attribute expression
.
set_expression
$obj->set_expression($val);
Sets the value of Attribute expression
. $val
must be of type UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression or undef
. Returns $obj
.
count_expression
$obj->count_expression;
Returns the number of elements (0 or 1) in expression
.
transition
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