UMMF::UML_1_5::Foundation::Core::Classifier - UMMF::UML_1_5::Foundation::Core::Classifier documentation


UMMF documentation Contained in the UMMF distribution.

Index


Code Index:

NAME

Top

UMMF::UML_1_5::Foundation::Core::Classifier --

VERSION

Top

1.5

SYNOPSIS

Top

DESCRIPTION

Top

USAGE

Top

EXPORT

Top

METATYPE

Top

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

SUPERCLASSES

Top

UMMF::UML_1_5::Foundation::Core::Namespace

UMMF::UML_1_5::Foundation::Core::GeneralizableElement

ATTRIBUTES

Top

NO ATTRIBUTES

ASSOCIATIONS

Top

participant : THIS 1 <---> association : UMMF::UML_1_5::Foundation::Core::AssociationEnd 0..*

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

classifier : THIS 1 <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Other_Actions::ReadExtentAction 0..1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Other_Actions::ReadExtentAction (UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Other_Actions::ReadExtentAction)
multiplicity = 0..1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

classifier : THIS 1 <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::CreateObjectAction 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::CreateObjectAction (UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::CreateObjectAction)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

classifier : THIS 1 <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReadIsClassifiedObjectAction 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReadIsClassifiedObjectAction (UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReadIsClassifiedObjectAction)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---> classifierInState : UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

base : THIS 1..* <---> classifierRole : UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

representedClassifier : THIS 0..1 <---> collaboration_representedClassifier : UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

elementType : THIS 1 <---> collectionTypes : UMMF::UML_1_5::OCL::Types::CollectionType 0..4

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::OCL::Types::CollectionType
multiplicity = 0..4
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

owner : THIS 0..1 <---> feature : UMMF::UML_1_5::Foundation::Core::Feature 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Foundation::Core::Feature
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering = ordered
isNavigable = 1
aggregation = none
visibility = public
container_type = ARRAY

classifier : THIS 1..* <---> instance : UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance 0..*

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

jumpType : THIS 1 <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Jump_Actions::JumpHandler 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Jump_Actions::JumpHandler (UMMF::UML_1_5::Behavioral_Elements::Actions::Jump_Actions::JumpHandler)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

newClassifier : THIS 0..* <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction (UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---> objectFlowState : UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

oldClassifer : THIS 0..* <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction (UMMF::UML_1_5::Behavioral_Elements::Actions::Read_Write_Actions::Object_Actions::ReclassifyObjectAction)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---> parameter : UMMF::UML_1_5::Foundation::Core::Parameter 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Foundation::Core::Parameter
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 0..1 <---> pin : UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 1
aggregation = none
visibility = private
container_type = Set::Object

powertype : THIS 0..1 <---> powertypeRange : 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 =
isNavigable = 1
aggregation = none
visibility = public
container_type = Set::Object

specification : THIS 0..* <---> specifiedEnd : UMMF::UML_1_5::Foundation::Core::AssociationEnd 0..*

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

type : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart 1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::OCL::Expressions::CollectionLiteralPart
multiplicity = 1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::UnspecifiedValueExp 1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::OCL::Expressions::UnspecifiedValueExp
multiplicity = 1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::VariableDeclaration 1

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::OCL::Expressions::VariableDeclaration
multiplicity = 1
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 0..1 <---- : UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Variable 0..*

metatype = UMMF::UML_1_5::Foundation::Core::AssociationEnd
type = UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Variable (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Variable)
multiplicity = 0..*
changeability = changeable
targetScope = instance
ordering =
isNavigable = 0
aggregation = none
visibility = private
container_type = Set::Object

type : THIS 1 <---> typedFeature : UMMF::UML_1_5::Foundation::Core::StructuralFeature 0..*

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

METHODS

Top

__validate_type

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

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

__typecheck

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

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

isaClassifier

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

isaFoundation__Core__Classifier

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

__model_name

  my $name = $obj_or_package->__model_name;

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

association

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

Returns the AssociationEnd association values of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. 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_association

  $obj->set_association(@val);

Sets the AssociationEnd association value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

add_association

  $obj->add_association(@val);

Adds AssociationEnd association values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

remove_association

  $obj->remove_association(@val);

Removes the AssociationEnd association values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

clear_association

  $obj->clear_association;

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

count_association

  $obj->count_association;

Returns the number of elements associated with association.

classifierInState

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

Returns the AssociationEnd classifierInState values of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState). 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_classifierInState

  $obj->set_classifierInState(@val);

Sets the AssociationEnd classifierInState value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState). Returns $obj.

add_classifierInState

  $obj->add_classifierInState(@val);

Adds AssociationEnd classifierInState values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState). Returns $obj.

remove_classifierInState

  $obj->remove_classifierInState(@val);

Removes the AssociationEnd classifierInState values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState). Returns $obj.

clear_classifierInState

  $obj->clear_classifierInState;

Clears the AssociationEnd classifierInState links to UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState). Returns $obj.

count_classifierInState

  $obj->count_classifierInState;

Returns the number of elements associated with classifierInState.

classifierRole

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

Returns the AssociationEnd classifierRole values of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole). 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_classifierRole

  $obj->set_classifierRole(@val);

Sets the AssociationEnd classifierRole value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole). Returns $obj.

add_classifierRole

  $obj->add_classifierRole(@val);

