NAME

UMMF::UML_1_5::Foundation::Core::Method --

VERSION

1.5

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML_1_5::Foundation::Core::Class

SUPERCLASSES

UMMF::UML_1_5::Foundation::Core::BehavioralFeature

ATTRIBUTES

body : UMMF::UML_1_5::Foundation::Data_Types::ProcedureExpression

metatype = UMMF::UML_1_5::Foundation::Core::Attribute
type = UMMF::UML_1_5::Foundation::Data_Types::ProcedureExpression
visibility = private
multiplicity = 1
changeability = changeable
targetScope = instance
ordering = unordered
initialValue = UNSPECIFIED
container_type = Set::Object

ASSOCIATIONS

method : THIS 0..* <---> procedure : UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure 0..1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure
multiplicity = 0..1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

method : THIS 0..* <---> specification : UMMF::UML_1_5::Foundation::Core::Operation 1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Foundation::Core::Operation
multiplicity = 1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

METHODS

__validate_type

UMMF::UML_1_5::Foundation::Core::Method->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Core::Method.

__typecheck

UMMF::UML_1_5::Foundation::Core::Method->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Core::Method-__validate_type($value)>> is false.

isaMethod

Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Method. Other receivers will return false.

isaFoundation__Core__Method

Returns true if receiver is a UMMF::UML_1_5::Foundation::Core::Method. Other receivers will return false. This is the fully qualified version of the isaMethod method.

__model_name

my $name = $obj_or_package->__model_name;

Returns the UML Model name ('Foundation::Core::Method') 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.

body

my $val = $obj->body;

Returns the UMMF::UML_1_5::Foundation::Data_Types::ProcedureExpression value of Attribute body.

set_body

$obj->set_body($val);

Sets the value of Attribute body. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::ProcedureExpression or undef. Returns $obj.

count_body

$obj->count_body;

Returns the number of elements (0 or 1) in body.

procedure

my $val = $obj->procedure;

Returns the AssociationEnd procedure value of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure.

set_procedure

$obj->set_procedure($val);

Sets the AssociationEnd procedure value. $val must of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure. Returns $obj.

add_procedure

$obj->add_procedure($val);

Adds the AssociationEnd procedure value. $val must of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure. Throws exception if a value already exists. Returns $obj.

remove_procedure

$obj->remove_procedure($val);

Removes the AssociationEnd procedure value $val. Returns $obj.

clear_procedure

$obj->clear_procedure;

Clears the AssociationEnd procedure links to UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure. Returns $obj.

count_procedure

$obj->count_procedure;

Returns the number of elements of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Procedure associated with procedure.

specification

my $val = $obj->specification;

Returns the AssociationEnd specification value of type UMMF::UML_1_5::Foundation::Core::Operation.

set_specification

$obj->set_specification($val);

Sets the AssociationEnd specification value. $val must of type UMMF::UML_1_5::Foundation::Core::Operation. Returns $obj.

add_specification

$obj->add_specification($val);

Adds the AssociationEnd specification value. $val must of type UMMF::UML_1_5::Foundation::Core::Operation. Throws exception if a value already exists. Returns $obj.

remove_specification

$obj->remove_specification($val);

Removes the AssociationEnd specification value $val. Returns $obj.

clear_specification

$obj->clear_specification;

Clears the AssociationEnd specification links to UMMF::UML_1_5::Foundation::Core::Operation. Returns $obj.

count_specification

$obj->count_specification;

Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::Operation associated with specification.

END OF DOCUMENT