UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange --
1.0
UMMF::UML::MetaModel::Foundation::Core::Class
UMMF::UML::MetaModel::__ObjectBase
lower
private
1
changeable
instance
unordered
<0
Set::Object
upper
<"*"
1..*
range
multiplicity
composite
__validate_type
UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange.
$value
__typecheck
UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange-
isaMultiplicityRange
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Other receivers will return false.
isaFoundation__Data_Types__MultiplicityRange
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Other receivers will return false. This is the fully qualified version of the isaMultiplicityRange method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Data_Types::MultiplicityRange') for an object or package of this Classifier.
'Foundation::Data_Types::MultiplicityRange'
__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->lower;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::Integer value of Attribute lower.
set_lower
$obj->set_lower($val);
Sets the value of Attribute lower. $val must be of type UMMF::UML::MetaModel::Foundation::Data_Types::Integer or undef. Returns $obj.
$val
undef
$obj
count_lower
$obj->count_lower;
Returns the number of elements (0 or 1) in lower.
my $val = $obj->upper;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::UnlimitedInteger value of Attribute upper.
set_upper
$obj->set_upper($val);
Sets the value of Attribute upper. $val must be of type UMMF::UML::MetaModel::Foundation::Data_Types::UnlimitedInteger or undef. Returns $obj.
count_upper
$obj->count_upper;
Returns the number of elements (0 or 1) in upper.
my $val = $obj->multiplicity;
Returns the AssociationEnd multiplicity value of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity.
set_multiplicity
$obj->set_multiplicity($val);
Sets the AssociationEnd multiplicity value. $val must of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Returns $obj.
add_multiplicity
$obj->add_multiplicity($val);
Adds the AssociationEnd multiplicity value. $val must of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Throws exception if a value already exists. Returns $obj.
remove_multiplicity
$obj->remove_multiplicity($val);
Removes the AssociationEnd multiplicity value $val. Returns $obj.
clear_multiplicity
$obj->clear_multiplicity;
Clears the AssociationEnd multiplicity links to UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Returns $obj.
count_multiplicity
$obj->count_multiplicity;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity associated with multiplicity.
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.