An itemViewMapping represents a tab in the user interface.

Item descriptor Definition

The itemViewMapping item descriptor is defined as follows in ViewMapping.xml:

<item-descriptor name="itemViewMapping" id-space-names="viewmapping"
    display-property="name" query-cache-size="40">
    <table name="vmap_ivm" type="primary" id-column-name="id">
      <property name="id" data-type="string"/>
      <property name="name"/>
      <property name="displayName" column-name="display_name"/>
      <property name="description"/>
      <property name="view" column-name="view_id" item-type="itemView"/>
    </table>

    <!-- attributeValues property -->
    <table name="vmap_attrval_rel" type="multi"
      id-column-name="mapper_id" multi-column-name="name">
      <property name="attributeValues" column-name="attribute_id"
        data-type="map" component-item-type="attributeValue"
        cascade="update,delete"/>
    </table>

    <!-- propertyViewMappings (PropertyViewMapping) property -->
    <table name="vmap_ivm2pvm_rel" type="multi" id-column-name="ivm_id"
      multi-column-name="name">
      <property name="propertyMappings" column-name="pvm_id"
        data-type="map" component-item-type="propertyViewMapping"/>
    </table>
</item-descriptor>
itemViewMapping Properties

itemViewMapping properties include the following:

Property

Description

name

The name for the view in the ACC. You can use the name value to switch between different views for the same set of asset properties; for example, you might have one view for assets displayed and edited in English and another view in Spanish.

displayName

The display name for the view in the Business Control Center—for example, the value that appears in the banner of the asset properties tab.

description

Optional description of this item.

view

Optional reference to an itemView. If omitted, the itemViewMapping uses the default itemView.

attributeValues

Optional key/value pairs that define an attribute of this itemViewMapping.

propertyMappings

A map of asset properties to propertyViewMappings.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices