UMMF::MOF_1_4_1::Model::EnumerationType --
1.4.1
UMMF::UML_1_5::Foundation::Core::Class
UMMF::MOF_1_4_1::Model::DataType
labels
1..*
private
changeable
instance
unordered
Set::Object
NO ASSOCIATIONS
__validate_type
UMMF::MOF_1_4_1::Model::EnumerationType->__validate_type($value);
Returns true if $value is a valid representation of UMMF::MOF_1_4_1::Model::EnumerationType.
$value
__typecheck
UMMF::MOF_1_4_1::Model::EnumerationType->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::MOF_1_4_1::Model::EnumerationType-__validate_type($value)>> is false.
confess()
$msg
<UMMF::MOF_1_4_1::Model::EnumerationType-
isaEnumerationType
Returns true if receiver is a UMMF::MOF_1_4_1::Model::EnumerationType. Other receivers will return false.
isaModel__EnumerationType
Returns true if receiver is a UMMF::MOF_1_4_1::Model::EnumerationType. Other receivers will return false. This is the fully qualified version of the isaEnumerationType method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Model::EnumerationType') for an object or package of this Classifier.
'Model::EnumerationType'
__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 $array_ref = $obj->labels; my @val = $obj->labels;
Returns the UMMF::MOF_1_4_1::Model::String values of Attribute labels. In list context it returns the list of values. In scalar context it returns a reference to the list of values.
set_labels
$obj->set_labels(@val);
Sets the values of Attribute labels. The elements of @val must be of type UMMF::MOF_1_4_1::Model::String. Returns $obj.
@val
$obj
add_labels
$obj->add_labels(@val);
Adds the values of Attribute labels. The elements of @val must be of type UMMF::MOF_1_4_1::Model::String. Returns $obj.
remove_labels
$obj->remove_labels(@val);
Removes values from Attribute labels. The elements of @val must be of type UMMF::MOF_1_4_1::Model::String. Returns $obj.
clear_labels
$obj->clear_labels;
Removes all values from Attribute labels. Returns $obj.
count_labels
$obj->count_labels;
Returns the number of elements in labels.
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.