NAME

UMMF::UML::MetaModel::Foundation::Core::Comment --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML::MetaModel::Foundation::Core::Class

SUPERCLASSES

UMMF::UML::MetaModel::Foundation::Core::ModelElement

ATTRIBUTES

name : UMMF::UML::MetaModel::Foundation::Data_Types::String

metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
type = UMMF::UML::MetaModel::Foundation::Data_Types::String
visibility = private
multiplicity = 1
changeability = changeable
targetScope = instance
ordering = unordered
initialValue = UNSPECIFIED
container_type = Set::Object

ASSOCIATIONS

0..* : comment <---> annotatedElement : UMMF::UML::MetaModel::Foundation::Core::ModelElement 0..*

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Foundation::Core::ModelElement
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

METHODS

__validate_type

UMMF::UML::MetaModel::Foundation::Core::Comment->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML::MetaModel::Foundation::Core::Comment.

__typecheck

UMMF::UML::MetaModel::Foundation::Core::Comment->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML::MetaModel::Foundation::Core::Comment-__validate_type($value)>> is false.

isaComment

Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::Comment. Other receivers will return false.

isaFoundation__Core__Comment

Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::Comment. Other receivers will return false. This is the fully qualified version of the isaComment method.

__model_name

my $name = $obj_or_package->__model_name;

Returns the UML Model name ('Foundation::Core::Comment') 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.

name

my $val = $obj->name;

Returns the UMMF::UML::MetaModel::Foundation::Data_Types::String value of Attribute name.

set_name

$obj->set_name($val);

Sets the value of Attribute name. $val must be of type UMMF::UML::MetaModel::Foundation::Data_Types::String or undef. Returns $obj.

count_name

$obj->count_name;

Returns the number of elements (0 or 1) in name.

annotatedElement

my @val = $obj->annotatedElement;
my $ary_val = $obj->annotatedElement;

Returns the AssociationEnd annotatedElement values of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.

set_annotatedElement

$obj->set_annotatedElement(@val);

Sets the AssociationEnd annotatedElement value. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

add_annotatedElement

$obj->add_annotatedElement(@val);

Adds AssociationEnd annotatedElement values. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

remove_annotatedElement

$obj->remove_annotatedElement(@val);

Removes the AssociationEnd annotatedElement values @val. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

clear_annotatedElement

$obj->clear_annotatedElement;

Clears the AssociationEnd annotatedElement links to UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

count_annotatedElement

$obj->count_annotatedElement;

Returns the number of elements associated with annotatedElement.

END OF DOCUMENT