UMMF::MOF_1_4_1::Model::Constraint --
1.4.1
UMMF::UML_1_5::Foundation::Core::Class
UMMF::MOF_1_4_1::Model::ModelElement
expression
private
1
changeable
instance
unordered
Set::Object
language
evaluationPolicy
constraint
0..*
constrainedElement
1..*
none
public
__validate_type
UMMF::MOF_1_4_1::Model::Constraint->__validate_type($value);
Returns true if $value is a valid representation of UMMF::MOF_1_4_1::Model::Constraint.
$value
__typecheck
UMMF::MOF_1_4_1::Model::Constraint->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::MOF_1_4_1::Model::Constraint-__validate_type($value)>> is false.
confess()
$msg
<UMMF::MOF_1_4_1::Model::Constraint-
isaConstraint
Returns true if receiver is a UMMF::MOF_1_4_1::Model::Constraint. Other receivers will return false.
isaModel__Constraint
Returns true if receiver is a UMMF::MOF_1_4_1::Model::Constraint. Other receivers will return false. This is the fully qualified version of the isaConstraint method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Model::Constraint') for an object or package of this Classifier.
'Model::Constraint'
__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->expression;
Returns the UMMF::MOF_1_4_1::Model::String value of Attribute expression.
set_expression
$obj->set_expression($val);
Sets the value of Attribute expression. $val must be of type UMMF::MOF_1_4_1::Model::String or undef. Returns $obj.
$val
undef
$obj
count_expression
$obj->count_expression;
Returns the number of elements (0 or 1) in expression.
my $val = $obj->language;
Returns the UMMF::MOF_1_4_1::Model::String value of Attribute language.
set_language
$obj->set_language($val);
Sets the value of Attribute language. $val must be of type UMMF::MOF_1_4_1::Model::String or undef. Returns $obj.
count_language
$obj->count_language;
Returns the number of elements (0 or 1) in language.
my $val = $obj->evaluationPolicy;
Returns the UMMF::MOF_1_4_1::Model::EvaluationKind value of Attribute evaluationPolicy.
set_evaluationPolicy
$obj->set_evaluationPolicy($val);
Sets the value of Attribute evaluationPolicy. $val must be of type UMMF::MOF_1_4_1::Model::EvaluationKind or undef. Returns $obj.
count_evaluationPolicy
$obj->count_evaluationPolicy;
Returns the number of elements (0 or 1) in evaluationPolicy.
my @val = $obj->constrainedElement; my $ary_val = $obj->constrainedElement;
Returns the AssociationEnd constrainedElement values of type UMMF::MOF_1_4_1::Model::ModelElement. 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_constrainedElement
$obj->set_constrainedElement(@val);
Sets the AssociationEnd constrainedElement value. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
@val
add_constrainedElement
$obj->add_constrainedElement(@val);
Adds AssociationEnd constrainedElement values. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
remove_constrainedElement
$obj->remove_constrainedElement(@val);
Removes the AssociationEnd constrainedElement values @val. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
clear_constrainedElement
$obj->clear_constrainedElement;
Clears the AssociationEnd constrainedElement links to UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
count_constrainedElement
$obj->count_constrainedElement;
Returns the number of elements associated with constrainedElement.
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.