UMMF::MOF_1_4_1::Model::GeneralizableElement --
1.4.1
UMMF::UML_1_5::Foundation::Core::Class
UMMF::MOF_1_4_1::Model::Namespace
isRoot
private
1
changeable
instance
unordered
Set::Object
isLeaf
isAbstract
visibility
supertype
0..*
subtype
none
public
ordered
ARRAY
__validate_type
UMMF::MOF_1_4_1::Model::GeneralizableElement->__validate_type($value);
Returns true if $value is a valid representation of UMMF::MOF_1_4_1::Model::GeneralizableElement.
$value
__typecheck
UMMF::MOF_1_4_1::Model::GeneralizableElement->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::MOF_1_4_1::Model::GeneralizableElement-__validate_type($value)>> is false.
confess()
$msg
<UMMF::MOF_1_4_1::Model::GeneralizableElement-
isaGeneralizableElement
Returns true if receiver is a UMMF::MOF_1_4_1::Model::GeneralizableElement. Other receivers will return false.
isaModel__GeneralizableElement
Returns true if receiver is a UMMF::MOF_1_4_1::Model::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 ('Model::GeneralizableElement') for an object or package of this Classifier.
'Model::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::MOF_1_4_1::Model::Boolean value of Attribute isRoot.
set_isRoot
$obj->set_isRoot($val);
Sets the value of Attribute isRoot. $val must be of type UMMF::MOF_1_4_1::Model::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::MOF_1_4_1::Model::Boolean value of Attribute isLeaf.
set_isLeaf
$obj->set_isLeaf($val);
Sets the value of Attribute isLeaf. $val must be of type UMMF::MOF_1_4_1::Model::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::MOF_1_4_1::Model::Boolean value of Attribute isAbstract.
set_isAbstract
$obj->set_isAbstract($val);
Sets the value of Attribute isAbstract. $val must be of type UMMF::MOF_1_4_1::Model::Boolean or undef. Returns $obj.
count_isAbstract
$obj->count_isAbstract;
Returns the number of elements (0 or 1) in isAbstract.
my $val = $obj->visibility;
Returns the UMMF::MOF_1_4_1::Model::VisibilityKind value of Attribute visibility.
set_visibility
$obj->set_visibility($val);
Sets the value of Attribute visibility. $val must be of type UMMF::MOF_1_4_1::Model::VisibilityKind or undef. Returns $obj.
count_visibility
$obj->count_visibility;
Returns the number of elements (0 or 1) in visibility.
my @val = $obj->subtype; my $ary_val = $obj->subtype;
Returns the AssociationEnd subtype values of type UMMF::MOF_1_4_1::Model::GeneralizableElement. 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_subtype
$obj->set_subtype(@val);
Sets the AssociationEnd subtype value. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
@val
add_subtype
$obj->add_subtype(@val);
Adds AssociationEnd subtype values. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
remove_subtype
$obj->remove_subtype(@val);
Removes the AssociationEnd subtype values @val. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
clear_subtype
$obj->clear_subtype;
Clears the AssociationEnd subtype links to UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
count_subtype
$obj->count_subtype;
Returns the number of elements associated with subtype.
my @val = $obj->supertype; my $ary_val = $obj->supertype;
Returns the AssociationEnd supertype values of type UMMF::MOF_1_4_1::Model::GeneralizableElement. 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_supertype
my $x = $obj->index_supertype($i); my @x = $obj->index_supertype($i, $count);
In scalar context, returns the value of AssociationEnd supertype at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.
$i
$i + $count - 1
index_of_supertype
my $index = $obj->index_of_supertype($val);
Returns the index of $val in AssociationEnd supertype. Return undef if $val is not in supertype.
set_supertype
$obj->set_supertype(@val);
Sets the AssociationEnd supertype value. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
set_index_supertype
$obj->set_index_supertype($i, $val);
Sets the value of AssociationEnd supertype at index $i. Returns self.
add_supertype
$obj->add_supertype(@val);
Adds AssociationEnd supertype values. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
add_index_supertype
$obj->add_index_supertype($i, @val);
Adds AssociationEnd supertype values at index $i. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
remove_supertype
$obj->remove_supertype(@val);
Removes the AssociationEnd supertype values @val. Elements of @val must of type UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
clear_supertype
$obj->clear_supertype;
Clears the AssociationEnd supertype links to UMMF::MOF_1_4_1::Model::GeneralizableElement. Returns $obj.
count_supertype
$obj->count_supertype;
Returns the number of elements associated with supertype.
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.