UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp --
1.0
UMMF::UML::MetaModel::Foundation::Core::Class
UMMF::UML::MetaModel::OCL::Expressions::OclExpression
NO ATTRIBUTES
1
arguments
0..*
changeable
instance
ordered
none
public
ARRAY
calledOperation
Set::Object
sendSignal
target
__validate_type
UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp.
$value
__typecheck
UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp-
isaOclMessageExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp. Other receivers will return false.
isaOCL__Expressions__OclMessageExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::OclMessageExp. Other receivers will return false. This is the fully qualified version of the isaOclMessageExp method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::OclMessageExp') for an object or package of this Classifier.
'OCL::Expressions::OclMessageExp'
__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::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.
___create
my @val = $obj->arguments; my $ary_val = $obj->arguments;
Returns the AssociationEnd arguments values of type UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. 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_arguments
my $x = $obj->index_arguments($i); my @x = $obj->index_arguments($i, $count);
In scalar context, returns the value of AssociationEnd arguments at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_arguments
my $index = $obj->index_of_arguments($val);
Returns the index of $val in AssociationEnd arguments. Return undef if $val is not in arguments.
$val
undef
set_arguments
$obj->set_arguments(@val);
Sets the AssociationEnd arguments value. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. Returns $obj.
@val
$obj
set_index_arguments
$obj->set_index_arguments($i, $val);
Sets the value of AssociationEnd arguments at index $i. Returns self.
add_arguments
$obj->add_arguments(@val);
Adds AssociationEnd arguments values. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. Returns $obj.
add_index_arguments
$obj->add_index_arguments($i, @val);
Adds AssociationEnd arguments values at index $i. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. Returns $obj.
remove_arguments
$obj->remove_arguments(@val);
Removes the AssociationEnd arguments values @val. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. Returns $obj.
clear_arguments
$obj->clear_arguments;
Clears the AssociationEnd arguments links to UMMF::UML::MetaModel::OCL::Expressions::OclMessageArg. Returns $obj.
count_arguments
$obj->count_arguments;
Returns the number of elements associated with arguments.
my $val = $obj->calledOperation;
Returns the AssociationEnd calledOperation value of type UMMF::UML::MetaModel::OCL::Expressions::CallAction.
set_calledOperation
$obj->set_calledOperation($val);
Sets the AssociationEnd calledOperation value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::CallAction. Returns $obj.
add_calledOperation
$obj->add_calledOperation($val);
Adds the AssociationEnd calledOperation value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::CallAction. Throws exception if a value already exists. Returns $obj.
remove_calledOperation
$obj->remove_calledOperation($val);
Removes the AssociationEnd calledOperation value $val. Returns $obj.
clear_calledOperation
$obj->clear_calledOperation;
Clears the AssociationEnd calledOperation links to UMMF::UML::MetaModel::OCL::Expressions::CallAction. Returns $obj.
count_calledOperation
$obj->count_calledOperation;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::CallAction associated with calledOperation.
my $val = $obj->sendSignal;
Returns the AssociationEnd sendSignal value of type UMMF::UML::MetaModel::OCL::Expressions::SendAction.
set_sendSignal
$obj->set_sendSignal($val);
Sets the AssociationEnd sendSignal value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::SendAction. Returns $obj.
add_sendSignal
$obj->add_sendSignal($val);
Adds the AssociationEnd sendSignal value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::SendAction. Throws exception if a value already exists. Returns $obj.
remove_sendSignal
$obj->remove_sendSignal($val);
Removes the AssociationEnd sendSignal value $val. Returns $obj.
clear_sendSignal
$obj->clear_sendSignal;
Clears the AssociationEnd sendSignal links to UMMF::UML::MetaModel::OCL::Expressions::SendAction. Returns $obj.
count_sendSignal
$obj->count_sendSignal;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::SendAction associated with sendSignal.
my $val = $obj->target;
Returns the AssociationEnd target value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.
set_target
$obj->set_target($val);
Sets the AssociationEnd target value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.
add_target
$obj->add_target($val);
Adds the AssociationEnd target value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_target
$obj->remove_target($val);
Removes the AssociationEnd target value $val. Returns $obj.
clear_target
$obj->clear_target;
Clears the AssociationEnd target links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.
count_target
$obj->count_target;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with target.
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.