Adds AssociationEnd classifierRole values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole). Returns $obj.

remove_classifierRole

  $obj->remove_classifierRole(@val);

Removes the AssociationEnd classifierRole values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole). Returns $obj.

clear_classifierRole

  $obj->clear_classifierRole;

Clears the AssociationEnd classifierRole links to UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole (UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole). Returns $obj.

count_classifierRole

  $obj->count_classifierRole;

Returns the number of elements associated with classifierRole.

collaboration_representedClassifier

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

Returns the AssociationEnd collaboration_representedClassifier values of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration). 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_collaboration_representedClassifier

  $obj->set_collaboration_representedClassifier(@val);

Sets the AssociationEnd collaboration_representedClassifier value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration). Returns $obj.

add_collaboration_representedClassifier

  $obj->add_collaboration_representedClassifier(@val);

Adds AssociationEnd collaboration_representedClassifier values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration). Returns $obj.

remove_collaboration_representedClassifier

  $obj->remove_collaboration_representedClassifier(@val);

Removes the AssociationEnd collaboration_representedClassifier values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration). Returns $obj.

clear_collaboration_representedClassifier

  $obj->clear_collaboration_representedClassifier;

Clears the AssociationEnd collaboration_representedClassifier links to UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration (UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration). Returns $obj.

count_collaboration_representedClassifier

  $obj->count_collaboration_representedClassifier;

Returns the number of elements associated with collaboration_representedClassifier.

collectionTypes

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

Returns the AssociationEnd collectionTypes values of type UMMF::UML_1_5::OCL::Types::CollectionType. 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_collectionTypes

  $obj->set_collectionTypes(@val);

Sets the AssociationEnd collectionTypes value. Elements of @val must of type UMMF::UML_1_5::OCL::Types::CollectionType. Returns $obj.

add_collectionTypes

  $obj->add_collectionTypes(@val);

Adds AssociationEnd collectionTypes values. Elements of @val must of type UMMF::UML_1_5::OCL::Types::CollectionType. Returns $obj.

remove_collectionTypes

  $obj->remove_collectionTypes(@val);

Removes the AssociationEnd collectionTypes values @val. Elements of @val must of type UMMF::UML_1_5::OCL::Types::CollectionType. Returns $obj.

clear_collectionTypes

  $obj->clear_collectionTypes;

Clears the AssociationEnd collectionTypes links to UMMF::UML_1_5::OCL::Types::CollectionType. Returns $obj.

count_collectionTypes

  $obj->count_collectionTypes;

Returns the number of elements associated with collectionTypes.

feature

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

Returns the AssociationEnd feature values of type UMMF::UML_1_5::Foundation::Core::Feature. 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_feature

  my $x = $obj->index_feature($i);
  my @x = $obj->index_feature($i, $count);

In scalar context, returns the value of AssociationEnd feature at index $i. In array context, returns the values between index $i and $i + $count - 1, inclusive.

index_of_feature

  my $index = $obj->index_of_feature($val);

Returns the index of $val in AssociationEnd feature. Return undef if $val is not in feature.

set_feature

  $obj->set_feature(@val);

Sets the AssociationEnd feature value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Feature. Returns $obj.

set_index_feature

  $obj->set_index_feature($i, $val);

Sets the value of AssociationEnd feature at index $i. Returns self.

add_feature

  $obj->add_feature(@val);

Adds AssociationEnd feature values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Feature. Returns $obj.

add_index_feature

  $obj->add_index_feature($i, @val);

Adds AssociationEnd feature values at index $i. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Feature. Returns $obj.

remove_feature

  $obj->remove_feature(@val);

Removes the AssociationEnd feature values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Feature. Returns $obj.

clear_feature

  $obj->clear_feature;

Clears the AssociationEnd feature links to UMMF::UML_1_5::Foundation::Core::Feature. Returns $obj.

count_feature

  $obj->count_feature;

Returns the number of elements associated with feature.

instance

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

Returns the AssociationEnd instance values of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance. 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_instance

  $obj->set_instance(@val);

Sets the AssociationEnd instance value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance. Returns $obj.

add_instance

  $obj->add_instance(@val);

Adds AssociationEnd instance values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance. Returns $obj.

remove_instance

  $obj->remove_instance(@val);

Removes the AssociationEnd instance values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance. Returns $obj.

clear_instance

  $obj->clear_instance;

Clears the AssociationEnd instance links to UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance. Returns $obj.

count_instance

  $obj->count_instance;

Returns the number of elements associated with instance.

objectFlowState

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

Returns the AssociationEnd objectFlowState values of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState). 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_objectFlowState

  $obj->set_objectFlowState(@val);

Sets the AssociationEnd objectFlowState value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState). Returns $obj.

add_objectFlowState

  $obj->add_objectFlowState(@val);

Adds AssociationEnd objectFlowState values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState). Returns $obj.

remove_objectFlowState

  $obj->remove_objectFlowState(@val);

Removes the AssociationEnd objectFlowState values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState). Returns $obj.

clear_objectFlowState

  $obj->clear_objectFlowState;

Clears the AssociationEnd objectFlowState links to UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState (UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState). Returns $obj.

count_objectFlowState

  $obj->count_objectFlowState;

Returns the number of elements associated with objectFlowState.

