UMMF::UML_1_5::OCL::Expressions::OclExpression - UMMF::UML_1_5::OCL::Expressions::OclExpression documentation


UMMF documentation Contained in the UMMF distribution.

Index


Code Index:

NAME

Top

UMMF::UML_1_5::OCL::Expressions::OclExpression --

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::ModelElement

ATTRIBUTES

Top

NO ATTRIBUTES

ASSOCIATIONS

Top

condition : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::IfExp 0..1

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

elseExpression : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::IfExp 0..1

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

expression : THIS 0..1 <---- : UMMF::UML_1_5::OCL::Expressions::OclMessageArg 1

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

first : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::CollectionRange 0..1

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

in : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::LetExp 0..1

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

initExpression : THIS 0..1 <---> initializedVariable : UMMF::UML_1_5::OCL::Expressions::VariableDeclaration 0..1

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

item : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::CollectionItem 0..1

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

last : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::CollectionRange 0..1

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

body : THIS 1 <---> loopExp : UMMF::UML_1_5::OCL::Expressions::LoopExp 0..1

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

qualifiers : THIS 0..* <---> navigationCallExp : UMMF::UML_1_5::OCL::Expressions::NavigationCallExp 0..1

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

arguments : THIS 0..* <---> parentOperation : UMMF::UML_1_5::OCL::Expressions::OperationCallExp 0..1

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

target : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::OclMessageExp 1

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

thenExpression : THIS 1 <---- : UMMF::UML_1_5::OCL::Expressions::IfExp 0..1

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

METHODS

Top

__validate_type

  UMMF::UML_1_5::OCL::Expressions::OclExpression->__validate_type($value);

Returns true if $value is a valid representation of UMMF::UML_1_5::OCL::Expressions::OclExpression.

__typecheck

  UMMF::UML_1_5::OCL::Expressions::OclExpression->__typecheck($value, $msg);

Calls confess() with $msg if <UMMF::UML_1_5::OCL::Expressions::OclExpression-__validate_type($value)>> is false.

isaOclExpression

Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::OclExpression. Other receivers will return false.

isaOCL__Expressions__OclExpression

Returns true if receiver is a UMMF::UML_1_5::OCL::Expressions::OclExpression. Other receivers will return false. This is the fully qualified version of the isaOclExpression method.

__model_name

  my $name = $obj_or_package->__model_name;

Returns the UML Model name ('OCL::Expressions::OclExpression') 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.

initializedVariable

  my $val = $obj->initializedVariable;

Returns the AssociationEnd initializedVariable value of type UMMF::UML_1_5::OCL::Expressions::VariableDeclaration.

set_initializedVariable

  $obj->set_initializedVariable($val);

Sets the AssociationEnd initializedVariable value. $val must of type UMMF::UML_1_5::OCL::Expressions::VariableDeclaration. Returns $obj.

add_initializedVariable

  $obj->add_initializedVariable($val);

Adds the AssociationEnd initializedVariable value. $val must of type UMMF::UML_1_5::OCL::Expressions::VariableDeclaration. Throws exception if a value already exists. Returns $obj.

remove_initializedVariable

  $obj->remove_initializedVariable($val);

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

clear_initializedVariable

  $obj->clear_initializedVariable;

Clears the AssociationEnd initializedVariable links to UMMF::UML_1_5::OCL::Expressions::VariableDeclaration. Returns $obj.

count_initializedVariable

  $obj->count_initializedVariable;

Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::VariableDeclaration associated with initializedVariable.

loopExp

  my $val = $obj->loopExp;

Returns the AssociationEnd loopExp value of type UMMF::UML_1_5::OCL::Expressions::LoopExp.

set_loopExp

  $obj->set_loopExp($val);

Sets the AssociationEnd loopExp value. $val must of type UMMF::UML_1_5::OCL::Expressions::LoopExp. Returns $obj.

add_loopExp

  $obj->add_loopExp($val);

Adds the AssociationEnd loopExp value. $val must of type UMMF::UML_1_5::OCL::Expressions::LoopExp. Throws exception if a value already exists. Returns $obj.

remove_loopExp

  $obj->remove_loopExp($val);

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

clear_loopExp

  $obj->clear_loopExp;

Clears the AssociationEnd loopExp links to UMMF::UML_1_5::OCL::Expressions::LoopExp. Returns $obj.

count_loopExp

  $obj->count_loopExp;

Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::LoopExp associated with loopExp.

navigationCallExp

  my $val = $obj->navigationCallExp;

