Predefined Attribute Extended (PdAtXtd) Object Class
The Predefined Attribute Extended (PdAtXtd) object class is used to supplement existing device attributes that are represented in the Predefined Attribute (PdAt) object class with information that can be used by Device Management User Interface.
Types of attributes to represent in PdAtXtd
Not all existing device attributes in PdAt must be represented in the PdAtXtd object class. Non-displayable attributes (that is, attributes with a null string in the 'generic' field of the PdAt object class) must not have a corresponding PdAtXtd entry, otherwise, it becomes displayable.
The PdAtXtd object class can also be used to override the current value or possible values of an attribute.
Predefined Attribute Extended Object Class Descriptors
The Predefined Attribute Extended object class contains the following descriptors:
ODM Type | Descriptor Name | Description | Required |
---|---|---|---|
ODM_CHAR | uniquetype | Unique Type | Yes |
ODM_CHAR | attribute | Attribute Name | No |
ODM_CHAR | classification | Attribute Classification | No |
ODM_CHAR | sequence | Sequence number | No |
ODM_VCHAR | operation | Operation Name | No |
ODM_VCHAR | operation_value | Operation Value | No |
ODM_VCHAR | description | Attribute Description | No |
ODM_VCHAR | list_cmd | Command to list Attribute value | No |
ODM_VCHAR | list_values_cmd | Command to list Attribute values | No |
ODM_VCHAR | change_cmd | Command to change Attribute value | No |
ODM_VCHAR | help | Help text | NO |
ODM_VCHAR | nls_values | Translated Attribute values | No |
These descriptors are described as follows:
Descriptor | Description |
---|---|
uniquetype | Identifies the class-subclass-type name of the device to which this attribute is associated. This descriptor is the same as the Unique Type descriptor in the PdAt object class. |
attribute | Identifies the device attribute. This name can be passed to mkdev and chdev configuration commands and device methods in the attribute-name and attribute-value pairs. |
classification | Identifies the classification of the device attribute. The
followings characters are valid values:
|
sequence | Identifies the number that is used to position the attribute
in relation to others on a panel or menu. This field is identical
to the id_seq_num currently in the sm_cmd_opt (SMIT
Dialog/Selector Command Option) object class. |
operation | Identifies the type of operation that is associated with the unique device type. Operation and attribute name fields are mutually exclusive. |
operation_value | Identifies the value that is associated with the Operation field.When
the operation is |
description | Identifies the attribute description. |
list_cmd | Identifies the command to override the current value of the
attribute, except when the operation field is set. If the operation
field is set, it identifies the command to return information that
is associated with the operation. For example, in the case of the
|
list_values_cmd | Identifies the command to obtain the possible values of an attribute. The values that are returned override the values field in the Predefined Attribute object class. |
change_cmd | Identifies the command to change the attribute value if the chdevcommand cannot be used. |
help | Identifies the help text that is associated with the attribute.
The help text format follows:
OR
|
nls_values | Identifies the text that is associated with the attribute values.
These values are displayed in place of the values that are stored
in the Predefined Attribute object class. This field must be of the
following form:
The ordering of values must match the ordering in the Predefined Attribute values field. |