NAME
UMMF::UML_1_5::Foundation::Core::GeneralizableElement --
VERSION
1.5
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
UMMF::UML_1_5::Foundation::Core::ModelElement
ATTRIBUTES
isRoot
: UMMF::UML_1_5::Foundation::Data_Types::Boolean
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::UML_1_5::Foundation::Data_Types::Boolean
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"false"
> - container_type =
Set::Object
isLeaf
: UMMF::UML_1_5::Foundation::Data_Types::Boolean
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::UML_1_5::Foundation::Data_Types::Boolean
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"false"
> - container_type =
Set::Object
isAbstract
: UMMF::UML_1_5::Foundation::Data_Types::Boolean
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::UML_1_5::Foundation::Data_Types::Boolean
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"false"
> - container_type =
Set::Object
ASSOCIATIONS
child
: THIS 1
<---> generalization
: UMMF::UML_1_5::Foundation::Core::Generalization 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::Generalization
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
parent
: THIS 1
<---> specialization
: UMMF::UML_1_5::Foundation::Core::Generalization 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::UML_1_5::Foundation::Core::Generalization
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__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.
__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.
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.
__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
.
isRoot
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
.
count_isRoot
$obj->count_isRoot;
Returns the number of elements (0 or 1) in isRoot
.
isLeaf
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
.
isAbstract
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
.
generalization
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
.
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
.
specialization
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