NAME
UMMF::UML_1_5::OCL::Types::CollectionType --
VERSION
1.5
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::UML_1_5::Foundation::Core::Classifier
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
collectionTypes
: THIS 0..4
<---> elementType
: UMMF::UML_1_5::Foundation::Core::Classifier 1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::Classifier
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML_1_5::OCL::Types::CollectionType->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML_1_5::OCL::Types::CollectionType.
__typecheck
UMMF::UML_1_5::OCL::Types::CollectionType->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML_1_5::OCL::Types::CollectionType-
__validate_type($value)>> is false.
isaCollectionType
Returns true if receiver is a UMMF::UML_1_5::OCL::Types::CollectionType. Other receivers will return false.
isaOCL__Types__CollectionType
Returns true if receiver is a UMMF::UML_1_5::OCL::Types::CollectionType. Other receivers will return false. This is the fully qualified version of the isaCollectionType
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Types::CollectionType'
) 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
.
elementType
my $val = $obj->elementType;
Returns the AssociationEnd elementType
value of type UMMF::UML_1_5::Foundation::Core::Classifier.
set_elementType
$obj->set_elementType($val);
Sets the AssociationEnd elementType
value. $val
must of type UMMF::UML_1_5::Foundation::Core::Classifier. Returns $obj
.
add_elementType
$obj->add_elementType($val);
Adds the AssociationEnd elementType
value. $val
must of type UMMF::UML_1_5::Foundation::Core::Classifier. Throws exception if a value already exists. Returns $obj
.
remove_elementType
$obj->remove_elementType($val);
Removes the AssociationEnd elementType
value $val
. Returns $obj
.
clear_elementType
$obj->clear_elementType;
Clears the AssociationEnd elementType
links to UMMF::UML_1_5::Foundation::Core::Classifier. Returns $obj
.
count_elementType
$obj->count_elementType;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::Classifier associated with elementType
.
END OF DOCUMENT