NAME
UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralPart --
VERSION
1.0
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML::MetaModel::Foundation::Core::Class
SUPERCLASSES
UMMF::UML::MetaModel::Foundation::Core::Element
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
0..*
: parts
<---> collectionLiteralExp
: UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::OCL::Expressions::CollectionLiteralExp
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
private
- container_type =
Set::Object
1
:
----> type
: UMMF::UML::MetaModel::Foundation::Core::Classifier 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::Foundation::Core::Classifier
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__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.
__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.
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.
__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
.
collectionLiteralExp
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
.
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
.
type
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