parameter

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

Returns the AssociationEnd parameter values of type UMMF::UML_1_5::Foundation::Core::Parameter. 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_parameter

  $obj->set_parameter(@val);

Sets the AssociationEnd parameter value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.

add_parameter

  $obj->add_parameter(@val);

Adds AssociationEnd parameter values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.

remove_parameter

  $obj->remove_parameter(@val);

Removes the AssociationEnd parameter values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.

clear_parameter

  $obj->clear_parameter;

Clears the AssociationEnd parameter links to UMMF::UML_1_5::Foundation::Core::Parameter. Returns $obj.

count_parameter

  $obj->count_parameter;

Returns the number of elements associated with parameter.

pin

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

Returns the AssociationEnd pin values of type UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin). 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_pin

  $obj->set_pin(@val);

Sets the AssociationEnd pin value. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin). Returns $obj.

add_pin

  $obj->add_pin(@val);

Adds AssociationEnd pin values. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin). Returns $obj.

remove_pin

  $obj->remove_pin(@val);

Removes the AssociationEnd pin values @val. Elements of @val must of type UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin). Returns $obj.

clear_pin

  $obj->clear_pin;

Clears the AssociationEnd pin links to UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin (UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin). Returns $obj.

count_pin

  $obj->count_pin;

Returns the number of elements associated with pin.

powertypeRange

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

Returns the AssociationEnd powertypeRange 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_powertypeRange

  $obj->set_powertypeRange(@val);

Sets the AssociationEnd powertypeRange value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.

add_powertypeRange

  $obj->add_powertypeRange(@val);

Adds AssociationEnd powertypeRange values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.

remove_powertypeRange

  $obj->remove_powertypeRange(@val);

Removes the AssociationEnd powertypeRange values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.

clear_powertypeRange

  $obj->clear_powertypeRange;

Clears the AssociationEnd powertypeRange links to UMMF::UML_1_5::Foundation::Core::Generalization. Returns $obj.

count_powertypeRange

  $obj->count_powertypeRange;

Returns the number of elements associated with powertypeRange.

specifiedEnd

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

Returns the AssociationEnd specifiedEnd values of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. 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_specifiedEnd

  $obj->set_specifiedEnd(@val);

Sets the AssociationEnd specifiedEnd value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

add_specifiedEnd

  $obj->add_specifiedEnd(@val);

Adds AssociationEnd specifiedEnd values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

remove_specifiedEnd

  $obj->remove_specifiedEnd(@val);

Removes the AssociationEnd specifiedEnd values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::AssociationEnd. Returns $obj.

clear_specifiedEnd

  $obj->clear_specifiedEnd;

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

count_specifiedEnd

  $obj->count_specifiedEnd;

Returns the number of elements associated with specifiedEnd.

typedFeature

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

Returns the AssociationEnd typedFeature values of type UMMF::UML_1_5::Foundation::Core::StructuralFeature. 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_typedFeature

  $obj->set_typedFeature(@val);

Sets the AssociationEnd typedFeature value. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::StructuralFeature. Returns $obj.

add_typedFeature

  $obj->add_typedFeature(@val);

Adds AssociationEnd typedFeature values. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::StructuralFeature. Returns $obj.

remove_typedFeature

  $obj->remove_typedFeature(@val);

Removes the AssociationEnd typedFeature values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Core::StructuralFeature. Returns $obj.

clear_typedFeature

  $obj->clear_typedFeature;

Clears the AssociationEnd typedFeature links to UMMF::UML_1_5::Foundation::Core::StructuralFeature. Returns $obj.

count_typedFeature

  $obj->count_typedFeature;

Returns the number of elements associated with typedFeature.

END OF DOCUMENT


UMMF documentation Contained in the UMMF distribution.
# -*- perl -*-
# DO NOT EDIT - This file is generated by UMMF; http://ummf.sourceforge.net 
# From template: $Id: Perl.txt,v 1.77 2006/05/14 01:40:03 kstephens Exp $

package UMMF::UML_1_5::Foundation::Core::Classifier;

#use 5.6.1;
use strict;
use warnings;

#################################################################
# Version
#

