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

NAME

UMMF::UML::MetaModel::OCL::Expressions::CollectionItem --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

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

SUPERCLASSES

UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart

ATTRIBUTES

NO ATTRIBUTES

ASSOCIATIONS

0..1 : ----> item : UMMF::UML::MetaModel::OCL::Expressions::OclExpression 1

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

METHODS

__validate_type

  UMMF::UML::MetaModel::OCL::Expressions::CollectionItem->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::CollectionItem.

__typecheck

  UMMF::UML::MetaModel::OCL::Expressions::CollectionItem->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML::MetaModel::OCL::Expressions::CollectionItem-__validate_type($value)>> is false.

isaCollectionItem

Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::CollectionItem. Other receivers will return false.

isaOCL__Expressions__CollectionItem

Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::CollectionItem. Other receivers will return false. This is the fully qualified version of the isaCollectionItem method.

__model_name

  my $name = $obj_or_package->__model_name;

Returns the UML Model name ('OCL::Expressions::CollectionItem') 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.

item

  my $val = $obj->item;

Returns the AssociationEnd item value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.

set_item

  $obj->set_item($val);

Sets the AssociationEnd item value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.

add_item

  $obj->add_item($val);

Adds the AssociationEnd item value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.

remove_item

  $obj->remove_item($val);

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

clear_item

  $obj->clear_item;

Clears the AssociationEnd item links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj.

count_item

  $obj->count_item;

Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with item.

END OF DOCUMENT