The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

UMMF::UML::MetaModel::Foundation::Core::ElementOwnership --

VERSION

1.0

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

UMMF::UML::MetaModel::Foundation::Core::AssociationClass

SUPERCLASSES

UMMF::UML::MetaModel::__ObjectBase

ATTRIBUTES

visibility : UMMF::UML::MetaModel::Foundation::Data_Types::VisibilityKind

metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
type = UMMF::UML::MetaModel::Foundation::Data_Types::VisibilityKind
visibility = private
multiplicity = 1
changeability = changeable
targetScope = instance
ordering = unordered
initialValue = <"public">
container_type = Set::Object

isSpecification : UMMF::UML::MetaModel::Foundation::Data_Types::Boolean

metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
type = UMMF::UML::MetaModel::Foundation::Data_Types::Boolean
visibility = private
multiplicity = 1
changeability = changeable
targetScope = instance
ordering = unordered
initialValue = <"false">
container_type = Set::Object

ASSOCIATIONS

0..* : ownedElement_AC <---> namespace : UMMF::UML::MetaModel::Foundation::Core::Namespace 0..1

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Foundation::Core::Namespace
multiplicity = 0..1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = composite
visibility = public
container_type = Set::Object

0..1 : namespace_AC <---> ownedElement : UMMF::UML::MetaModel::Foundation::Core::ModelElement 0..*

metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
type = UMMF::UML::MetaModel::Foundation::Core::ModelElement
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

METHODS

__validate_type

  UMMF::UML::MetaModel::Foundation::Core::ElementOwnership->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML::MetaModel::Foundation::Core::ElementOwnership.

__typecheck

  UMMF::UML::MetaModel::Foundation::Core::ElementOwnership->__typecheck($value, $msg);

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

isaElementOwnership

Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::ElementOwnership. Other receivers will return false.

isaFoundation__Core__ElementOwnership

Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::ElementOwnership. Other receivers will return false. This is the fully qualified version of the isaElementOwnership method.

__model_name

  my $name = $obj_or_package->__model_name;

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

visibility

  my $val = $obj->visibility;

Returns the UMMF::UML::MetaModel::Foundation::Data_Types::VisibilityKind value of Attribute visibility.

set_visibility

  $obj->set_visibility($val);

Sets the value of Attribute visibility. $val must be of type UMMF::UML::MetaModel::Foundation::Data_Types::VisibilityKind or undef. Returns $obj.

count_visibility

  $obj->count_visibility;

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

isSpecification

  my $val = $obj->isSpecification;

Returns the UMMF::UML::MetaModel::Foundation::Data_Types::Boolean value of Attribute isSpecification.

set_isSpecification

  $obj->set_isSpecification($val);

Sets the value of Attribute isSpecification. $val must be of type UMMF::UML::MetaModel::Foundation::Data_Types::Boolean or undef. Returns $obj.

count_isSpecification

  $obj->count_isSpecification;

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

namespace

  my $val = $obj->namespace;

Returns the AssociationEnd namespace value of type UMMF::UML::MetaModel::Foundation::Core::Namespace.

set_namespace

  $obj->set_namespace($val);

Sets the AssociationEnd namespace value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Namespace. Returns $obj.

add_namespace

  $obj->add_namespace($val);

Adds the AssociationEnd namespace value. $val must of type UMMF::UML::MetaModel::Foundation::Core::Namespace. Throws exception if a value already exists. Returns $obj.

remove_namespace

  $obj->remove_namespace($val);

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

clear_namespace

  $obj->clear_namespace;

Clears the AssociationEnd namespace links to UMMF::UML::MetaModel::Foundation::Core::Namespace. Returns $obj.

count_namespace

  $obj->count_namespace;

Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Namespace associated with namespace.

ownedElement

  my @val = $obj->ownedElement;
  my $ary_val = $obj->ownedElement;

Returns the AssociationEnd ownedElement values of type UMMF::UML::MetaModel::Foundation::Core::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_ownedElement

  $obj->set_ownedElement(@val);

Sets the AssociationEnd ownedElement value. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

add_ownedElement

  $obj->add_ownedElement(@val);

Adds AssociationEnd ownedElement values. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

remove_ownedElement

  $obj->remove_ownedElement(@val);

Removes the AssociationEnd ownedElement values @val. Elements of @val must of type UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

clear_ownedElement

  $obj->clear_ownedElement;

Clears the AssociationEnd ownedElement links to UMMF::UML::MetaModel::Foundation::Core::ModelElement. Returns $obj.

count_ownedElement

  $obj->count_ownedElement;

Returns the number of elements associated with ownedElement.

END OF DOCUMENT