UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart --
1.0
UMMF::UML::MetaModel::Foundation::Core::Class
UMMF::UML::MetaModel::Foundation::Core::Element
NO ATTRIBUTES
0..*
parts
collectionLiteralExp
1
changeable
instance
none
private
Set::Object
type
public
__validate_type
UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart.
$value
__typecheck
UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart-
isaCollectionLiteralPart
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart. Other receivers will return false.
isaOCL__Expressions__CollectionLiteralPart
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart. Other receivers will return false. This is the fully qualified version of the isaCollectionLiteralPart method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::CollectionLiteralPart') for an object or package of this Classifier.
'OCL::Expressions::CollectionLiteralPart'
__isAbstract
$package->__isAbstract;
Returns 1.
__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.
___create
my $val = $obj->collectionLiteralExp;
Returns the AssociationEnd collectionLiteralExp value of type UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp.
set_collectionLiteralExp
$obj->set_collectionLiteralExp($val);
Sets the AssociationEnd collectionLiteralExp value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp. Returns $obj.
$val
$obj
add_collectionLiteralExp
$obj->add_collectionLiteralExp($val);
Adds the AssociationEnd collectionLiteralExp value. $val must of type UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp. Throws exception if a value already exists. Returns $obj.
remove_collectionLiteralExp
$obj->remove_collectionLiteralExp($val);
Removes the AssociationEnd collectionLiteralExp value $val. Returns $obj.
clear_collectionLiteralExp
$obj->clear_collectionLiteralExp;
Clears the AssociationEnd collectionLiteralExp links to UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp. Returns $obj.
count_collectionLiteralExp
$obj->count_collectionLiteralExp;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp associated with collectionLiteralExp.
my $val = $obj->type;
Returns the AssociationEnd type value of type UMMF::UML::MetaModel::Foundation::Core::Classifier.
set_type
$obj->set_type($val);
Sets the AssociationEnd type value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj.
add_type
$obj->add_type($val);
Adds the AssociationEnd type value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Throws exception if a value already exists. Returns $obj.
remove_type
$obj->remove_type($val);
Removes the AssociationEnd type value $val. Returns $obj.
clear_type
$obj->clear_type;
Clears the AssociationEnd type links to UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj.
count_type
$obj->count_type;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Classifier associated with type.
END OF DOCUMENT
To install UMMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UMMF
CPAN shell
perl -MCPAN -e shell install UMMF
For more information on module installation, please visit the detailed CPAN module installation guide.