UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration --
1.0
UMMF::UML::MetaModel::Foundation::Core::Class
UMMF::UML::MetaModel::Foundation::Core::Element
NO ATTRIBUTES
1
result
baseExpr
0..1
changeable
instance
composite
public
Set::Object
initializedVariable
initExpression
none
1..*
iterators
loopExpr
0..*
tuplePart
tupleLiteralExp
private
type
variable
0
referredVariable
variableExp
__validate_type
UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration.
$value
__typecheck
UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration-
isaVariableDeclaration
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration. Other receivers will return false.
isaOCL__Expressions__VariableDeclaration
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::VariableDeclaration. Other receivers will return false. This is the fully qualified version of the isaVariableDeclaration method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::VariableDeclaration') for an object or package of this Classifier.
'OCL::Expressions::VariableDeclaration'
__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::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->baseExpr;
Returns the AssociationEnd baseExpr value of type UMMF::UML::MetaModel::OCL::Expressions::IterateExp.
set_baseExpr
$obj->set_baseExpr($val);
Sets the AssociationEnd baseExpr value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::IterateExp. Returns $obj.
$val
$obj
add_baseExpr
$obj->add_baseExpr($val);
Adds the AssociationEnd baseExpr value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::IterateExp. Throws exception if a value already exists. Returns $obj.
remove_baseExpr
$obj->remove_baseExpr($val);
Removes the AssociationEnd baseExpr value $val. Returns $obj.
clear_baseExpr
$obj->clear_baseExpr;
Clears the AssociationEnd baseExpr links to UMMF::UML::MetaModel::OCL::Expressions::IterateExp. Returns $obj.
count_baseExpr
$obj->count_baseExpr;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::IterateExp associated with baseExpr.
my $val = $obj->initExpression;
Returns the AssociationEnd initExpression value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.
set_initExpression
$obj->set_initExpression($val);
Sets the AssociationEnd initExpression value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.
add_initExpression
$obj->add_initExpression($val);
Adds the AssociationEnd initExpression value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_initExpression
$obj->remove_initExpression($val);
Removes the AssociationEnd initExpression value $val. Returns $obj.
clear_initExpression
$obj->clear_initExpression;
Clears the AssociationEnd initExpression links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.
count_initExpression
$obj->count_initExpression;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with initExpression.
my $val = $obj->loopExpr;
Returns the AssociationEnd loopExpr value of type UMMF::UML::MetaModel::OCL::Expressions::LoopExp.
set_loopExpr
$obj->set_loopExpr($val);
Sets the AssociationEnd loopExpr value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::LoopExp. Returns $obj.
add_loopExpr
$obj->add_loopExpr($val);
Adds the AssociationEnd loopExpr value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::LoopExp. Throws exception if a value already exists. Returns $obj.
remove_loopExpr
$obj->remove_loopExpr($val);
Removes the AssociationEnd loopExpr value $val. Returns $obj.
clear_loopExpr
$obj->clear_loopExpr;
Clears the AssociationEnd loopExpr links to UMMF::UML::MetaModel::OCL::Expressions::LoopExp. Returns $obj.
count_loopExpr
$obj->count_loopExpr;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::LoopExp associated with loopExpr.
my $val = $obj->tupleLiteralExp;
Returns the AssociationEnd tupleLiteralExp value of type UMMF::UML::MetaModel::OCL::Expressions::TupleLiteralExp.
set_tupleLiteralExp
$obj->set_tupleLiteralExp($val);
Sets the AssociationEnd tupleLiteralExp value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::TupleLiteralExp. Returns $obj.
add_tupleLiteralExp
$obj->add_tupleLiteralExp($val);
Adds the AssociationEnd tupleLiteralExp value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::TupleLiteralExp. Throws exception if a value already exists. Returns $obj.
remove_tupleLiteralExp
$obj->remove_tupleLiteralExp($val);
Removes the AssociationEnd tupleLiteralExp value $val. Returns $obj.
clear_tupleLiteralExp
$obj->clear_tupleLiteralExp;
Clears the AssociationEnd tupleLiteralExp links to UMMF::UML::MetaModel::OCL::Expressions::TupleLiteralExp. Returns $obj.
count_tupleLiteralExp
$obj->count_tupleLiteralExp;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::TupleLiteralExp associated with tupleLiteralExp.
my $val = $obj->type;
Returns the AssociationEnd type value of type UMMF::UML::MetaModel::Foundation::Core::Classifier.
set_type
$obj->set_type($val);
Sets the AssociationEnd type value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj.
add_type
$obj->add_type($val);
Adds the AssociationEnd type value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Throws exception if a value already exists. Returns $obj.
remove_type
$obj->remove_type($val);
Removes the AssociationEnd type value $val. Returns $obj.
clear_type
$obj->clear_type;
Clears the AssociationEnd type links to UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj.
count_type
$obj->count_type;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Classifier associated with type.
my @val = $obj->variableExp; my $ary_val = $obj->variableExp;
Returns the AssociationEnd variableExp values of type UMMF::UML::MetaModel::OCL::Expressions::VariableExp. 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_variableExp
$obj->set_variableExp(@val);
Sets the AssociationEnd variableExp value. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::VariableExp. Returns $obj.
@val
add_variableExp
$obj->add_variableExp(@val);
Adds AssociationEnd variableExp values. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::VariableExp. Returns $obj.
remove_variableExp
$obj->remove_variableExp(@val);
Removes the AssociationEnd variableExp values @val. Elements of @val must of type UMMF::UML::MetaModel::OCL::Expressions::VariableExp. Returns $obj.
clear_variableExp
$obj->clear_variableExp;
Clears the AssociationEnd variableExp links to UMMF::UML::MetaModel::OCL::Expressions::VariableExp. Returns $obj.
count_variableExp
$obj->count_variableExp;
Returns the number of elements associated with variableExp.
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.