NAME
UMMF::MOF_1_4_1::Model::ModelElement --
VERSION
1.4.1
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML_1_5::Foundation::Core::Class
SUPERCLASSES
ATTRIBUTES
name
: UMMF::MOF_1_4_1::Model::String
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_4_1::Model::String
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
annotation
: UMMF::MOF_1_4_1::Model::String
- metatype = UMMF::UML_1_5::Foundation::Core::Attribute
- type = UMMF::MOF_1_4_1::Model::String
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
ASSOCIATIONS
constrainedElement
: THIS 1..*
<---> constraint
: UMMF::MOF_1_4_1::Model::Constraint 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_4_1::Model::Constraint
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
containedElement
: THIS 0..*
<---> container
: UMMF::MOF_1_4_1::Model::Namespace 0..1
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_4_1::Model::Namespace
- multiplicity =
0..1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
composite
- visibility =
public
- container_type =
Set::Object
provider
: THIS 0..*
<---> dependent
: UMMF::MOF_1_4_1::Model::ModelElement 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_4_1::Model::ModelElement
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
dependent
: THIS 0..*
<---> provider
: UMMF::MOF_1_4_1::Model::ModelElement 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_4_1::Model::ModelElement
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
modelElement
: THIS 1..*
<---> tag
: UMMF::MOF_1_4_1::Model::Tag 0..*
- metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
- type = UMMF::MOF_1_4_1::Model::Tag
- multiplicity =
0..*
- changeability =
changeable
- targetScope =
instance
- ordering =
ordered
- aggregation =
none
- visibility =
public
- container_type =
ARRAY
METHODS
__validate_type
UMMF::MOF_1_4_1::Model::ModelElement->__validate_type(
$value
);
Returns true if $value
is a valid representation of UMMF::MOF_1_4_1::Model::ModelElement.
__typecheck
UMMF::MOF_1_4_1::Model::ModelElement->__typecheck(
$value
,
$msg
);
Calls confess()
with $msg
if <UMMF::MOF_1_4_1::Model::ModelElement-
__validate_type($value)>> is false.
isaModelElement
Returns true if receiver is a UMMF::MOF_1_4_1::Model::ModelElement. Other receivers will return false.
isaModel__ModelElement
Returns true if receiver is a UMMF::MOF_1_4_1::Model::ModelElement. Other receivers will return false. This is the fully qualified version of the isaModelElement
method.
__model_name
my
$name
=
$obj_or_package
->__model_name;
Returns the UML Model name ('Model::ModelElement'
) 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
.
name
my
$val
=
$obj
->name;
Returns the UMMF::MOF_1_4_1::Model::String value of Attribute name
.
set_name
$obj
->set_name(
$val
);
Sets the value of Attribute name
. $val
must be of type UMMF::MOF_1_4_1::Model::String or undef
. Returns $obj
.
count_name
$obj
->count_name;
Returns the number of elements (0 or 1) in name
.
annotation
my
$val
=
$obj
->annotation;
Returns the UMMF::MOF_1_4_1::Model::String value of Attribute annotation
.
set_annotation
$obj
->set_annotation(
$val
);
Sets the value of Attribute annotation
. $val
must be of type UMMF::MOF_1_4_1::Model::String or undef
. Returns $obj
.
count_annotation
$obj
->count_annotation;
Returns the number of elements (0 or 1) in annotation
.
constraint
my
@val
=
$obj
->constraint;
my
$ary_val
=
$obj
->constraint;
Returns the AssociationEnd constraint
values of type UMMF::MOF_1_4_1::Model::Constraint. 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_constraint
$obj
->set_constraint(
@val
);
Sets the AssociationEnd constraint
value. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Constraint. Returns $obj
.
add_constraint
$obj
->add_constraint(
@val
);
Adds AssociationEnd constraint
values. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Constraint. Returns $obj
.
remove_constraint
$obj
->remove_constraint(
@val
);
Removes the AssociationEnd constraint
values @val
. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Constraint. Returns $obj
.
clear_constraint
$obj
->clear_constraint;
Clears the AssociationEnd constraint
links to UMMF::MOF_1_4_1::Model::Constraint. Returns $obj
.
count_constraint
$obj
->count_constraint;
Returns the number of elements associated with constraint
.
container
my
$val
=
$obj
->container;
Returns the AssociationEnd container
value of type UMMF::MOF_1_4_1::Model::Namespace.
set_container
$obj
->set_container(
$val
);
Sets the AssociationEnd container
value. $val
must of type UMMF::MOF_1_4_1::Model::Namespace. Returns $obj
.
add_container
$obj
->add_container(
$val
);
Adds the AssociationEnd container
value. $val
must of type UMMF::MOF_1_4_1::Model::Namespace. Throws exception if a value already exists. Returns $obj
.
remove_container
$obj
->remove_container(
$val
);
Removes the AssociationEnd container
value $val
. Returns $obj
.
clear_container
$obj
->clear_container;
Clears the AssociationEnd container
links to UMMF::MOF_1_4_1::Model::Namespace. Returns $obj
.
count_container
$obj
->count_container;
Returns the number of elements of type UMMF::MOF_1_4_1::Model::Namespace associated with container
.
dependent
my
@val
=
$obj
->dependent;
my
$ary_val
=
$obj
->dependent;
Returns the AssociationEnd dependent
values of type UMMF::MOF_1_4_1::Model::ModelElement. 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_dependent
$obj
->set_dependent(
@val
);
Sets the AssociationEnd dependent
value. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
add_dependent
$obj
->add_dependent(
@val
);
Adds AssociationEnd dependent
values. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
remove_dependent
$obj
->remove_dependent(
@val
);
Removes the AssociationEnd dependent
values @val
. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
clear_dependent
$obj
->clear_dependent;
Clears the AssociationEnd dependent
links to UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
count_dependent
$obj
->count_dependent;
Returns the number of elements associated with dependent
.
provider
my
@val
=
$obj
->provider;
my
$ary_val
=
$obj
->provider;
Returns the AssociationEnd provider
values of type UMMF::MOF_1_4_1::Model::ModelElement. 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_provider
$obj
->set_provider(
@val
);
Sets the AssociationEnd provider
value. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
add_provider
$obj
->add_provider(
@val
);
Adds AssociationEnd provider
values. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
remove_provider
$obj
->remove_provider(
@val
);
Removes the AssociationEnd provider
values @val
. Elements of @val
must of type UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
clear_provider
$obj
->clear_provider;
Clears the AssociationEnd provider
links to UMMF::MOF_1_4_1::Model::ModelElement. Returns $obj
.
count_provider
$obj
->count_provider;
Returns the number of elements associated with provider
.
tag
my
@val
=
$obj
->tag;
my
$ary_val
=
$obj
->tag;
Returns the AssociationEnd tag
values of type UMMF::MOF_1_4_1::Model::Tag. 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_tag
my
$x
=
$obj
->index_tag(
$i
);
my
@x
=
$obj
->index_tag(
$i
,
$count
);
In scalar context, returns the value of AssociationEnd tag
at index $i
. In array context, returns the values between index $i
and $i + $count - 1
, inclusive.
index_of_tag
my
$index
=
$obj
->index_of_tag(
$val
);
Returns the index of $val
in AssociationEnd tag
. Return undef
if $val
is not in tag
.
set_tag
$obj
->set_tag(
@val
);
Sets the AssociationEnd tag
value. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Tag. Returns $obj
.
set_index_tag
$obj
->set_index_tag(
$i
,
$val
);
Sets the value of AssociationEnd tag
at index $i
. Returns self.
add_tag
$obj
->add_tag(
@val
);
Adds AssociationEnd tag
values. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Tag. Returns $obj
.
add_index_tag
$obj
->add_index_tag(
$i
,
@val
);
Adds AssociationEnd tag
values at index $i
. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Tag. Returns $obj
.
remove_tag
$obj
->remove_tag(
@val
);
Removes the AssociationEnd tag
values @val
. Elements of @val
must of type UMMF::MOF_1_4_1::Model::Tag. Returns $obj
.
clear_tag
$obj
->clear_tag;
Clears the AssociationEnd tag
links to UMMF::MOF_1_4_1::Model::Tag. Returns $obj
.
count_tag
$obj
->count_tag;
Returns the number of elements associated with tag
.
END OF DOCUMENT