| UMMF documentation | view source | Contained in the UMMF distribution. |
__validate_type__typecheckisaCollectionLiteralExpisaOCL__Expressions__CollectionLiteralExp__model_name __isAbstract___initialize__initialize__createkindset_kindcount_kindpartsindex_partsindex_of_partsset_partsset_index_partsadd_partsadd_index_partsremove_partsclear_partscount_parts
UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp --
1.5
kind : UMMF::UML_1_5::OCL::Expressions::CollectionKind private1changeableinstanceunorderedSet::ObjectcollectionLiteralExp : THIS 1 <---> parts : UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart 0..*0..*changeableinstanceorderednonepublicARRAY__validate_typeUMMF::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.
__typecheckUMMF::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.
isaCollectionLiteralExpReturns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionLiteralExp. Other receivers will return false.
isaOCL__Expressions__CollectionLiteralExpReturns 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.
___initializeInitialize all Attributes and AssociationEnds in a instance of this Classifier. Does not initalize slots in its Generalizations.
See also: __initialize.
__initializeInitialize all slots in this Classifier and all its Generalizations.
See also: ___initialize.
__createCalls all <<create>> Methods for this Classifier and all Generalizations.
See also: ___create.
kindmy $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.
partsmy @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_partsmy $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_partsmy $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
| UMMF documentation | view source | Contained in the UMMF distribution. |