NAME

UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole --

VERSION

1.5

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML_1_5::Foundation::Core::Class

SUPERCLASSES

UMMF::UML_1_5::Foundation::Core::Association

ATTRIBUTES

multiplicity : UMMF::UML_1_5::Foundation::Data_Types::Multiplicity

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

ASSOCIATIONS

associationRole : THIS 0..* <---> base : UMMF::UML_1_5::Foundation::Core::Association 0..1

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

communicationConnection : THIS 0..1 <---> message : UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

METHODS

__validate_type

UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole.

__typecheck

UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole-__validate_type($value)>> is false.

isaAssociationRole

Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole. Other receivers will return false.

isaBehavioral_Elements__Collaborations__AssociationRole

Returns true if receiver is a UMMF::UML_1_5::Behavioral_Elements::Collaborations::AssociationRole. Other receivers will return false. This is the fully qualified version of the isaAssociationRole method.

__model_name

my $name = $obj_or_package->__model_name;

Returns the UML Model name ('Behavioral_Elements::Collaborations::AssociationRole') 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.

multiplicity

my $val = $obj->multiplicity;

Returns the UMMF::UML_1_5::Foundation::Data_Types::Multiplicity value of Attribute multiplicity.

set_multiplicity

$obj->set_multiplicity($val);

Sets the value of Attribute multiplicity. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::Multiplicity or undef. Returns $obj.

count_multiplicity

$obj->count_multiplicity;

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

base

my $val = $obj->base;

Returns the AssociationEnd base value of type UMMF::UML_1_5::Foundation::Core::Association.

set_base

$obj->set_base($val);

Sets the AssociationEnd base value. $val must of type UMMF::UML_1_5::Foundation::Core::Association. Returns $obj.

add_base

$obj->add_base($val);

Adds the AssociationEnd base value. $val must of type UMMF::UML_1_5::Foundation::Core::Association. Throws exception if a value already exists. Returns $obj.

remove_base

$obj->remove_base($val);

Removes the AssociationEnd base value $val. Returns $obj.

clear_base

$obj->clear_base;

Clears the AssociationEnd base links to UMMF::UML_1_5::Foundation::Core::Association. Returns $obj.

count_base

$obj->count_base;

Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::Association associated with base.

message

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

Returns the AssociationEnd message values of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message. 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_message

$obj->set_message(@val);

Sets the AssociationEnd message value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message. Returns $obj.

add_message

$obj->add_message(@val);

Adds AssociationEnd message values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message. Returns $obj.

remove_message

$obj->remove_message(@val);

Removes the AssociationEnd message values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message. Returns $obj.

clear_message

$obj->clear_message;

Clears the AssociationEnd message links to UMMF::UML_1_5::Behavioral_Elements::Collaborations::Message. Returns $obj.

count_message

$obj->count_message;

Returns the number of elements associated with message.

END OF DOCUMENT