Overview

Represents a physical device owned by a user( user). Each Device must have {Manufacturer, Model, [SoftwareVersion], [DevInfDTDVersion]} or/and {OS, Processor and DeviceClass} specified. SoftwareVersion and DevInfDTDVersion are optional. The status field represents various options like Active, Lockdown, etc.

Projection.BASIC loads all the attributes to be loaded by Projection.EMPTY and the following attributes : DeviceId, DevInfDTDVersion, Handle, Manufacturer, Model, OS, Processor, SoftwareVersion, Status, and DeviceType, which is loaded using Projection.BASIC.

Projection.FULL includes all the attributes. The embedded attributes, e.g. Creator, are loaded with Projection.EMPTY.

Members

Show inherited members

Projections
Name Type Required Description

OS

string

Returns the device operating system.

activePreferenceProfile

preferenceProfile

Returns the active preference profile for this Device. There is an active preference profile if the Device has an associated DeviceType, and the DeviceType's DeviceProfile has configuration (whose type is PreferenceProfile). In such a case, the PreferenceSets of the Device active preference profile will extend from the PreferenceSets of the DeviceProfile configuration.

addresses

entityAddress[]

attachedMarkers

marker[]

Set of marker elements associated with the entity.

attachedReminders

reminder[]

List of reminders attached to the entity

attachedSubscriptions

subscription[]

List of subscriptions attached to the entity

availablePreferenceProfiles

preferenceProfile[]

collabId

beeId

CollabId of the snapshot

createdOn

dateTime

Entity's creation date

creator

actor

The actor that created this entity

deleted

boolean

Deletion flag. If this property is set to true the entity is deleted.

devInfDTDVersion

string

Returns the OMA device information DTD version.

deviceClass

string

Returns the device class.

deviceId

string

Returns the local device ID of the Device.

deviceInfo

collabProperties

Returns a collection of device properties.

deviceType

deviceType

Returns the associated deviceType. The Device to DeviceType relationship is computed using the following attributes of Device and DeviceType : Manufacturer, Model, SoftwareVersion, DevInfDTDVersion, OS, Processor and DeviceClass.

installedClientApplications

installedClientApplication[]

Returns the list of installedClientApplications installed on the device.

manufacturer

string

Returns the device manufacturer.

model

string

Returns the device model.

modifiedBy

actor

The actor that last modified the entity

modifiedOn

dateTime

The date when entity was last modified

name

string

Name of the entity.

parent

entity

The parent for this entity.

pendingCommands

deviceCommand[]

Returns the list of deviceCommands to be executed on the device.

primaryAddress

entityAddress

processor

string

Returns the device processor.

snapshotId

string

Contains the snapshot identifier for this snapshot. Snapshot identifiers are used to implement optimistic locking on the server.

softwareVersion

string

Returns the software version

status

deviceStatus

Returns the status of Device. The possible values are defined in

user

user

Returns the user of the device

Hierarchy

Inherits From

Examples

Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:device xsi:type="obh:device" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <OS>your_string_0</OS>
        <activePreferenceProfile>your_preferenceProfile_0</activePreferenceProfile>
        <addresses>your_entityAddress_0</addresses>
        <addresses>your_entityAddress_1</addresses>
        <addresses>your_entityAddress_2</addresses>
        <attachedMarkers>your_marker_0</attachedMarkers>
        <attachedMarkers>your_marker_1</attachedMarkers>
        <attachedMarkers>your_marker_2</attachedMarkers>
        <attachedReminders>your_reminder_0</attachedReminders>
        <attachedReminders>your_reminder_1</attachedReminders>
        <attachedReminders>your_reminder_2</attachedReminders>
        <attachedSubscriptions>your_subscription_0</attachedSubscriptions>
        <attachedSubscriptions>your_subscription_1</attachedSubscriptions>
        <attachedSubscriptions>your_subscription_2</attachedSubscriptions>
        <availablePreferenceProfiles>your_preferenceProfile_0</availablePreferenceProfiles>
        <availablePreferenceProfiles>your_preferenceProfile_1</availablePreferenceProfiles>
        <availablePreferenceProfiles>your_preferenceProfile_2</availablePreferenceProfiles>
        <collabId>your_beeId_0</collabId>
        <createdOn>your_dateTime_0</createdOn>
        <creator>your_actor_0</creator>
        <deleted>your_boolean_0</deleted>
        <devInfDTDVersion>your_string_0</devInfDTDVersion>
        <deviceClass>your_string_0</deviceClass>
        <deviceId>your_string_0</deviceId>
        <deviceInfo>your_collabProperties_0</deviceInfo>
        <deviceType>your_deviceType_0</deviceType>
        <installedClientApplications>your_installedClientApplication_0</installedClientApplications>
        <installedClientApplications>your_installedClientApplication_1</installedClientApplications>
        <installedClientApplications>your_installedClientApplication_2</installedClientApplications>
        <manufacturer>your_string_0</manufacturer>
        <model>your_string_0</model>
        <modifiedBy>your_actor_0</modifiedBy>
        <modifiedOn>your_dateTime_0</modifiedOn>
        <name>your_string_0</name>
        <parent>your_entity_0</parent>
        <pendingCommands>your_deviceCommand_0</pendingCommands>
        <pendingCommands>your_deviceCommand_1</pendingCommands>
        <pendingCommands>your_deviceCommand_2</pendingCommands>
        <primaryAddress>your_entityAddress_0</primaryAddress>
        <processor>your_string_0</processor>
        <snapshotId>your_string_0</snapshotId>
        <softwareVersion>your_string_0</softwareVersion>
        <status>your_deviceStatus_0</status>
        <user>your_user_0</user>
</obh:device>

Referenced By Representaions