UMMF::UML_1_5::OCL::Expressions::CollectionRange --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart
NO ATTRIBUTES
0..1
first
1
changeable
instance
none
public
Set::Object
last
__validate_type
UMMF::UML_1_5::OCL::Expressions::CollectionRange->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::OCL::Expressions::CollectionRange.
$value
__typecheck
UMMF::UML_1_5::OCL::Expressions::CollectionRange->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::OCL::Expressions::CollectionRange-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::OCL::Expressions::CollectionRange-
isaCollectionRange
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionRange. Other receivers will return false.
isaOCL__Expressions__CollectionRange
Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::CollectionRange. Other receivers will return false. This is the fully qualified version of the isaCollectionRange method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::CollectionRange') for an object or package of this Classifier.
'OCL::Expressions::CollectionRange'
__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
my $val = $obj->first;
Returns the AssociationEnd first value of type UMMF::UML_1_5::OCL::Expressions::OclExpression.
set_first
$obj->set_first($val);
Sets the AssociationEnd first value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
$val
$obj
add_first
$obj->add_first($val);
Adds the AssociationEnd first value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_first
$obj->remove_first($val);
Removes the AssociationEnd first value $val. Returns $obj.
clear_first
$obj->clear_first;
Clears the AssociationEnd first links to UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
count_first
$obj->count_first;
Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OclExpression associated with first.
my $val = $obj->last;
Returns the AssociationEnd last value of type UMMF::UML_1_5::OCL::Expressions::OclExpression.
set_last
$obj->set_last($val);
Sets the AssociationEnd last value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
add_last
$obj->add_last($val);
Adds the AssociationEnd last value. $val must of type UMMF::UML_1_5::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj.
remove_last
$obj->remove_last($val);
Removes the AssociationEnd last value $val. Returns $obj.
clear_last
$obj->clear_last;
Clears the AssociationEnd last links to UMMF::UML_1_5::OCL::Expressions::OclExpression. Returns $obj.
count_last
$obj->count_last;
Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OclExpression associated with last.
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.