Returns the AssociationEnd navigationCallExp value of type UMMF::UML_1_5::OCL::Expressions::NavigationCallExp.

set_navigationCallExp

  $obj->set_navigationCallExp($val);

Sets the AssociationEnd navigationCallExp value. $val must of type UMMF::UML_1_5::OCL::Expressions::NavigationCallExp. Returns $obj.

add_navigationCallExp

  $obj->add_navigationCallExp($val);

Adds the AssociationEnd navigationCallExp value. $val must of type UMMF::UML_1_5::OCL::Expressions::NavigationCallExp. Throws exception if a value already exists. Returns $obj.

remove_navigationCallExp

  $obj->remove_navigationCallExp($val);

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

clear_navigationCallExp

  $obj->clear_navigationCallExp;

Clears the AssociationEnd navigationCallExp links to UMMF::UML_1_5::OCL::Expressions::NavigationCallExp. Returns $obj.

count_navigationCallExp

  $obj->count_navigationCallExp;

Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::NavigationCallExp associated with navigationCallExp.

parentOperation

  my $val = $obj->parentOperation;

Returns the AssociationEnd parentOperation value of type UMMF::UML_1_5::OCL::Expressions::OperationCallExp.

set_parentOperation

  $obj->set_parentOperation($val);

Sets the AssociationEnd parentOperation value. $val must of type UMMF::UML_1_5::OCL::Expressions::OperationCallExp. Returns $obj.

add_parentOperation

  $obj->add_parentOperation($val);

Adds the AssociationEnd parentOperation value. $val must of type UMMF::UML_1_5::OCL::Expressions::OperationCallExp. Throws exception if a value already exists. Returns $obj.

remove_parentOperation

  $obj->remove_parentOperation($val);

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

clear_parentOperation

  $obj->clear_parentOperation;

Clears the AssociationEnd parentOperation links to UMMF::UML_1_5::OCL::Expressions::OperationCallExp. Returns $obj.

count_parentOperation

  $obj->count_parentOperation;

Returns the number of elements of type UMMF::UML_1_5::OCL::Expressions::OperationCallExp associated with parentOperation.

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::OCL::Expressions::OclExpression;

#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::ModelElement



);


#################################################################
# 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::OCL::Expressions::OclExpression')  ;
}


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

  confess("typecheck: $msg: type '" . 'UMMF::UML_1_5::OCL::Expressions::OclExpression' . ": value '$x'")
    unless __validate_type($self, $x);
}


sub isaOclExpression { 1 }


sub isaOCL__Expressions__OclExpression { 1 }


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

sub __model_name { 'OCL::Expressions::OclExpression' }



