UMMF::MOF_1_3::Model::ModelElement --
1.3
UMMF::UML_1_5::Foundation::Core::Class
UMMF::MOF_1_3::__ObjectBase
name
private
1
changeable
instance
unordered
Set::Object
annotation
constrainedElement
1..*
constraint
0..*
none
public
containedElement
container
0..1
composite
provider
dependent
modelElement
tag
ordered
ARRAY
__validate_type
UMMF::MOF_1_3::Model::ModelElement->__validate_type($value);
Returns true if $value is a valid representation of UMMF::MOF_1_3::Model::ModelElement.
$value
__typecheck
UMMF::MOF_1_3::Model::ModelElement->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::MOF_1_3::Model::ModelElement-__validate_type($value)>> is false.
confess()
$msg
<UMMF::MOF_1_3::Model::ModelElement-
isaModelElement
Returns true if receiver is a UMMF::MOF_1_3::Model::ModelElement. Other receivers will return false.
isaModel__ModelElement
Returns true if receiver is a UMMF::MOF_1_3::Model::ModelElement. Other receivers will return false. This is the fully qualified version of the isaModelElement method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Model::ModelElement') for an object or package of this Classifier.
'Model::ModelElement'
__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->name;
Returns the UMMF::MOF_1_3::Model::String value of Attribute name.
set_name
$obj->set_name($val);
Sets the value of Attribute name. $val must be of type UMMF::MOF_1_3::Model::String or undef. Returns $obj.
$val
undef
$obj
count_name
$obj->count_name;
Returns the number of elements (0 or 1) in name.
my $val = $obj->annotation;
Returns the UMMF::MOF_1_3::Model::String value of Attribute annotation.
set_annotation
$obj->set_annotation($val);
Sets the value of Attribute annotation. $val must be of type UMMF::MOF_1_3::Model::String or undef. Returns $obj.
count_annotation
$obj->count_annotation;
Returns the number of elements (0 or 1) in annotation.
my @val = $obj->constraint; my $ary_val = $obj->constraint;
Returns the AssociationEnd constraint values of type UMMF::MOF_1_3::Model::Constraint. 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_constraint
$obj->set_constraint(@val);
Sets the AssociationEnd constraint value. Elements of @val must of type UMMF::MOF_1_3::Model::Constraint. Returns $obj.
@val
add_constraint
$obj->add_constraint(@val);
Adds AssociationEnd constraint values. Elements of @val must of type UMMF::MOF_1_3::Model::Constraint. Returns $obj.
remove_constraint
$obj->remove_constraint(@val);
Removes the AssociationEnd constraint values @val. Elements of @val must of type UMMF::MOF_1_3::Model::Constraint. Returns $obj.
clear_constraint
$obj->clear_constraint;
Clears the AssociationEnd constraint links to UMMF::MOF_1_3::Model::Constraint. Returns $obj.
count_constraint
$obj->count_constraint;
Returns the number of elements associated with constraint.
my $val = $obj->container;
Returns the AssociationEnd container value of type UMMF::MOF_1_3::Model::Namespace.
set_container
$obj->set_container($val);
Sets the AssociationEnd container value. $val must of type UMMF::MOF_1_3::Model::Namespace. Returns $obj.
add_container
$obj->add_container($val);
Adds the AssociationEnd container value. $val must of type UMMF::MOF_1_3::Model::Namespace. Throws exception if a value already exists. Returns $obj.
remove_container
$obj->remove_container($val);
Removes the AssociationEnd container value $val. Returns $obj.
clear_container
$obj->clear_container;
Clears the AssociationEnd container links to UMMF::MOF_1_3::Model::Namespace. Returns $obj.
count_container
$obj->count_container;
Returns the number of elements of type UMMF::MOF_1_3::Model::Namespace associated with container.
my @val = $obj->dependent; my $ary_val = $obj->dependent;
Returns the AssociationEnd dependent values of type UMMF::MOF_1_3::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.
set_dependent
$obj->set_dependent(@val);
Sets the AssociationEnd dependent value. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
add_dependent
$obj->add_dependent(@val);
Adds AssociationEnd dependent values. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
remove_dependent
$obj->remove_dependent(@val);
Removes the AssociationEnd dependent values @val. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
clear_dependent
$obj->clear_dependent;
Clears the AssociationEnd dependent links to UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
count_dependent
$obj->count_dependent;
Returns the number of elements associated with dependent.
my @val = $obj->provider; my $ary_val = $obj->provider;
Returns the AssociationEnd provider values of type UMMF::MOF_1_3::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.
set_provider
$obj->set_provider(@val);
Sets the AssociationEnd provider value. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
add_provider
$obj->add_provider(@val);
Adds AssociationEnd provider values. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
remove_provider
$obj->remove_provider(@val);
Removes the AssociationEnd provider values @val. Elements of @val must of type UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
clear_provider
$obj->clear_provider;
Clears the AssociationEnd provider links to UMMF::MOF_1_3::Model::ModelElement. Returns $obj.
count_provider
$obj->count_provider;
Returns the number of elements associated with provider.
my @val = $obj->tag; my $ary_val = $obj->tag;
Returns the AssociationEnd tag values of type UMMF::MOF_1_3::Model::Tag. 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_tag
my $x = $obj->index_tag($i); my @x = $obj->index_tag($i, $count);
In scalar context, returns the value of AssociationEnd tag at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_tag
my $index = $obj->index_of_tag($val);
Returns the index of $val in AssociationEnd tag. Return undef if $val is not in tag.
set_tag
$obj->set_tag(@val);
Sets the AssociationEnd tag value. Elements of @val must of type UMMF::MOF_1_3::Model::Tag. Returns $obj.
set_index_tag
$obj->set_index_tag($i, $val);
Sets the value of AssociationEnd tag at index $i. Returns self.
add_tag
$obj->add_tag(@val);
Adds AssociationEnd tag values. Elements of @val must of type UMMF::MOF_1_3::Model::Tag. Returns $obj.
add_index_tag
$obj->add_index_tag($i, @val);
Adds AssociationEnd tag values at index $i. Elements of @val must of type UMMF::MOF_1_3::Model::Tag. Returns $obj.
remove_tag
$obj->remove_tag(@val);
Removes the AssociationEnd tag values @val. Elements of @val must of type UMMF::MOF_1_3::Model::Tag. Returns $obj.
clear_tag
$obj->clear_tag;
Clears the AssociationEnd tag links to UMMF::MOF_1_3::Model::Tag. Returns $obj.
count_tag
$obj->count_tag;
Returns the number of elements associated with tag.
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.