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::MultiplicityRange --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

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

SUPERCLASSES

UMMF::UML::MetaModel::__ObjectBase

ATTRIBUTES

lower : UMMF::UML::MetaModel::Foundation::Data_Types::Integer

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

upper : UMMF::UML::MetaModel::Foundation::Data_Types::UnlimitedInteger

metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
type = UMMF::UML::MetaModel::Foundation::Data_Types::UnlimitedInteger
visibility = private
multiplicity = 1
changeability = changeable
targetScope = instance
ordering = unordered
initialValue = <"*">
container_type = Set::Object

ASSOCIATIONS

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

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity
multiplicity = 1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = composite
visibility = private
container_type = Set::Object

METHODS

__validate_type

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

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

__typecheck

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

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

isaMultiplicityRange

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

isaFoundation__Data_Types__MultiplicityRange

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

__model_name

  my $name = $obj_or_package->__model_name;

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

lower

  my $val = $obj->lower;

Returns the UMMF::UML::MetaModel::Foundation::Data_Types::Integer value of Attribute lower.

set_lower

  $obj->set_lower($val);

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

count_lower

  $obj->count_lower;

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

upper

  my $val = $obj->upper;

Returns the UMMF::UML::MetaModel::Foundation::Data_Types::UnlimitedInteger value of Attribute upper.

set_upper

  $obj->set_upper($val);

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

count_upper

  $obj->count_upper;

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

multiplicity

  my $val = $obj->multiplicity;

Returns the AssociationEnd multiplicity value of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity.

set_multiplicity

  $obj->set_multiplicity($val);

Sets the AssociationEnd multiplicity value. $val must of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Returns $obj.

add_multiplicity

  $obj->add_multiplicity($val);

Adds the AssociationEnd multiplicity value. $val must of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Throws exception if a value already exists. Returns $obj.

remove_multiplicity

  $obj->remove_multiplicity($val);

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

clear_multiplicity

  $obj->clear_multiplicity;

Clears the AssociationEnd multiplicity links to UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity. Returns $obj.

count_multiplicity

  $obj->count_multiplicity;

Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity associated with multiplicity.

END OF DOCUMENT