our $VERSION = do { my @r = (q{1.5} =~ /\d+/g); sprintf "%d." . "%03d" x $#r, @r };


#################################################################
# Documentation
#



#################################################################
# Dependencies
#





use Carp qw(croak confess);
use Set::Object 1.05;
use Class::Multimethods 1.70;
use Data::Dumper;
use Scalar::Util qw(weaken);
use UMMF::UML_1_5::__ObjectBase qw(:__ummf_array);


#################################################################
# Generalizations
#

use base qw(
  UMMF::UML_1_5::Foundation::Core::Namespace  UMMF::UML_1_5::Foundation::Core::GeneralizableElement



);


#################################################################
# Exports
#

our @EXPORT_OK = qw(
);
our %EXPORT_TAGS = ( 'all' => \@EXPORT_OK );





#################################################################
# Validation
#


sub __validate_type($$)
{
  my ($self, $x) = @_;

  no warnings;

  UNIVERSAL::isa($x, 'UMMF::UML_1_5::Foundation::Core::Classifier')  ;
}


sub __typecheck
{
  my ($self, $x, $msg) = @_;

  confess("typecheck: $msg: type '" . 'UMMF::UML_1_5::Foundation::Core::Classifier' . ": value '$x'")
    unless __validate_type($self, $x);
}


sub isaClassifier { 1 }


sub isaFoundation__Core__Classifier { 1 }


#################################################################
# Introspection
#

sub __model_name { 'Foundation::Core::Classifier' }



sub __isAbstract { 1; }


my $__tangram_schema;
sub __tangram_schema
{
  my ($self) = @_;

  $__tangram_schema ||=
  {
   'classes' =>
   [
     'UMMF::UML_1_5::Foundation::Core::Classifier' =>
     {
       'table' => 'Foundation__Core__Classifier',
       'abstract' => 1,
       'slots' => 
       { 
	 # Attributes
	 
	 # Associations
	 	 	       'association'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Foundation::Core::AssociationEnd',

                           'table' => 'Foundation__Core__Classifier__association', 

                                                               'coll' => 'participant',

                                                                               }
      ,
                  	 	                     	 	                     	 	                     	 	       'classifierInState'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState',

                           'table' => 'Foundation__Core__Classifier__classifierInState', 

                                                               'coll' => 'type',

                                                                               }
      ,
                  	 	       'classifierRole'
       => {
	 'type_impl' => 'set',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole',

                           'table' => 'ClassifierRole_Base', 

                                                      'item' => 'classifierRole', 

                  'coll' => 'base',

                                                                               }
      ,
                  	 	       'collaboration_representedClassifier'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration',

                           'table' => 'Foundation__Core__Classifier__collaboration_representedClassifier', 

                                                               'coll' => 'representedClassifier',

                                                                               }
      ,
                  	 	       'collectionTypes'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::OCL::Types::CollectionType',

                           'table' => 'Foundation__Core__Classifier__collectionTypes', 

                                                               'coll' => 'elementType',

                                                                               }
      ,
                  	 	       'feature'
       => {
	 'type_impl' => 'iarray',
         'class' => 'UMMF::UML_1_5::Foundation::Core::Feature',

                           'table' => 'Foundation__Core__Classifier__feature', 

                                                               'coll' => 'owner',

                  'slot' => 'owner_i', 

                                    'aggreg' => '1', 

                                           }
      ,
                  	 	       'instance'
       => {
	 'type_impl' => 'set',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance',

                           'table' => 'Instance_Classifier', 

                                                      'item' => 'instance', 

                  'coll' => 'classifier',

                                                                               }
      ,
                  	 	                     	 	                     	 	       'objectFlowState'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState',

                           'table' => 'Foundation__Core__Classifier__objectFlowState', 

                                                               'coll' => 'type',

                                                                               }
      ,
                  	 	                     	 	       'parameter'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Foundation::Core::Parameter',

                           'table' => 'Foundation__Core__Classifier__parameter', 

                                                               'coll' => 'type',

                                                                               }
      ,
                  	 	       'pin'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin',

                           'table' => 'Foundation__Core__Classifier__pin', 

                                                               'coll' => 'type',

                                                                               }
      ,
                  	 	       'powertypeRange'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Foundation::Core::Generalization',

                           'table' => 'Foundation__Core__Classifier__powertypeRange', 

                                                               'coll' => 'powertype',

                                                                               }
      ,
                  	 	       'specifiedEnd'
       => {
	 'type_impl' => 'set',
         'class' => 'UMMF::UML_1_5::Foundation::Core::AssociationEnd',

                           'table' => 'Foundation__Core__SpecifiedEnd_Specification', 

                                                      'item' => 'specifiedEnd', 

                  'coll' => 'specification',

                                                                               }
      ,
                  	 	                     	 	                     	 	                     	 	                     	 	       'typedFeature'
       => {
	 'type_impl' => 'iset',
         'class' => 'UMMF::UML_1_5::Foundation::Core::StructuralFeature',

                           'table' => 'Foundation__Core__Classifier__typedFeature', 

                                                               'coll' => 'type',

                                                                               }
      ,
                         },
       'bases' => [  'UMMF::UML_1_5::Foundation::Core::Namespace',  'UMMF::UML_1_5::Foundation::Core::GeneralizableElement',  ],
       'sql' => {

       },
     },
   ],

   'sql' =>
   {
    # Note Tangram::Ref::get_exporter() has
    # "UPDATE $table SET $self->{col} = $refid WHERE id = $id",
    # The id_col is hard-coded, 
    # Thus id_col will not work.
    #'id_col' => '__sid',
    #'class_col' => '__stype',
   },
     # 'set_id' => sub { }
     # 'get_id' => sub { }

      
  };
}


#################################################################
# Class Attributes
#


    

#################################################################
# Class Associations
#


    

#################################################################
# Initialization
#


