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

NAME

UMMF::UML::MetaModel::Foundation::Core::TemplateParameter --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML::MetaModel::Foundation::Core::AssociationClass

SUPERCLASSES

UMMF::UML::MetaModel::Foundation::Core::Element

ATTRIBUTES

NO ATTRIBUTES

ASSOCIATIONS

0..* : templateParameter_ModelElement <---> defaultElement : UMMF::UML::MetaModel::Foundation::Core::ModelElement 0..1

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

0..* : templateParameter_AC <---> template : UMMF::UML::MetaModel::Foundation::Core::ModelElement 0..1

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

0..1 : template_AC <---> templateParameter : 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 = ordered
isNavigable = 1
aggregation = none
visibility = public
container_type = ARRAY

METHODS

__validate_type

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

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

__typecheck

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

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

isaTemplateParameter

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

isaFoundation__Core__TemplateParameter

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

__model_name

  my $name = $obj_or_package->__model_name;

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

defaultElement

  my $val = $obj->defaultElement;

Returns the AssociationEnd defaultElement value of type UMMF::UML::MetaModel::Foundation::Core::ModelElement.

set_defaultElement

  $obj->set_defaultElement($val);

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

add_defaultElement

  $obj->add_defaultElement($val);

Adds the AssociationEnd defaultElement value. $val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Throws exception if a value already exists. Returns $obj.

remove_defaultElement

  $obj->remove_defaultElement($val);

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

clear_defaultElement

  $obj->clear_defaultElement;

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

count_defaultElement

  $obj->count_defaultElement;

Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::ModelElement associated with defaultElement.

template

  my $val = $obj->template;

Returns the AssociationEnd template value of type UMMF::UML::MetaModel::Foundation::Core::ModelElement.

set_template

  $obj->set_template($val);

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

add_template

  $obj->add_template($val);

Adds the AssociationEnd template value. $val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Throws exception if a value already exists. Returns $obj.

remove_template

  $obj->remove_template($val);

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

clear_template

  $obj->clear_template;

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

count_template

  $obj->count_template;

Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::ModelElement associated with template.

templateParameter

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

Returns the AssociationEnd templateParameter 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.

index_templateParameter

  my $x = $obj->index_templateParameter($i);
  my @x = $obj->index_templateParameter($i, $count);

In scalar context, returns the value of AssociationEnd templateParameter at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.

index_of_templateParameter

  my $index = $obj->index_of_templateParameter($val);

Returns the index of $val in AssociationEnd templateParameter. Return undef if $val is not in templateParameter.

set_templateParameter

  $obj->set_templateParameter(@val);

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

set_index_templateParameter

  $obj->set_index_templateParameter($i, $val);

Sets the value of AssociationEnd templateParameter at index $i. Returns self.

add_templateParameter

  $obj->add_templateParameter(@val);

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

add_index_templateParameter

  $obj->add_index_templateParameter($i, @val);

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

remove_templateParameter

  $obj->remove_templateParameter(@val);

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

clear_templateParameter

  $obj->clear_templateParameter;

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

count_templateParameter

  $obj->count_templateParameter;

Returns the number of elements associated with templateParameter.

END OF DOCUMENT