UMMF::UML_1_5::Foundation::Core::GeneralizableElement --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
isRoot
private
1
changeable
instance
unordered
<"false"
Set::Object
isLeaf
isAbstract
child
generalization
0..*
none
public
parent
specialization
__validate_type
UMMF::UML_1_5::Foundation::Core::GeneralizableElement->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::GeneralizableElement.
$value
__typecheck
UMMF::UML_1_5::Foundation::Core::GeneralizableElement->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::GeneralizableElement-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Core::GeneralizableElement-
isaGeneralizableElement
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Other receivers will return false.
isaFoundation__Core__GeneralizableElement
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Other receivers will return false. This is the fully qualified version of the isaGeneralizableElement method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Core::GeneralizableElement') for an object or package of this Classifier.
'Foundation::Core::GeneralizableElement'
__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->isRoot;
Returns the UMMF::UML_1_5::Foundation::Data_Types::Boolean value of Attribute isRoot.
set_isRoot
$obj->set_isRoot($val);
Sets the value of Attribute isRoot. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::Boolean or undef. Returns $obj.
$val
undef
$obj
count_isRoot
$obj->count_isRoot;
Returns the number of elements (0 or 1) in isRoot.
my $val = $obj->isLeaf;
Returns the UMMF::UML_1_5::Foundation::Data_Types::Boolean value of Attribute isLeaf.
set_isLeaf
$obj->set_isLeaf($val);
Sets the value of Attribute isLeaf. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::Boolean or undef. Returns $obj.
count_isLeaf
$obj->count_isLeaf;
Returns the number of elements (0 or 1) in isLeaf.
my $val = $obj->isAbstract;
Returns the UMMF::UML_1_5::Foundation::Data_Types::Boolean value of Attribute isAbstract.
set_isAbstract
$obj->set_isAbstract($val);
Sets the value of Attribute isAbstract. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::Boolean or undef. Returns $obj.
count_isAbstract
$obj->count_isAbstract;
Returns the number of elements (0 or 1) in isAbstract.
my @val = $obj->generalization; my $ary_val = $obj->generalization;
Returns the AssociationEnd generalization values of type UMMF::UML_1_5::Foundation::Core::Generalization. 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_generalization
$obj->set_generalization(@val);
Sets the AssociationEnd generalization value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
@val
add_generalization
$obj->add_generalization(@val);
Adds AssociationEnd generalization values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
remove_generalization
$obj->remove_generalization(@val);
Removes the AssociationEnd generalization values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
clear_generalization
$obj->clear_generalization;
Clears the AssociationEnd generalization links to UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
count_generalization
$obj->count_generalization;
Returns the number of elements associated with generalization.
my @val = $obj->specialization; my $ary_val = $obj->specialization;
Returns the AssociationEnd specialization values of type UMMF::UML_1_5::Foundation::Core::Generalization. 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_specialization
$obj->set_specialization(@val);
Sets the AssociationEnd specialization value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
add_specialization
$obj->add_specialization(@val);
Adds AssociationEnd specialization values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
remove_specialization
$obj->remove_specialization(@val);
Removes the AssociationEnd specialization values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
clear_specialization
$obj->clear_specialization;
Clears the AssociationEnd specialization links to UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.
count_specialization
$obj->count_specialization;
Returns the number of elements associated with specialization.
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.