sub ___initialize
{
  my ($self) = @_;

  # Attributes



  # Associations

  # AssociationEnd 
  #  participant 1
  #  <--> 
  #  association 0..* UMMF::UML_1_5::Foundation::Core::AssociationEnd.
    if ( defined $self->{'association'} ) {
    my $x = $self->{'association'};
        $self->{'association'} = Set::Object->new();
        $self->set_association(@$x);
  }
  
  # AssociationEnd 
  #  type 1
  #  <--> 
  #  classifierInState 0..* UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState.
    if ( defined $self->{'classifierInState'} ) {
    my $x = $self->{'classifierInState'};
        $self->{'classifierInState'} = Set::Object->new();
        $self->set_classifierInState(@$x);
  }
  
  # AssociationEnd 
  #  base 1..*
  #  <--> 
  #  classifierRole 0..* UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole.
    if ( defined $self->{'classifierRole'} ) {
    my $x = $self->{'classifierRole'};
        $self->{'classifierRole'} = Set::Object->new();
        $self->set_classifierRole(@$x);
  }
  
  # AssociationEnd 
  #  representedClassifier 0..1
  #  <--> 
  #  collaboration_representedClassifier 0..* UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration.
    if ( defined $self->{'collaboration_representedClassifier'} ) {
    my $x = $self->{'collaboration_representedClassifier'};
        $self->{'collaboration_representedClassifier'} = Set::Object->new();
        $self->set_collaboration_representedClassifier(@$x);
  }
  
  # AssociationEnd 
  #  elementType 1
  #  <--> 
  #  collectionTypes 0..4 UMMF::UML_1_5::OCL::Types::CollectionType.
    if ( defined $self->{'collectionTypes'} ) {
    my $x = $self->{'collectionTypes'};
        $self->{'collectionTypes'} = Set::Object->new();
        $self->set_collectionTypes(@$x);
  }
  
  # AssociationEnd 
  #  owner 0..1
  #  <--> 
  #  feature 0..* UMMF::UML_1_5::Foundation::Core::Feature.
    if ( defined $self->{'feature'} ) {
    my $x = $self->{'feature'};
        $self->{'feature'} = [ ];
        $self->set_feature(@$x);
  }
  
  # AssociationEnd 
  #  classifier 1..*
  #  <--> 
  #  instance 0..* UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance.
    if ( defined $self->{'instance'} ) {
    my $x = $self->{'instance'};
        $self->{'instance'} = Set::Object->new();
        $self->set_instance(@$x);
  }
  
  # AssociationEnd 
  #  type 1
  #  <--> 
  #  objectFlowState 0..* UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState.
    if ( defined $self->{'objectFlowState'} ) {
    my $x = $self->{'objectFlowState'};
        $self->{'objectFlowState'} = Set::Object->new();
        $self->set_objectFlowState(@$x);
  }
  
  # AssociationEnd 
  #  type 1
  #  <--> 
  #  parameter 0..* UMMF::UML_1_5::Foundation::Core::Parameter.
    if ( defined $self->{'parameter'} ) {
    my $x = $self->{'parameter'};
        $self->{'parameter'} = Set::Object->new();
        $self->set_parameter(@$x);
  }
  
  # AssociationEnd 
  #  type 0..1
  #  <--> 
  #  pin 0..* UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin.
    if ( defined $self->{'pin'} ) {
    my $x = $self->{'pin'};
        $self->{'pin'} = Set::Object->new();
        $self->set_pin(@$x);
  }
  
  # AssociationEnd 
  #  powertype 0..1
  #  <--> 
  #  powertypeRange 0..* UMMF::UML_1_5::Foundation::Core::Generalization.
    if ( defined $self->{'powertypeRange'} ) {
    my $x = $self->{'powertypeRange'};
        $self->{'powertypeRange'} = Set::Object->new();
        $self->set_powertypeRange(@$x);
  }
  
  # AssociationEnd 
  #  specification 0..*
  #  <--> 
  #  specifiedEnd 0..* UMMF::UML_1_5::Foundation::Core::AssociationEnd.
    if ( defined $self->{'specifiedEnd'} ) {
    my $x = $self->{'specifiedEnd'};
        $self->{'specifiedEnd'} = Set::Object->new();
        $self->set_specifiedEnd(@$x);
  }
  
  # AssociationEnd 
  #  type 1
  #  <--> 
  #  typedFeature 0..* UMMF::UML_1_5::Foundation::Core::StructuralFeature.
    if ( defined $self->{'typedFeature'} ) {
    my $x = $self->{'typedFeature'};
        $self->{'typedFeature'} = Set::Object->new();
        $self->set_typedFeature(@$x);
  }
  

  $self;
}


my $__initialize_use;

sub __initialize
{
  my ($self) = @_;

  # $DB::single = 1;

  unless ( ! $__initialize_use ) {
    $__initialize_use = 1;
    $self->__use('UMMF::UML_1_5::Foundation::Core::Namespace');
    $self->__use('UMMF::UML_1_5::Foundation::Core::Element');
    $self->__use('UMMF::UML_1_5::Foundation::Core::ModelElement');
    $self->__use('UMMF::UML_1_5::Foundation::Core::GeneralizableElement');
  }

  $self->UMMF::UML_1_5::Foundation::Core::Classifier::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::Namespace::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::Element::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::ModelElement::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::GeneralizableElement::___initialize;

  $self;
}
      

sub __create
{
  my ($self, @args) = @_;

  # $DB::single = 1;
  $self->UMMF::UML_1_5::Foundation::Core::Classifier::___create(@args);
  $self->UMMF::UML_1_5::Foundation::Core::Namespace::___create();
  $self->UMMF::UML_1_5::Foundation::Core::Element::___create();
  $self->UMMF::UML_1_5::Foundation::Core::ModelElement::___create();
  $self->UMMF::UML_1_5::Foundation::Core::GeneralizableElement::___create();

  $self;
}




