method add_attribute
1 | role Metamodel::AttributeContainer |
1.1 | (Metamodel::AttributeContainer) method add_attribute |
Documentation for method add_attribute
assembled from the following types:
role Metamodel::AttributeContainer
From Metamodel::AttributeContainer
(Metamodel::AttributeContainer) method add_attribute
method add_attribute(Metamodel::AttributeContainer: , )
Adds an attribute. $attribute
must be an object that supports the methods name
, type
and package
, which are called without arguments. It can for example be of type Attribute.