sub __isAbstract { 1; }


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

  $__tangram_schema ||=
  {
   'classes' =>
   [
     'UMMF::UML_1_5::OCL::Expressions::OclExpression' =>
     {
       'table' => 'OCL__Expressions__OclExpression',
       'abstract' => 1,
       'slots' => 
       { 
	 # Attributes
	 
	 # Associations
	 	 	                     	 	                     	 	                     	 	                     	 	                     	 	       'initializedVariable'
       => {
	 'type_impl' => 'ref',
         'class' => 'UMMF::UML_1_5::OCL::Expressions::VariableDeclaration',

                  'null' => '1', 

                                    'col' => 'initializedVariable', 

                                                                                                                   }
      ,
                  	 	                     	 	                     	 	       'loopExp'
       => {
	 'type_impl' => 'ref',
         'class' => 'UMMF::UML_1_5::OCL::Expressions::LoopExp',

                  'null' => '1', 

                                    'col' => 'loopExp', 

                                                                                                                   }
      ,
                  	 	       'navigationCallExp'
       => {
	 'type_impl' => 'ref',
         'class' => 'UMMF::UML_1_5::OCL::Expressions::NavigationCallExp',

                  'null' => '1', 

                                    'col' => 'navigationCallExp', 

                                                                                                                   }
      ,
                  	 	       'parentOperation'
       => {
	 'type_impl' => 'ref',
         'class' => 'UMMF::UML_1_5::OCL::Expressions::OperationCallExp',

                  'null' => '1', 

                                    'col' => 'parentOperation', 

                                                                                                                   }
      ,
                  	 	                     	 	                            },
       'bases' => [  'UMMF::UML_1_5::Foundation::Core::ModelElement',  ],
       '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 
  #  initExpression 0..1
  #  <--> 
  #  initializedVariable 0..1 UMMF::UML_1_5::OCL::Expressions::VariableDeclaration.
    if ( defined $self->{'initializedVariable'} ) {
    my $x = $self->{'initializedVariable'};
    $self->{'initializedVariable'} = undef;
    $self->set_initializedVariable($x);
  }
  
  # AssociationEnd 
  #  body 1
  #  <--> 
  #  loopExp 0..1 UMMF::UML_1_5::OCL::Expressions::LoopExp.
    if ( defined $self->{'loopExp'} ) {
    my $x = $self->{'loopExp'};
    $self->{'loopExp'} = undef;
    $self->set_loopExp($x);
  }
  
  # AssociationEnd 
  #  qualifiers 0..*
  #  <--> 
  #  navigationCallExp 0..1 UMMF::UML_1_5::OCL::Expressions::NavigationCallExp.
    if ( defined $self->{'navigationCallExp'} ) {
    my $x = $self->{'navigationCallExp'};
    $self->{'navigationCallExp'} = undef;
    $self->set_navigationCallExp($x);
  }
  
  # AssociationEnd 
  #  arguments 0..*
  #  <--> 
  #  parentOperation 0..1 UMMF::UML_1_5::OCL::Expressions::OperationCallExp.
    if ( defined $self->{'parentOperation'} ) {
    my $x = $self->{'parentOperation'};
    $self->{'parentOperation'} = undef;
    $self->set_parentOperation($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::Element');
    $self->__use('UMMF::UML_1_5::Foundation::Core::ModelElement');
  }

  $self->UMMF::UML_1_5::OCL::Expressions::OclExpression::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::Element::___initialize;
  $self->UMMF::UML_1_5::Foundation::Core::ModelElement::___initialize;

  $self;
}
      

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

  # $DB::single = 1;
  $self->UMMF::UML_1_5::OCL::Expressions::OclExpression::___create(@args);
  $self->UMMF::UML_1_5::Foundation::Core::Element::___create();
  $self->UMMF::UML_1_5::Foundation::Core::ModelElement::___create();

  $self;
}




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




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


#################################################################
# AssociationEnd initExpression <---> initializedVariable
# type = UMMF::UML_1_5::OCL::Expressions::VariableDeclaration
# multiplicity = 0..1
# ordering = 

sub initializedVariable ($)
{
  my ($self) = @_;
		  
  $self->{'initializedVariable'};
}


sub set_initializedVariable ($$)
{
  my ($self, $val) = @_;
		  
  no warnings; # Use of uninitialized value in string ne at ...
		  
  my $old;
  if ( ($old = $self->{'initializedVariable'}) ne $val ) { # Recursion lock

    if ( defined $val ) { $self->__use('UMMF::UML_1_5::OCL::Expressions::VariableDeclaration')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.initializedVariable") }

    # Recursion lock
        $self->{'initializedVariable'} = $val
    ;

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

    }
		  
  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'initializedVariable'}) ne $val ) { # Recursion lock
    $self->__use('UMMF::UML_1_5::OCL::Expressions::VariableDeclaration')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.initializedVariable");
      
    # confess("UMMF::UML_1_5::OCL::Expressions::OclExpression::initializedVariable: too many")
    # if defined $self->{'initializedVariable'};

    # Recursion lock
        $self->{'initializedVariable'} = $val
    ;

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

  
  }

  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'initializedVariable'}) eq $val ) { # Recursion lock
    $val = $self->{'initializedVariable'} = undef;         # Recursion lock

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

  
  }
}


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

  my $old;
  if ( defined ($old = $self->{'initializedVariable'}) ) { # Recursion lock
    my $val = $self->{'initializedVariable'} = undef;      # Recursion lock

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

    }

  $self;
}


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

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

  defined $x ? 1 : 0;
}




#################################################################
# AssociationEnd body <---> loopExp
# type = UMMF::UML_1_5::OCL::Expressions::LoopExp
# multiplicity = 0..1
# ordering = 

sub loopExp ($)
{
  my ($self) = @_;
		  
  $self->{'loopExp'};
}


