UMMF::UML_1_5::Foundation::Core::Constraint --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
body
private
1
changeable
instance
unordered
Set::Object
constraint
0..*
constrainedElement
0..1
none
public
stereotypeConstraint
constrainedStereotype
__validate_type
UMMF::UML_1_5::Foundation::Core::Constraint->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::Constraint.
$value
__typecheck
UMMF::UML_1_5::Foundation::Core::Constraint->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::Constraint-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Core::Constraint-
isaConstraint
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Constraint. Other receivers will return false.
isaFoundation__Core__Constraint
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::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 ('Foundation::Core::Constraint') for an object or package of this Classifier.
'Foundation::Core::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->body;
Returns the UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression value of Attribute body.
set_body
$obj->set_body($val);
Sets the value of Attribute body. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression or undef. Returns $obj.
$val
undef
$obj
count_body
$obj->count_body;
Returns the number of elements (0 or 1) in body.
my $val = $obj->constrainedElement;
Returns the AssociationEnd constrainedElement value of type UMMF::UML_1_5::Foundation::Core::ModelElement.
set_constrainedElement
$obj->set_constrainedElement($val);
Sets the AssociationEnd constrainedElement value. $val must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
add_constrainedElement
$obj->add_constrainedElement($val);
Adds the AssociationEnd constrainedElement value. $val must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Throws exception if a value already exists. Returns $obj.
remove_constrainedElement
$obj->remove_constrainedElement($val);
Removes the AssociationEnd constrainedElement value $val. Returns $obj.
clear_constrainedElement
$obj->clear_constrainedElement;
Clears the AssociationEnd constrainedElement links to UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
count_constrainedElement
$obj->count_constrainedElement;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::ModelElement associated with constrainedElement.
my $val = $obj->constrainedStereotype;
Returns the AssociationEnd constrainedStereotype value of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype.
set_constrainedStereotype
$obj->set_constrainedStereotype($val);
Sets the AssociationEnd constrainedStereotype value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.
add_constrainedStereotype
$obj->add_constrainedStereotype($val);
Adds the AssociationEnd constrainedStereotype value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Throws exception if a value already exists. Returns $obj.
remove_constrainedStereotype
$obj->remove_constrainedStereotype($val);
Removes the AssociationEnd constrainedStereotype value $val. Returns $obj.
clear_constrainedStereotype
$obj->clear_constrainedStereotype;
Clears the AssociationEnd constrainedStereotype links to UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.
count_constrainedStereotype
$obj->count_constrainedStereotype;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype associated with constrainedStereotype.
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.