UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition --
1.5
UMMF::UML_1_5::Foundation::Core::Class
UMMF::UML_1_5::Foundation::Core::ModelElement
tagType
private
1
changeable
instance
unordered
Set::Object
multiplicity
definedTag
0..*
owner
0..1
none
public
type
typedValue
__validate_type
UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition->__validate_type($value);
Returns true if $value is a valid representation of UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition.
$value
__typecheck
UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition->__typecheck($value, $msg);
Calls confess() with $msg if <UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition-__validate_type($value)>> is false.
confess()
$msg
<UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition-
isaTagDefinition
Returns true if receiver is a UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition. Other receivers will return false.
isaFoundation__Extension_Mechanisms__TagDefinition
Returns true if receiver is a UMMF::UML_1_5::Foundation::Extension_Mechanisms::TagDefinition. Other receivers will return false. This is the fully qualified version of the isaTagDefinition method.
__model_name
my $name = $obj_or_package->__model_name;
Returns the UML Model name ('Foundation::Extension_Mechanisms::TagDefinition') for an object or package of this Classifier.
'Foundation::Extension_Mechanisms::TagDefinition'
__isAbstract
$package->__isAbstract;
Returns 0.
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.
___create
my $val = $obj->tagType;
Returns the UMMF::UML_1_5::Foundation::Data_Types::Name value of Attribute tagType.
set_tagType
$obj->set_tagType($val);
Sets the value of Attribute tagType. $val must be of type UMMF::UML_1_5::Foundation::Data_Types::Name or undef. Returns $obj.
$val
undef
$obj
count_tagType
$obj->count_tagType;
Returns the number of elements (0 or 1) in tagType.
my $val = $obj->multiplicity;
Returns the UMMF::UML_1_5::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_1_5::Foundation::Data_Types::Multiplicity or undef. Returns $obj.
count_multiplicity
$obj->count_multiplicity;
Returns the number of elements (0 or 1) in multiplicity.
my $val = $obj->owner;
Returns the AssociationEnd owner value of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype.
set_owner
$obj->set_owner($val);
Sets the AssociationEnd owner value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.
add_owner
$obj->add_owner($val);
Adds the AssociationEnd owner value. $val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Throws exception if a value already exists. Returns $obj.
remove_owner
$obj->remove_owner($val);
Removes the AssociationEnd owner value $val. Returns $obj.
clear_owner
$obj->clear_owner;
Clears the AssociationEnd owner links to UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype. Returns $obj.
count_owner
$obj->count_owner;
Returns the number of elements of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::Stereotype associated with owner.
my @val = $obj->typedValue; my $ary_val = $obj->typedValue;
Returns the AssociationEnd typedValue values of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::TaggedValue. 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_typedValue
$obj->set_typedValue(@val);
Sets the AssociationEnd typedValue value. Elements of @val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::TaggedValue. Returns $obj.
@val
add_typedValue
$obj->add_typedValue(@val);
Adds AssociationEnd typedValue values. Elements of @val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::TaggedValue. Returns $obj.
remove_typedValue
$obj->remove_typedValue(@val);
Removes the AssociationEnd typedValue values @val. Elements of @val must of type UMMF::UML_1_5::Foundation::Extension_Mechanisms::TaggedValue. Returns $obj.
clear_typedValue
$obj->clear_typedValue;
Clears the AssociationEnd typedValue links to UMMF::UML_1_5::Foundation::Extension_Mechanisms::TaggedValue. Returns $obj.
count_typedValue
$obj->count_typedValue;
Returns the number of elements associated with typedValue.
END OF DOCUMENT
To install UMMF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UMMF
CPAN shell
perl -MCPAN -e shell install UMMF
For more information on module installation, please visit the detailed CPAN module installation guide.