NAME

UMMF::UML_1_5::Foundation::Core::Constraint --

VERSION

1.5

SYNOPSIS

DESCRIPTION

USAGE

EXPORT

METATYPE

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

SUPERCLASSES

UMMF::UML_1_5::Foundation::Core::ModelElement

ATTRIBUTES

body : UMMF::UML_1_5::Foundation::Data_Types::BooleanExpression

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

ASSOCIATIONS

constraint : THIS 0..* <---> constrainedElement : UMMF::UML_1_5::Foundation::Core::ModelElement 0..1

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

stereotypeConstraint : THIS 0..* <---> constrainedStereotype : UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype 0..1

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

METHODS

__validate_type

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

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

__typecheck

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

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

isaConstraint

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

isaFoundation__Core__Constraint

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

__model_name

  my $name = $obj_or_package->__model_name;

Returns the UML Model name ('Foundation::Core::Constraint') for an object or package of this Classifier.

__isAbstract

  $package->__isAbstract;

Returns 0.

__tangram_schema

  my $tangram_schema $obj_or_package->__tangram_schema

Returns a HASH ref that describes this Classifier for Tangram.

See UMMF::Export::Perl::Tangram

___initialize

Initialize all Attributes and AssociationEnds in a instance of this Classifier. Does not initalize slots in its Generalizations.

See also: __initialize.

__initialize

Initialize all slots in this Classifier and all its Generalizations.

See also: ___initialize.

__create

Calls all <<create>> Methods for this Classifier and all Generalizations.

See also: ___create.

body

  my $val = $obj->body;

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

set_body

  $obj->set_body($val);

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

count_body

  $obj->count_body;

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

constrainedElement

  my $val = $obj->constrainedElement;

Returns the AssociationEnd constrainedElement value of type UMMF::UML_1_5::Foundation::Core::ModelElement.

set_constrainedElement

  $obj->set_constrainedElement($val);

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

add_constrainedElement

  $obj->add_constrainedElement($val);

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

remove_constrainedElement

  $obj->remove_constrainedElement($val);

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

clear_constrainedElement

  $obj->clear_constrainedElement;

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

count_constrainedElement

  $obj->count_constrainedElement;

Returns the number of elements of type UMMF::UML_1_5::Foundation::Core::ModelElement associated with constrainedElement.

constrainedStereotype

  my $val = $obj->constrainedStereotype;

Returns the AssociationEnd constrainedStereotype value of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype.

set_constrainedStereotype

  $obj->set_constrainedStereotype($val);

Sets the AssociationEnd constrainedStereotype value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.

add_constrainedStereotype

  $obj->add_constrainedStereotype($val);

Adds the AssociationEnd constrainedStereotype value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Throws exception if a value already exists. Returns $obj.

remove_constrainedStereotype

  $obj->remove_constrainedStereotype($val);

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

clear_constrainedStereotype

  $obj->clear_constrainedStereotype;

Clears the AssociationEnd constrainedStereotype links to UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.

count_constrainedStereotype

  $obj->count_constrainedStereotype;

Returns the number of elements of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype associated with constrainedStereotype.

END OF DOCUMENT