UMMF::UML_1_5::OCL::Expressions::IfExp --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::OCL::Expressions::OclExpression
NO ATTRIBUTES
0..1
condition
1
changeable
instance
none
public
Set::Object
elseExpression
thenExpression
__validate_type
UMMF::UML_1_5::OCL::Expressions::IfExp->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::OCL::Expressions::IfExp.
$value
__typecheck
UMMF::UML_1_5::OCL::Expressions::IfExp->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::OCL::Expressions::IfExp-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::OCL::Expressions::IfExp-
isaIfExp
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::IfExp. Other receivers will return false.
isaOCL__Expressions__IfExp
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::IfExp. Other receivers will return false. This is the fully qualified version of the isaIfExp method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::IfExp') for an object or package of this Classifier.
'OCL::Expressions::IfExp'
__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->condition;
Returns the AssociationEnd condition value of type UMMF::UML_1_5::OCL::Expressions::OclExpression.
set_condition
$obj->set_condition($val);
Sets the AssociationEnd condition value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
$val
$obj
add_condition
$obj->add_condition($val);
Adds the AssociationEnd condition value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_condition
$obj->remove_condition($val);
Removes the AssociationEnd condition value $val. Returns $obj.
clear_condition
$obj->clear_condition;
Clears the AssociationEnd condition links to UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
count_condition
$obj->count_condition;
Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OclExpression associated with condition.
my $val = $obj->elseExpression;
Returns the AssociationEnd elseExpression value of type UMMF::UML_1_5::OCL::Expressions::OclExpression.
set_elseExpression
$obj->set_elseExpression($val);
Sets the AssociationEnd elseExpression value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
add_elseExpression
$obj->add_elseExpression($val);
Adds the AssociationEnd elseExpression value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_elseExpression
$obj->remove_elseExpression($val);
Removes the AssociationEnd elseExpression value $val. Returns $obj.
clear_elseExpression
$obj->clear_elseExpression;
Clears the AssociationEnd elseExpression links to UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
count_elseExpression
$obj->count_elseExpression;
Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OclExpression associated with elseExpression.
my $val = $obj->thenExpression;
Returns the AssociationEnd thenExpression value of type UMMF::UML_1_5::OCL::Expressions::OclExpression.
set_thenExpression
$obj->set_thenExpression($val);
Sets the AssociationEnd thenExpression value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
add_thenExpression
$obj->add_thenExpression($val);
Adds the AssociationEnd thenExpression value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_thenExpression
$obj->remove_thenExpression($val);
Removes the AssociationEnd thenExpression value $val. Returns $obj.
clear_thenExpression
$obj->clear_thenExpression;
Clears the AssociationEnd thenExpression links to UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
count_thenExpression
$obj->count_thenExpression;
Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OclExpression associated with thenExpression.
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.