#################################################################
# Attributes
#




#################################################################
# Association
#


#################################################################
# AssociationEnd participant <---> association
# type = UMMF::UML_1_5::Foundation::Core::AssociationEnd
# multiplicity = 0..*
# ordering = 

sub association ($)
{
  my ($self) = @_;

    my $x = $self->{'association'};

  # confess("Container for association $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_association ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_association;
  $self->add_association(@val);
}


sub add_association ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'association'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Foundation::Core::AssociationEnd')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.association");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_participant($self) if $old;
    $val->add_participant($self)    if $val;

    }
  
  $self;
}


sub remove_association ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'association'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::AssociationEnd')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.association");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_participant($self) if $old;
    $val->add_participant($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_association ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'association'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'association'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_participant($self) if $old;
    $val->add_participant($self)    if $val;

  ;

  }
  
  $self;
}


sub count_association ($)
{
  my ($self) = @_;

  my $x = $self->{'association'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd type <---> classifierInState
# type = UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState
# multiplicity = 0..*
# ordering = 

sub classifierInState ($)
{
  my ($self) = @_;

    my $x = $self->{'classifierInState'};

  # confess("Container for classifierInState $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_classifierInState ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_classifierInState;
  $self->add_classifierInState(@val);
}


sub add_classifierInState ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'classifierInState'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.classifierInState");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

    }
  
  $self;
}


sub remove_classifierInState ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'classifierInState'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ClassifierInState')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.classifierInState");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_classifierInState ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'classifierInState'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'classifierInState'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub count_classifierInState ($)
{
  my ($self) = @_;

  my $x = $self->{'classifierInState'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd base <---> classifierRole
# type = UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole
# multiplicity = 0..*
# ordering = 

sub classifierRole ($)
{
  my ($self) = @_;

    my $x = $self->{'classifierRole'};

  # confess("Container for classifierRole $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_classifierRole ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_classifierRole;
  $self->add_classifierRole(@val);
}


sub add_classifierRole ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'classifierRole'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.classifierRole");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_base($self) if $old;
    $val->add_base($self)    if $val;

    }
  
  $self;
}


sub remove_classifierRole ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'classifierRole'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Collaborations::ClassifierRole')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.classifierRole");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_base($self) if $old;
    $val->add_base($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_classifierRole ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'classifierRole'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'classifierRole'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_base($self) if $old;
    $val->add_base($self)    if $val;

  ;

  }
  
  $self;
}


sub count_classifierRole ($)
{
  my ($self) = @_;

  my $x = $self->{'classifierRole'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd representedClassifier <---> collaboration_representedClassifier
# type = UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration
# multiplicity = 0..*
# ordering = 

sub collaboration_representedClassifier ($)
{
  my ($self) = @_;

    my $x = $self->{'collaboration_representedClassifier'};

  # confess("Container for collaboration_representedClassifier $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_collaboration_representedClassifier ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_collaboration_representedClassifier;
  $self->add_collaboration_representedClassifier(@val);
}


sub add_collaboration_representedClassifier ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'collaboration_representedClassifier'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.collaboration_representedClassifier");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_representedClassifier($self) if $old;
    $val->add_representedClassifier($self)    if $val;

    }
  
  $self;
}


sub remove_collaboration_representedClassifier ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'collaboration_representedClassifier'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Collaborations::Collaboration')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.collaboration_representedClassifier");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_representedClassifier($self) if $old;
    $val->add_representedClassifier($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_collaboration_representedClassifier ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'collaboration_representedClassifier'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'collaboration_representedClassifier'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_representedClassifier($self) if $old;
    $val->add_representedClassifier($self)    if $val;

  ;

  }
  
  $self;
}


sub count_collaboration_representedClassifier ($)
{
  my ($self) = @_;

  my $x = $self->{'collaboration_representedClassifier'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd elementType <---> collectionTypes
# type = UMMF::UML_1_5::OCL::Types::CollectionType
# multiplicity = 0..4
# ordering = 

sub collectionTypes ($)
{
  my ($self) = @_;

    my $x = $self->{'collectionTypes'};

  # confess("Container for collectionTypes $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_collectionTypes ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_collectionTypes;
  $self->add_collectionTypes(@val);
}


sub add_collectionTypes ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'collectionTypes'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::OCL::Types::CollectionType')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.collectionTypes");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_elementType($self) if $old;
    $val->add_elementType($self)    if $val;

    }
  
  $self;
}


sub remove_collectionTypes ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'collectionTypes'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::OCL::Types::CollectionType')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.collectionTypes");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_elementType($self) if $old;
    $val->add_elementType($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_collectionTypes ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'collectionTypes'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'collectionTypes'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_elementType($self) if $old;
    $val->add_elementType($self)    if $val;

  ;

  }
  
  $self;
}


