NAME
UMMF::MOF_1_4_1::Model::EnumerationType --
VERSION
1.4.1
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::MOF_1_4_1::Model::DataType
ATTRIBUTES
labels
: UMMF::MOF_1_4_1::Model::String [1..*
]
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_4_1::Model::String
- visibility =
private
- multiplicity =
1..*
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
ASSOCIATIONS
NO ASSOCIATIONS
METHODS
__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.
__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.
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.
__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
.
labels
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
.
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