NAME
UMMF::UML_1_5::Foundation::Core::Generalization --
VERSION
1.5
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::UML_1_5::Foundation::Core::Relationship
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
generalization
: THIS 0..*
<---> child
: UMMF::UML_1_5::Foundation::Core::GeneralizableElement 1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::GeneralizableElement
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
specialization
: THIS 0..*
<---> parent
: UMMF::UML_1_5::Foundation::Core::GeneralizableElement 1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::GeneralizableElement
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
powertypeRange
: THIS 0..*
<---> powertype
: UMMF::UML_1_5::Foundation::Core::Classifier 0..1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::Classifier
- multiplicity =
0..1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__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.
__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.
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.
__isAbstract
$package->__isAbstract;
Returns 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
.
child
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
.
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
.
parent
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
.
powertype
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