NAME
UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral --
VERSION
1.0
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML::MetaModel::Foundation::Core::Class
SUPERCLASSES
UMMF::UML::MetaModel::Foundation::Core::ModelElement
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
1..*
: literal
<---> enumeration
: UMMF::UML::MetaModel::Foundation::Core::Enumeration 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::Foundation::Core::Enumeration
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
1
: referredEnumLiteral
<----
: UMMF::UML::MetaModel::OCL::Expressions::EnumLiteralExp 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::OCL::Expressions::EnumLiteralExp
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
private
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral.
__typecheck
UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral-
__validate_type($value)>> is false.
isaEnumerationLiteral
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral. Other receivers will return false.
isaFoundation__Core__EnumerationLiteral
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::EnumerationLiteral. Other receivers will return false. This is the fully qualified version of the isaEnumerationLiteral
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Core::EnumerationLiteral'
) 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::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
.
enumeration
my $val = $obj->enumeration;
Returns the AssociationEnd enumeration
value of type UMMF::UML::MetaModel::Foundation::Core::Enumeration.
set_enumeration
$obj->set_enumeration($val);
Sets the AssociationEnd enumeration
value. $val
must of type UMMF::UML::MetaModel::Foundation::Core::Enumeration. Returns $obj
.
add_enumeration
$obj->add_enumeration($val);
Adds the AssociationEnd enumeration
value. $val
must of type UMMF::UML::MetaModel::Foundation::Core::Enumeration. Throws exception if a value already exists. Returns $obj
.
remove_enumeration
$obj->remove_enumeration($val);
Removes the AssociationEnd enumeration
value $val
. Returns $obj
.
clear_enumeration
$obj->clear_enumeration;
Clears the AssociationEnd enumeration
links to UMMF::UML::MetaModel::Foundation::Core::Enumeration. Returns $obj
.
count_enumeration
$obj->count_enumeration;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Enumeration associated with enumeration
.
END OF DOCUMENT