++ed by:
ZMUGHAL

1 PAUSE user(s)

Kurt Stephens

NAME

UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp --

VERSION

1.5

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

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

SUPERCLASSES

UMMF::UML_1_5::OCL::Expressions::LiteralExp

ATTRIBUTES

kind : UMMF::UML_1_5::OCL::Expressions::CollectionKind

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

ASSOCIATIONS

collectionLiteralExp : THIS 1 <---> parts : UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering = ordered
isNavigable = 1
aggregation = none
visibility = public
container_type = ARRAY

METHODS

__validate_type

  UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp.

__typecheck

  UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp->__typecheck($value, $msg);

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

isaCollectionLiteralExp

Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp. Other receivers will return false.

isaOCL__Expressions__CollectionLiteralExp

Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp. Other receivers will return false. This is the fully qualified version of the isaCollectionLiteralExp method.

__model_name

  my $name = $obj_or_package->__model_name;

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

kind

  my $val = $obj->kind;

Returns the UMMF::UML_1_5::OCL::Expressions::CollectionKind value of Attribute kind.

set_kind

  $obj->set_kind($val);

Sets the value of Attribute kind. $val must be of type UMMF::UML_1_5::OCL::Expressions::CollectionKind or undef. Returns $obj.

count_kind

  $obj->count_kind;

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

parts

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

Returns the AssociationEnd parts values of type UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. 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_parts

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

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

index_of_parts

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

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

set_parts

  $obj->set_parts(@val);

Sets the AssociationEnd parts value. Elements of @val must of type UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. Returns $obj.

set_index_parts

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

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

add_parts

  $obj->add_parts(@val);

Adds AssociationEnd parts values. Elements of @val must of type UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. Returns $obj.

add_index_parts

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

Adds AssociationEnd parts values at index $i. Elements of @val must of type UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. Returns $obj.

remove_parts

  $obj->remove_parts(@val);

Removes the AssociationEnd parts values @val. Elements of @val must of type UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. Returns $obj.

clear_parts

  $obj->clear_parts;

Clears the AssociationEnd parts links to UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart. Returns $obj.

count_parts

  $obj->count_parts;

Returns the number of elements associated with parts.

END OF DOCUMENT