sub count_collectionTypes ($)
{
  my ($self) = @_;

  my $x = $self->{'collectionTypes'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd owner <---> feature
# type = UMMF::UML_1_5::Foundation::Core::Feature
# multiplicity = 0..*
# ordering = ordered

sub feature ($)
{
  my ($self) = @_;

    my $x = $self->{'feature'} ||= [ ];

  wantarray ? @{$x} : $x;
  
}


sub index_feature ($$@)
{
  my ($self, $i, $count) = @_;

  ;

  my $val = $self->{'feature'} ||= [ ];

  ;

  wantarray ? $val->[$i .. (defined $count ? $i + $count - 1 : $i)]
            : $val->[$i];
}


sub index_of_feature ($$)
{
  my ($self, $x) = @_;

  ;

  my $val = $self->{'feature'} ||= [ ];

  ;

  __ummf_array_index($val, $x);
}


sub set_feature ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_feature;
  $self->add_feature(@val);
}


sub set_index_feature ($$$)
{
  my ($self, $i, $val) = @_;

  ;

  my $x = $self->{'feature'} ||= [ ];

  no warnings;
  my $old;
  if ( ($old = $x->[$i]) ne $val) {
    # Recursion lock
        $x->[$i] = $val
    ;

    # Remove and add associations with other ends.
        
    $old->remove_owner($self) if $old;
    $val->add_owner($self)    if $val;

  
    ;
  }

  $self;
}


sub add_feature ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'feature'} ||= [ ];
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if grep($_ eq $val, @$x);
        $self->__use('UMMF::UML_1_5::Foundation::Core::Feature')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.feature");

    # Recursion lock
        push(@{$x}, $val);
        
    # Remove and add associations with other ends.
        
    $old->remove_owner($self) if $old;
    $val->add_owner($self)    if $val;

    }
  
  $self;
}


sub add_index_feature ($$@)
{
  my ($self, $i, @val) = @_;

  
    my $x = $self->{'feature'} ||= [ ];
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if grep($_ eq $val, @$x);
        $self->__use('UMMF::UML_1_5::Foundation::Core::Feature')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.feature");

    # Recursion lock
        splice(@{$x}, $i, 0, $val); # Recursion lock
        ++ $i;
    
    # Remove and add associations with other ends.
        
    $old->remove_owner($self) if $old;
    $val->add_owner($self)    if $val;

    }
  
  
  $self;
}


sub remove_feature ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'feature'} ||= [ ];
  
  for my $old ( @val ) {
    # Recursion lock
        my $i; # index of $old in @$x.
    next unless defined($i = __ummf_array_index($x, $old));
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::Feature')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.feature");

    # Recursion lock
        splice(@$x, $i, 1);     
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_owner($self) if $old;
    $val->add_owner($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_feature ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'feature'} ||= [ ];
  
  my $val; # Place holder for other MACRO.
  
    $self->{'feature'} = [ ];  # Recursion lock
  for my $old ( @$x ) { # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_owner($self) if $old;
    $val->add_owner($self)    if $val;

  ;

  }
  
  $self;
}


sub count_feature ($)
{
  my ($self) = @_;

  my $x = $self->{'feature'};

    defined $x ? scalar @$x : 0;
  }




#################################################################
# AssociationEnd classifier <---> instance
# type = UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance
# multiplicity = 0..*
# ordering = 

sub instance ($)
{
  my ($self) = @_;

    my $x = $self->{'instance'};

  # confess("Container for instance $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_instance ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_instance;
  $self->add_instance(@val);
}


sub add_instance ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'instance'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.instance");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_classifier($self) if $old;
    $val->add_classifier($self)    if $val;

    }
  
  $self;
}


sub remove_instance ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'instance'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Common_Behavior::Instance')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.instance");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_classifier($self) if $old;
    $val->add_classifier($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_instance ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'instance'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'instance'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_classifier($self) if $old;
    $val->add_classifier($self)    if $val;

  ;

  }
  
  $self;
}


sub count_instance ($)
{
  my ($self) = @_;

  my $x = $self->{'instance'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd type <---> objectFlowState
# type = UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState
# multiplicity = 0..*
# ordering = 

sub objectFlowState ($)
{
  my ($self) = @_;

    my $x = $self->{'objectFlowState'};

  # confess("Container for objectFlowState $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_objectFlowState ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_objectFlowState;
  $self->add_objectFlowState(@val);
}


sub add_objectFlowState ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'objectFlowState'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.objectFlowState");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

    }
  
  $self;
}


sub remove_objectFlowState ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'objectFlowState'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Activity_Graphs::ObjectFlowState')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.objectFlowState");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_objectFlowState ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'objectFlowState'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'objectFlowState'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub count_objectFlowState ($)
{
  my ($self) = @_;

  my $x = $self->{'objectFlowState'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd type <---> parameter
# type = UMMF::UML_1_5::Foundation::Core::Parameter
# multiplicity = 0..*
# ordering = 

sub parameter ($)
{
  my ($self) = @_;

    my $x = $self->{'parameter'};

  # confess("Container for parameter $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_parameter ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_parameter;
  $self->add_parameter(@val);
}


sub add_parameter ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'parameter'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Foundation::Core::Parameter')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.parameter");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

    }
  
  $self;
}


sub remove_parameter ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'parameter'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::Parameter')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.parameter");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_parameter ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'parameter'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'parameter'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub count_parameter ($)
{
  my ($self) = @_;

  my $x = $self->{'parameter'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd type <---> pin
# type = UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin
# multiplicity = 0..*
# ordering = 

sub pin ($)
{
  my ($self) = @_;

    my $x = $self->{'pin'};

  # confess("Container for pin $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_pin ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_pin;
  $self->add_pin(@val);
}


sub add_pin ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'pin'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.pin");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

    }
  
  $self;
}


