Oracle Waveset 8.1.1 Deployment Guide

Defining Resource Object Attributes

The <ObjectAttributes> section specifies the set of attributes to be managed and queried in Waveset. Each <ObjectAttribute> element name should be the same as the native resource attribute name. Unlike user attributes in Waveset, no attribute mapping is specified. Use only the native attribute names.

The following table describes attributes that are required for <ObjectAttributes>.

Table 10–29 Required Attributes for <ObjectAttributes>

Attribute 

Description 

idAttr

The value of this attribute should be the resource object attribute name that uniquely identifies this object within the resource’s object namespace (for example, dn, uid)

displayNameAttr

The value of this attribute should be the resource object attribute name whose value is the name you want displayed when objects of this type are viewed within Waveset (for example, cn, samAccountName).

descriptionAttr

(Optional) This value of this attribute should be the resource object attribute name whose value you want displayed in the Description column of the Resources page. 

The following example shows an <ObjectAttributes> section defined in an <ObjectType>.


Example 10–11 <ObjectAttributes> Section Defined in an <ObjectType>


<ObjectAttributes idAttr=’dn’ displayNameAttr=’cn’ descriptionAttr=
       ’description’>\n"+
    <ObjectAttribute name=’cn’ type=’string’/>\n"+
    <ObjectAttribute name=’description’ type=’string’/>\n"+
    <ObjectAttribute name=’owner’ type=’distinguishedname’
namingAttr=’cn’/>\n"+
    <ObjectAttribute name=’uniqueMember’ type=’dn’ namingAttr=’cn’ />\n"+
 </ObjectAttributes>\n"+

The following table describes the <ObjectAttribute> attributes.

Table 10–30 <ObjectAttribute> Attributes

Attribute 

Description 

name

Identifies the resource object type attribute name (required) 

type

Identifies the type of object. Valid types include string or distinguishedname / ”dn’ (defaults to string)

namingAttr

If object type is distinguishedname or dn, this value specifies the attribute whose value should be used to display an instance of this object type referred to by the dn within Waveset


Note –

The methods in the resource adapter object type implementation are responsible for coercing all string values into the appropriate type based on the resource attribute name.