NAME
UMMF::UML::MetaModel::Foundation::Core::StructuralFeature --
VERSION
1.0
SYNOPSIS
DESCRIPTION
USAGE
EXPORT
METATYPE
UMMF::UML::MetaModel::Foundation::Core::Class
SUPERCLASSES
UMMF::UML::MetaModel::Foundation::Core::Feature
ATTRIBUTES
multiplicity
: UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity
- metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
- type = UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue = UNSPECIFIED
- container_type =
Set::Object
changeability
: UMMF::UML::MetaModel::Foundation::Data_Types::ChangeableKind
- metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
- type = UMMF::UML::MetaModel::Foundation::Data_Types::ChangeableKind
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"changeable"
> - container_type =
Set::Object
targetScope
: UMMF::UML::MetaModel::Foundation::Data_Types::ScopeKind
- metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
- type = UMMF::UML::MetaModel::Foundation::Data_Types::ScopeKind
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"instance"
> - container_type =
Set::Object
ordering
: UMMF::UML::MetaModel::Foundation::Data_Types::OrderingKind
- metatype = UMMF::UML::MetaModel::Foundation::Core::Attribute
- type = UMMF::UML::MetaModel::Foundation::Data_Types::OrderingKind
- visibility =
private
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
unordered
- initialValue =
<"unordered"
> - container_type =
Set::Object
ASSOCIATIONS
0..*
: typedFeature
<---> type
: UMMF::UML::MetaModel::Foundation::Core::Classifier 1
- metatype = UMMF::UML::MetaModel::Foundation::Core::AssociationEnd
- type = UMMF::UML::MetaModel::Foundation::Core::Classifier
- multiplicity =
1
- changeability =
changeable
- targetScope =
instance
- ordering =
- aggregation =
none
- visibility =
public
- container_type =
Set::Object
METHODS
__validate_type
UMMF::UML::MetaModel::Foundation::Core::StructuralFeature->__validate_type($value);
Returns true if $value
is a valid representation of UMMF::UML::MetaModel::Foundation::Core::StructuralFeature.
__typecheck
UMMF::UML::MetaModel::Foundation::Core::StructuralFeature->__typecheck($value, $msg);
Calls confess()
with $msg
if <UMMF::UML::MetaModel::Foundation::Core::StructuralFeature-
__validate_type($value)>> is false.
isaStructuralFeature
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::StructuralFeature. Other receivers will return false.
isaFoundation__Core__StructuralFeature
Returns true if receiver is a UMMF::UML::MetaModel::Foundation::Core::StructuralFeature. Other receivers will return false. This is the fully qualified version of the isaStructuralFeature
method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Core::StructuralFeature'
) 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::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
.
multiplicity
my $val = $obj->multiplicity;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity value of Attribute multiplicity
.
set_multiplicity
$obj->set_multiplicity($val);
Sets the value of Attribute multiplicity
. $val
must be of type UMMF::UML::MetaModel::Foundation::Data_Types::Multiplicity or undef
. Returns $obj
.
count_multiplicity
$obj->count_multiplicity;
Returns the number of elements (0 or 1) in multiplicity
.
changeability
my $val = $obj->changeability;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::ChangeableKind value of Attribute changeability
.
set_changeability
$obj->set_changeability($val);
Sets the value of Attribute changeability
. $val
must be of type UMMF::UML::MetaModel::Foundation::Data_Types::ChangeableKind or undef
. Returns $obj
.
count_changeability
$obj->count_changeability;
Returns the number of elements (0 or 1) in changeability
.
targetScope
my $val = $obj->targetScope;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::ScopeKind value of Attribute targetScope
.
set_targetScope
$obj->set_targetScope($val);
Sets the value of Attribute targetScope
. $val
must be of type UMMF::UML::MetaModel::Foundation::Data_Types::ScopeKind or undef
. Returns $obj
.
count_targetScope
$obj->count_targetScope;
Returns the number of elements (0 or 1) in targetScope
.
ordering
my $val = $obj->ordering;
Returns the UMMF::UML::MetaModel::Foundation::Data_Types::OrderingKind value of Attribute ordering
.
set_ordering
$obj->set_ordering($val);
Sets the value of Attribute ordering
. $val
must be of type UMMF::UML::MetaModel::Foundation::Data_Types::OrderingKind or undef
. Returns $obj
.
count_ordering
$obj->count_ordering;
Returns the number of elements (0 or 1) in ordering
.
type
my $val = $obj->type;
Returns the AssociationEnd type
value of type UMMF::UML::MetaModel::Foundation::Core::Classifier.
set_type
$obj->set_type($val);
Sets the AssociationEnd type
value. $val
must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj
.
add_type
$obj->add_type($val);
Adds the AssociationEnd type
value. $val
must of type UMMF::UML::MetaModel::Foundation::Core::Classifier. Throws exception if a value already exists. Returns $obj
.
remove_type
$obj->remove_type($val);
Removes the AssociationEnd type
value $val
. Returns $obj
.
clear_type
$obj->clear_type;
Clears the AssociationEnd type
links to UMMF::UML::MetaModel::Foundation::Core::Classifier. Returns $obj
.
count_type
$obj->count_type;
Returns the number of elements of type UMMF::UML::MetaModel::Foundation::Core::Classifier associated with type
.
END OF DOCUMENT