sub remove_pin ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'pin'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Behavioral_Elements::Actions::Action_Foundation::Pin')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.pin");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_pin ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'pin'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'pin'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub count_pin ($)
{
  my ($self) = @_;

  my $x = $self->{'pin'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd powertype <---> powertypeRange
# type = UMMF::UML_1_5::Foundation::Core::Generalization
# multiplicity = 0..*
# ordering = 

sub powertypeRange ($)
{
  my ($self) = @_;

    my $x = $self->{'powertypeRange'};

  # confess("Container for powertypeRange $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_powertypeRange ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_powertypeRange;
  $self->add_powertypeRange(@val);
}


sub add_powertypeRange ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'powertypeRange'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Foundation::Core::Generalization')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.powertypeRange");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_powertype($self) if $old;
    $val->add_powertype($self)    if $val;

    }
  
  $self;
}


sub remove_powertypeRange ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'powertypeRange'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::Generalization')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.powertypeRange");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_powertype($self) if $old;
    $val->add_powertype($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_powertypeRange ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'powertypeRange'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'powertypeRange'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_powertype($self) if $old;
    $val->add_powertype($self)    if $val;

  ;

  }
  
  $self;
}


sub count_powertypeRange ($)
{
  my ($self) = @_;

  my $x = $self->{'powertypeRange'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd specification <---> specifiedEnd
# type = UMMF::UML_1_5::Foundation::Core::AssociationEnd
# multiplicity = 0..*
# ordering = 

sub specifiedEnd ($)
{
  my ($self) = @_;

    my $x = $self->{'specifiedEnd'};

  # confess("Container for specifiedEnd $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_specifiedEnd ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_specifiedEnd;
  $self->add_specifiedEnd(@val);
}


sub add_specifiedEnd ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'specifiedEnd'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Foundation::Core::AssociationEnd')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.specifiedEnd");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_specification($self) if $old;
    $val->add_specification($self)    if $val;

    }
  
  $self;
}


sub remove_specifiedEnd ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'specifiedEnd'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::AssociationEnd')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.specifiedEnd");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_specification($self) if $old;
    $val->add_specification($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_specifiedEnd ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'specifiedEnd'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'specifiedEnd'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_specification($self) if $old;
    $val->add_specification($self)    if $val;

  ;

  }
  
  $self;
}


sub count_specifiedEnd ($)
{
  my ($self) = @_;

  my $x = $self->{'specifiedEnd'};

    defined $x ? $x->size : 0;
  }




#################################################################
# AssociationEnd type <---> typedFeature
# type = UMMF::UML_1_5::Foundation::Core::StructuralFeature
# multiplicity = 0..*
# ordering = 

sub typedFeature ($)
{
  my ($self) = @_;

    my $x = $self->{'typedFeature'};

  # confess("Container for typedFeature $x is not a blessed ref: " . Data::Dumper->new([ $self ], [qw($self)])->Maxdepth(2)->Dump()) if $x && ref($x) !~ /::/;
 
  wantarray ? ($x ? $x->members() : ()) : [ $x ? $x->members() : () ];
  
}


sub set_typedFeature ($@)
{
  my ($self, @val) = @_;
  
  $self->clear_typedFeature;
  $self->add_typedFeature(@val);
}


sub add_typedFeature ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'typedFeature'} ||= Set::Object->new();
    my $old; # Place holder for other MACRO.
  
  for my $val ( @val ) {
    # Recursion lock
        next if $x->includes($val);
        $self->__use('UMMF::UML_1_5::Foundation::Core::StructuralFeature')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.typedFeature");

    # Recursion lock
        $x->insert($val);
    # weaken?
    
    # Remove and add associations with other ends.
        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

    }
  
  $self;
}


sub remove_typedFeature ($@)
{
  my ($self, @val) = @_;
  
    my $x = $self->{'typedFeature'} ||= Set::Object->new();
  
  for my $old ( @val ) {
    # Recursion lock
        next unless $x->includes($old);
    
    my $val = $old;
      
    $self->__use('UMMF::UML_1_5::Foundation::Core::StructuralFeature')->__typecheck($val, "UMMF::UML_1_5::Foundation::Core::Classifier.typedFeature");

    # Recursion lock
        $x->remove($old);
    
    $val = undef;

    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub clear_typedFeature ($) 
{
  my ($self) = @_;
  
    my $x = $self->{'typedFeature'} ||= Set::Object->new();
  
  my $val; # Place holder for other MACRO.
  
    $self->{'typedFeature'} = Set::Object->new(); # Recursion lock
  for my $old ( $x->members() ) {     # Recursion lock
  
    # Remove associations with other ends.

        
    $old->remove_type($self) if $old;
    $val->add_type($self)    if $val;

  ;

  }
  
  $self;
}


sub count_typedFeature ($)
{
  my ($self) = @_;

  my $x = $self->{'typedFeature'};

    defined $x ? $x->size : 0;
  }







# End of Class Classifier


############################################################################

1; # is true!

############################################################################

### Keep these comments at end of file: kstephens@users.sourceforge.net 2003/04/06 ###
### Local Variables: ###
### mode:perl ###
### perl-indent-level:2 ###
### perl-continued-statement-offset:0 ###
### perl-brace-offset:0 ###
### perl-label-offset:0 ###
### End: ###