UMMF::UML_1_5::Foundation::Core::Binding --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::Dependency
NO ATTRIBUTES
binding
1
argument
1..*
changeable
instance
ordered
none
public
ARRAY
__validate_type
UMMF::UML_1_5::Foundation::Core::Binding->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::Binding.
$value
__typecheck
UMMF::UML_1_5::Foundation::Core::Binding->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::Binding-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Core::Binding-
isaBinding
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Binding. Other receivers will return false.
isaFoundation__Core__Binding
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Binding. Other receivers will return false. This is the fully qualified version of the isaBinding method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Core::Binding') for an object or package of this Classifier.
'Foundation::Core::Binding'
__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->argument; my $ary_val = $obj->argument;
Returns the AssociationEnd argument values of type UMMF::UML_1_5::Foundation::Core::TemplateArgument. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.
index_argument
my $x = $obj->index_argument($i); my @x = $obj->index_argument($i, $count);
In scalar context, returns the value of AssociationEnd argument at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_argument
my $index = $obj->index_of_argument($val);
Returns the index of $val in AssociationEnd argument. Return undef if $val is not in argument.
$val
undef
set_argument
$obj->set_argument(@val);
Sets the AssociationEnd argument value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::TemplateArgument. Returns $obj.
@val
$obj
set_index_argument
$obj->set_index_argument($i, $val);
Sets the value of AssociationEnd argument at index $i. Returns self.
add_argument
$obj->add_argument(@val);
Adds AssociationEnd argument values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::TemplateArgument. Returns $obj.
add_index_argument
$obj->add_index_argument($i, @val);
Adds AssociationEnd argument values at index $i. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::TemplateArgument. Returns $obj.
remove_argument
$obj->remove_argument(@val);
Removes the AssociationEnd argument values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::TemplateArgument. Returns $obj.
clear_argument
$obj->clear_argument;
Clears the AssociationEnd argument links to UMMF::UML_1_5::Foundation::Core::TemplateArgument. Returns $obj.
count_argument
$obj->count_argument;
Returns the number of elements associated with argument.
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.