UMMF::MOF_1_4_1::Model::Namespace --
1.4.1
UMMF::UML_1_5::Foundation::Core::Class
UMMF::MOF_1_4_1::Model::ModelElement
NO ATTRIBUTES
container
0..1
containedElement
0..*
changeable
instance
ordered
1
none
public
ARRAY
imported
importer
Set::Object
__validate_type
UMMF::MOF_1_4_1::Model::Namespace->__validate_type($value);
Returns true if $value is a valid representation of UMMF::MOF_1_4_1::Model::Namespace.
$value
__typecheck
UMMF::MOF_1_4_1::Model::Namespace->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::MOF_1_4_1::Model::Namespace-__validate_type($value)>> is false.
confess()
$msg
<UMMF::MOF_1_4_1::Model::Namespace-
isaNamespace
Returns true if receiver is a UMMF::MOF_1_4_1::Model::Namespace. Other receivers will return false.
isaModel__Namespace
Returns true if receiver is a UMMF::MOF_1_4_1::Model::Namespace. Other receivers will return false. This is the fully qualified version of the isaNamespace method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Model::Namespace') for an object or package of this Classifier.
'Model::Namespace'
__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::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->containedElement; my $ary_val = $obj->containedElement;
Returns the AssociationEnd containedElement values of type UMMF::MOF_1_4_1::Model::ModelElement. 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_containedElement
my $x = $obj->index_containedElement($i); my @x = $obj->index_containedElement($i, $count);
In scalar context, returns the value of AssociationEnd containedElement at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_containedElement
my $index = $obj->index_of_containedElement($val);
Returns the index of $val in AssociationEnd containedElement. Return undef if $val is not in containedElement.
$val
undef
set_containedElement
$obj->set_containedElement(@val);
Sets the AssociationEnd containedElement value. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
@val
$obj
set_index_containedElement
$obj->set_index_containedElement($i, $val);
Sets the value of AssociationEnd containedElement at index $i. Returns self.
add_containedElement
$obj->add_containedElement(@val);
Adds AssociationEnd containedElement values. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
add_index_containedElement
$obj->add_index_containedElement($i, @val);
Adds AssociationEnd containedElement values at index $i. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
remove_containedElement
$obj->remove_containedElement(@val);
Removes the AssociationEnd containedElement values @val. Elements of @val must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
clear_containedElement
$obj->clear_containedElement;
Clears the AssociationEnd containedElement links to UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj.
count_containedElement
$obj->count_containedElement;
Returns the number of elements associated with containedElement.
my @val = $obj->importer; my $ary_val = $obj->importer;
Returns the AssociationEnd importer values of type UMMF::MOF_1_4_1::Model::Import. In array context, returns all the objects in the Association. In scalar context, returns an array ref of all the objects in the Association.
set_importer
$obj->set_importer(@val);
Sets the AssociationEnd importer value. Elements of @val must of type UMMF::MOF_1_4_1::Model::Import. Returns $obj.
add_importer
$obj->add_importer(@val);
Adds AssociationEnd importer values. Elements of @val must of type UMMF::MOF_1_4_1::Model::Import. Returns $obj.
remove_importer
$obj->remove_importer(@val);
Removes the AssociationEnd importer values @val. Elements of @val must of type UMMF::MOF_1_4_1::Model::Import. Returns $obj.
clear_importer
$obj->clear_importer;
Clears the AssociationEnd importer links to UMMF::MOF_1_4_1::Model::Import. Returns $obj.
count_importer
$obj->count_importer;
Returns the number of elements associated with importer.
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.