UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp --
1.0
UMMF::UML::MetaModel::Foundation::Core::Class
UMMF::UML::MetaModel::OCL::Expressions::ModelPropertyCallExp
NO ATTRIBUTES
0..1
parentOperation
arguments
0..*
changeable
instance
ordered
1
none
public
ARRAY
referredOperation
Set::Object
__validate_type
UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp.
$value
__typecheck
UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp-
isaOperationCallExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp. Other receivers will return false.
isaOCL__Expressions__OperationCallExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::OperationCallExp. Other receivers will return false. This is the fully qualified version of the isaOperationCallExp method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::OperationCallExp') for an object or package of this Classifier.
'OCL::Expressions::OperationCallExp'
__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::OclExpression. 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::OclExpression. 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::OclExpression. 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::OclExpression. 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::OclExpression. Returns $obj.
clear_arguments
$obj->clear_arguments;
Clears the AssociationEnd arguments links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.
count_arguments
$obj->count_arguments;
Returns the number of elements associated with arguments.
my $val = $obj->referredOperation;
Returns the AssociationEnd referredOperation value of type UMMF::UML::MetaModel::Foundation::Core::Operation.
set_referredOperation
$obj->set_referredOperation($val);
Sets the AssociationEnd referredOperation value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Operation. Returns $obj.
add_referredOperation
$obj->add_referredOperation($val);
Adds the AssociationEnd referredOperation value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Operation. Throws exception if a value already exists. Returns $obj.
remove_referredOperation
$obj->remove_referredOperation($val);
Removes the AssociationEnd referredOperation value $val. Returns $obj.
clear_referredOperation
$obj->clear_referredOperation;
Clears the AssociationEnd referredOperation links to UMMF::UML::MetaModel::Foundation::Core::Operation. Returns $obj.
count_referredOperation
$obj->count_referredOperation;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Operation associated with referredOperation.
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.