The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

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

SUPERCLASSES

UMMF::UML::MetaModel::__ObjectBase

ATTRIBUTES

NO ATTRIBUTES

ASSOCIATIONS

1 : multiplicity <---> range : UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange 1..*

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

METHODS

__validate_type

  UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity->__validate_type($value);

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

__typecheck

  UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity->__typecheck($value, $msg);

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

isaMultiplicity

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

isaFoundation__Data_Types__Multiplicity

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

__model_name

  my $name = $obj_or_package->__model_name;

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

range

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

Returns the AssociationEnd range values of type UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. 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_range

  $obj->set_range(@val);

Sets the AssociationEnd range value. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Returns $obj.

add_range

  $obj->add_range(@val);

Adds AssociationEnd range values. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Returns $obj.

remove_range

  $obj->remove_range(@val);

Removes the AssociationEnd range values @val. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Returns $obj.

clear_range

  $obj->clear_range;

Clears the AssociationEnd range links to UMMF::UML::MetaModel::Foundation::Data_Types::MultiplicityRange. Returns $obj.

count_range

  $obj->count_range;

Returns the number of elements associated with range.

END OF DOCUMENT