sub set_loopExp ($$)
{
  my ($self, $val) = @_;
		  
  no warnings; # Use of uninitialized value in string ne at ...
		  
  my $old;
  if ( ($old = $self->{'loopExp'}) ne $val ) { # Recursion lock

    if ( defined $val ) { $self->__use('UMMF::UML_1_5::OCL::Expressions::LoopExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.loopExp") }

    # Recursion lock
        $self->{'loopExp'} = $val
    ;

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

    }
		  
  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'loopExp'}) ne $val ) { # Recursion lock
    $self->__use('UMMF::UML_1_5::OCL::Expressions::LoopExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.loopExp");
      
    # confess("UMMF::UML_1_5::OCL::Expressions::OclExpression::loopExp: too many")
    # if defined $self->{'loopExp'};

    # Recursion lock
        $self->{'loopExp'} = $val
    ;

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

  
  }

  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'loopExp'}) eq $val ) { # Recursion lock
    $val = $self->{'loopExp'} = undef;         # Recursion lock

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

  
  }
}


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

  my $old;
  if ( defined ($old = $self->{'loopExp'}) ) { # Recursion lock
    my $val = $self->{'loopExp'} = undef;      # Recursion lock

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

    }

  $self;
}


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

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

  defined $x ? 1 : 0;
}




#################################################################
# AssociationEnd qualifiers <---> navigationCallExp
# type = UMMF::UML_1_5::OCL::Expressions::NavigationCallExp
# multiplicity = 0..1
# ordering = 

sub navigationCallExp ($)
{
  my ($self) = @_;
		  
  $self->{'navigationCallExp'};
}


sub set_navigationCallExp ($$)
{
  my ($self, $val) = @_;
		  
  no warnings; # Use of uninitialized value in string ne at ...
		  
  my $old;
  if ( ($old = $self->{'navigationCallExp'}) ne $val ) { # Recursion lock

    if ( defined $val ) { $self->__use('UMMF::UML_1_5::OCL::Expressions::NavigationCallExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.navigationCallExp") }

    # Recursion lock
        $self->{'navigationCallExp'} = $val
    ;

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

    }
		  
  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'navigationCallExp'}) ne $val ) { # Recursion lock
    $self->__use('UMMF::UML_1_5::OCL::Expressions::NavigationCallExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.navigationCallExp");
      
    # confess("UMMF::UML_1_5::OCL::Expressions::OclExpression::navigationCallExp: too many")
    # if defined $self->{'navigationCallExp'};

    # Recursion lock
        $self->{'navigationCallExp'} = $val
    ;

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

  
  }

  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'navigationCallExp'}) eq $val ) { # Recursion lock
    $val = $self->{'navigationCallExp'} = undef;         # Recursion lock

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

  
  }
}


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

  my $old;
  if ( defined ($old = $self->{'navigationCallExp'}) ) { # Recursion lock
    my $val = $self->{'navigationCallExp'} = undef;      # Recursion lock

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

    }

  $self;
}


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

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

  defined $x ? 1 : 0;
}




#################################################################
# AssociationEnd arguments <---> parentOperation
# type = UMMF::UML_1_5::OCL::Expressions::OperationCallExp
# multiplicity = 0..1
# ordering = 

sub parentOperation ($)
{
  my ($self) = @_;
		  
  $self->{'parentOperation'};
}


sub set_parentOperation ($$)
{
  my ($self, $val) = @_;
		  
  no warnings; # Use of uninitialized value in string ne at ...
		  
  my $old;
  if ( ($old = $self->{'parentOperation'}) ne $val ) { # Recursion lock

    if ( defined $val ) { $self->__use('UMMF::UML_1_5::OCL::Expressions::OperationCallExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.parentOperation") }

    # Recursion lock
        $self->{'parentOperation'} = $val
    ;

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

    }
		  
  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'parentOperation'}) ne $val ) { # Recursion lock
    $self->__use('UMMF::UML_1_5::OCL::Expressions::OperationCallExp')->__typecheck($val, "UMMF::UML_1_5::OCL::Expressions::OclExpression.parentOperation");
      
    # confess("UMMF::UML_1_5::OCL::Expressions::OclExpression::parentOperation: too many")
    # if defined $self->{'parentOperation'};

    # Recursion lock
        $self->{'parentOperation'} = $val
    ;

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

  
  }

  $self;
}


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

  no warnings; # Use of uninitialized value in string ne at ...

  my $old;
  if ( ($old = $self->{'parentOperation'}) eq $val ) { # Recursion lock
    $val = $self->{'parentOperation'} = undef;         # Recursion lock

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

  
  }
}


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

  my $old;
  if ( defined ($old = $self->{'parentOperation'}) ) { # Recursion lock
    my $val = $self->{'parentOperation'} = undef;      # Recursion lock

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

    }

  $self;
}


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

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

  defined $x ? 1 : 0;
}







# End of Class OclExpression


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

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: ###