Attribute properties and methods

You can use the properties and methods described in this section to create attributes associated with managed elements.

Properties

Table 1 describes the attribute properties for the DLA production API.

Table 1. Attribute properties
Property Description
name

The attribute name.

value

The attribute value.

Methods

Table 2 describes the attribute methods.

Table 2. Attribute methods
Method Description
create(name, type, value)

This is a class scope method that creates an instance of IDMLAttribute using the following parameters:

name
The name of the attribute. It is the responsibility of the caller to ensure that the name is valid for the IDMLManagedElement to which the IDMLAttribute is being added.
type
The type of the attribute.
value
The value of the attribute.
getName()

Retrieve the name property.

getValue()

Retrieve the value property.