NAME
UMMF::UML::MetaModel::OCL::Expressions::IfExp --
VERSION
1.0
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML::MetaModel::Foundation::Core::Class
SUPERCLASSES
UMMF::UML::MetaModel::OCL::Expressions::OclExpression
ATTRIBUTES
NO ATTRIBUTES
ASSOCIATIONS
0..1
:
----> condition
: UMMF::UML::MetaModel::OCL::Expressions::OclExpression 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::OCL::Expressions::OclExpression
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
0..1
:
----> elseExpression
: UMMF::UML::MetaModel::OCL::Expressions::OclExpression 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::OCL::Expressions::OclExpression
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
0..1
:
----> thenExpression
: UMMF::UML::MetaModel::OCL::Expressions::OclExpression 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::OCL::Expressions::OclExpression
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML::MetaModel::OCL::Expressions::IfExp->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML::MetaModel::OCL::Expressions::IfExp.
__typecheck
UMMF::UML::MetaModel::OCL::Expressions::IfExp->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML::MetaModel::OCL::Expressions::IfExp-
__validate_type($value)>> is false.
isaIfExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::IfExp. Other receivers will return false.
isaOCL__Expressions__IfExp
Returns true if receiver is a UMMF::UML::MetaModel::OCL::Expressions::IfExp. Other receivers will return false. This is the fully qualified version of the isaIfExp
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('OCL::Expressions::IfExp'
) for an object or package of this Classifier.
__isAbstract
$package->__isAbstract;
Returns 0
.
__tangram_schema
my $tangram_schema $obj_or_package->__tangram_schema
Returns a HASH ref that describes this Classifier for Tangram.
See UMMF::UML::Export::Perl::Tangram
___initialize
Initialize all Attributes and AssociationEnds in a instance of this Classifier. Does not initalize slots in its Generalizations.
See also: __initialize
.
__initialize
Initialize all slots in this Classifier and all its Generalizations.
See also: ___initialize
.
__create
Calls all <<create>> Methods for this Classifier and all Generalizations.
See also: ___create
.
condition
my $val = $obj->condition;
Returns the AssociationEnd condition
value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.
set_condition
$obj->set_condition($val);
Sets the AssociationEnd condition
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
add_condition
$obj->add_condition($val);
Adds the AssociationEnd condition
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj
.
remove_condition
$obj->remove_condition($val);
Removes the AssociationEnd condition
value $val
. Returns $obj
.
clear_condition
$obj->clear_condition;
Clears the AssociationEnd condition
links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
count_condition
$obj->count_condition;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with condition
.
elseExpression
my $val = $obj->elseExpression;
Returns the AssociationEnd elseExpression
value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.
set_elseExpression
$obj->set_elseExpression($val);
Sets the AssociationEnd elseExpression
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
add_elseExpression
$obj->add_elseExpression($val);
Adds the AssociationEnd elseExpression
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj
.
remove_elseExpression
$obj->remove_elseExpression($val);
Removes the AssociationEnd elseExpression
value $val
. Returns $obj
.
clear_elseExpression
$obj->clear_elseExpression;
Clears the AssociationEnd elseExpression
links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
count_elseExpression
$obj->count_elseExpression;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with elseExpression
.
thenExpression
my $val = $obj->thenExpression;
Returns the AssociationEnd thenExpression
value of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression.
set_thenExpression
$obj->set_thenExpression($val);
Sets the AssociationEnd thenExpression
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
add_thenExpression
$obj->add_thenExpression($val);
Adds the AssociationEnd thenExpression
value. $val
must of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Throws exception if a value already exists. Returns $obj
.
remove_thenExpression
$obj->remove_thenExpression($val);
Removes the AssociationEnd thenExpression
value $val
. Returns $obj
.
clear_thenExpression
$obj->clear_thenExpression;
Clears the AssociationEnd thenExpression
links to UMMF::UML::MetaModel::OCL::Expressions::OclExpression. Returns $obj
.
count_thenExpression
$obj->count_thenExpression;
Returns the number of elements of type UMMF::UML::MetaModel::OCL::Expressions::OclExpression associated with thenExpression
.
END OF DOCUMENT