NAME
UMMF::MOF_1_3::Model::Constraint --
VERSION
1.3
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::MOF_1_3::Model::ModelElement
ATTRIBUTES
expression
: UMMF::MOF_1_3::Model::String
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_3::Model::String
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
language
: UMMF::MOF_1_3::Model::String
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_3::Model::String
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
evaluationPolicy
: UMMF::MOF_1_3::Model::EvaluationKind
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_3::Model::EvaluationKind
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
ASSOCIATIONS
constraint
: THIS 0..*
<---> constrainedElement
: UMMF::MOF_1_3::Model::ModelElement 1..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_3::Model::ModelElement
- multiplicity =
1..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__validate_type
UMMF::MOF_1_3::Model::Constraint->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::MOF_1_3::Model::Constraint.
__typecheck
UMMF::MOF_1_3::Model::Constraint->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::MOF_1_3::Model::Constraint-
__validate_type($value)>> is false.
isaConstraint
Returns true if receiver is a UMMF::MOF_1_3::Model::Constraint. Other receivers will return false.
isaModel__Constraint
Returns true if receiver is a UMMF::MOF_1_3::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.
__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::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
.
expression
my $val = $obj->expression;
Returns the UMMF::MOF_1_3::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_3::Model::String or undef
. Returns $obj
.
count_expression
$obj->count_expression;
Returns the number of elements (0 or 1) in expression
.
language
my $val = $obj->language;
Returns the UMMF::MOF_1_3::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_3::Model::String or undef
. Returns $obj
.
count_language
$obj->count_language;
Returns the number of elements (0 or 1) in language
.
evaluationPolicy
my $val = $obj->evaluationPolicy;
Returns the UMMF::MOF_1_3::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_3::Model::EvaluationKind or undef
. Returns $obj
.
count_evaluationPolicy
$obj->count_evaluationPolicy;
Returns the number of elements (0 or 1) in evaluationPolicy
.
constrainedElement
my @val = $obj->constrainedElement;
my $ary_val = $obj->constrainedElement;
Returns the AssociationEnd constrainedElement
values of type UMMF::MOF_1_3::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_3::Model::ModelElement. Returns $obj
.
add_constrainedElement
$obj->add_constrainedElement(@val);
Adds AssociationEnd constrainedElement
values. Elements of @val
must of type UMMF::MOF_1_3::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_3::Model::ModelElement. Returns $obj
.
clear_constrainedElement
$obj->clear_constrainedElement;
Clears the AssociationEnd constrainedElement
links to UMMF::MOF_1_3::Model::ModelElement. Returns $obj
.
count_constrainedElement
$obj->count_constrainedElement;
Returns the number of elements associated with constrainedElement
.
END OF DOCUMENT