UMMF::UML_1_5::Foundation::Core::Generalization --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::Relationship
NO ATTRIBUTES
generalization
0..*
child
1
changeable
instance
none
public
Set::Object
specialization
parent
powertypeRange
powertype
0..1
__validate_type
UMMF::UML_1_5::Foundation::Core::Generalization->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::Generalization.
$value
__typecheck
UMMF::UML_1_5::Foundation::Core::Generalization->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::Generalization-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Core::Generalization-
isaGeneralization
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Generalization. Other receivers will return false.
isaFoundation__Core__Generalization
Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Generalization. Other receivers will return false. This is the fully qualified version of the isaGeneralization method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Core::Generalization') for an object or package of this Classifier.
'Foundation::Core::Generalization'
__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->child;
Returns the AssociationEnd child value of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement.
set_child
$obj->set_child($val);
Sets the AssociationEnd child value. $val must of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Returns $obj.
$val
$obj
add_child
$obj->add_child($val);
Adds the AssociationEnd child value. $val must of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Throws exception if a value already exists. Returns $obj.
remove_child
$obj->remove_child($val);
Removes the AssociationEnd child value $val. Returns $obj.
clear_child
$obj->clear_child;
Clears the AssociationEnd child links to UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Returns $obj.
count_child
$obj->count_child;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement associated with child.
my $val = $obj->parent;
Returns the AssociationEnd parent value of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement.
set_parent
$obj->set_parent($val);
Sets the AssociationEnd parent value. $val must of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Returns $obj.
add_parent
$obj->add_parent($val);
Adds the AssociationEnd parent value. $val must of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Throws exception if a value already exists. Returns $obj.
remove_parent
$obj->remove_parent($val);
Removes the AssociationEnd parent value $val. Returns $obj.
clear_parent
$obj->clear_parent;
Clears the AssociationEnd parent links to UMMF::UML_1_5::Foundation::Core::GeneralizableElement. Returns $obj.
count_parent
$obj->count_parent;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::GeneralizableElement associated with parent.
my $val = $obj->powertype;
Returns the AssociationEnd powertype value of type UMMF::UML_1_5::Foundation::Core::Classifier.
set_powertype
$obj->set_powertype($val);
Sets the AssociationEnd powertype value. $val must of type UMMF::UML_1_5::Foundation::Core::Classifier. Returns $obj.
add_powertype
$obj->add_powertype($val);
Adds the AssociationEnd powertype value. $val must of type UMMF::UML_1_5::Foundation::Core::Classifier. Throws exception if a value already exists. Returns $obj.
remove_powertype
$obj->remove_powertype($val);
Removes the AssociationEnd powertype value $val. Returns $obj.
clear_powertype
$obj->clear_powertype;
Clears the AssociationEnd powertype links to UMMF::UML_1_5::Foundation::Core::Classifier. Returns $obj.
count_powertype
$obj->count_powertype;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::Classifier associated with powertype.
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.