UMMF::UML_1_5::Foundation::Core::Namespace --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
NO ATTRIBUTES
namespace
0..1
ownedElement
0..*
changeable
instance
1
none
public
Set::Object
ownedElement_AC
__validate_type
UMMF::UML_1_5::Foundation::Core::Namespace->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::Namespace.
$value
__typecheck
UMMF::UML_1_5::Foundation::Core::Namespace->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::Namespace-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Core::Namespace-
isaNamespace
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Namespace. Other receivers will return false.
isaFoundation__Core__Namespace
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::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 ('Foundation::Core::Namespace') for an object or package of this Classifier.
'Foundation::Core::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->ownedElement; my $ary_val = $obj->ownedElement;
Returns the AssociationEnd ownedElement values of type UMMF::UML_1_5::Foundation::Core::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.
set_ownedElement
$obj->set_ownedElement(@val);
Sets the AssociationEnd ownedElement value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
@val
$obj
add_ownedElement
$obj->add_ownedElement(@val);
Adds AssociationEnd ownedElement values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
remove_ownedElement
$obj->remove_ownedElement(@val);
Removes the AssociationEnd ownedElement values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
clear_ownedElement
$obj->clear_ownedElement;
Clears the AssociationEnd ownedElement links to UMMF::UML_1_5::Foundation::Core::ModelElement. Returns $obj.
count_ownedElement
$obj->count_ownedElement;
Returns the number of elements associated with ownedElement.
my @val = $obj->ownedElement_AC; my $ary_val = $obj->ownedElement_AC;
Returns the AssociationEnd ownedElement_AC values of type UMMF::UML_1_5::Foundation::Core::ElementOwnership. 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_ownedElement_AC
$obj->set_ownedElement_AC(@val);
Sets the AssociationEnd ownedElement_AC value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ElementOwnership. Returns $obj.
add_ownedElement_AC
$obj->add_ownedElement_AC(@val);
Adds AssociationEnd ownedElement_AC values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ElementOwnership. Returns $obj.
remove_ownedElement_AC
$obj->remove_ownedElement_AC(@val);
Removes the AssociationEnd ownedElement_AC values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::ElementOwnership. Returns $obj.
clear_ownedElement_AC
$obj->clear_ownedElement_AC;
Clears the AssociationEnd ownedElement_AC links to UMMF::UML_1_5::Foundation::Core::ElementOwnership. Returns $obj.
count_ownedElement_AC
$obj->count_ownedElement_AC;
Returns the number of elements associated with ownedElement_AC.
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.