UMMF::UML_1_5::OCL::Expressions::CollectionKind --
1.5
UMMF::UML_1_5::Foundation::Core::Enumeration
UMMF::UML_1_5::__ObjectBase
Collection
Set
Bag
Sequence
new
my $x = UMMF::UML_1_5::OCL::Expressions::CollectionKind->new($literal);
Constructs new UMMF::UML_1_5::OCL::Expressions::CollectionKind literal value. $literal must be one of the following:
$literal
'Collection'
'Set'
'Bag'
'Sequence'
COLLECTION
Returns 'Collection'.
SET
Returns 'Set'.
BAG
Returns 'Bag'.
SEQUENCE
Returns 'Sequence'.
__validate_type
UMMF::UML_1_5::OCL::Expressions::CollectionKind->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::OCL::Expressions::CollectionKind.
$value
__typecheck
UMMF::UML_1_5::OCL::Expressions::CollectionKind->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::OCL::Expressions::CollectionKind-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::OCL::Expressions::CollectionKind-
isaCollectionKind
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionKind. Other receivers will return false.
isaOCL__Expressions__CollectionKind
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionKind. Other receivers will return false. This is the fully qualified version of the isaCollectionKind method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::CollectionKind') for an object or package of this Classifier.
'OCL::Expressions::CollectionKind'
__isAbstract
$package->__isAbstract;
Returns 0.
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.
___create
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.