Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


oracle.irm.engine.types.core.desktop
Class DesktopApplication

java.lang.Object
  extended by oracle.irm.engine.types.core.desktop.DesktopApplication

All Implemented Interfaces:
Serializable

public class DesktopApplication
extends Object
implements Serializable

Desktop Application type. The desktop may run many applications that use the IRM product. The desktop application is used to identify which application is making a request.

XML Serialization

Desktop Application instances can be serialized as an XML document. This XML document can also be used to recreate a Desktop Application object. The following XML document shows an example Desktop Application in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:DesktopApplication xmlns:core="http://xmlns.oracle.com/irm/core">
    <name>desktop</name>
    <container>browser</container>
</core:DesktopApplication>

See Also:
Serialized Form

Constructor Summary
DesktopApplication()
          No argument constructor.
DesktopApplication(String name, String container)
          Constructor.

 

Method Summary
 String getContainer()
          The container name.
 String getName()
          The application name.
 void setContainer(String value)
          The container name.
 void setName(String value)
          The application name.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DesktopApplication

public DesktopApplication()
No argument constructor.

DesktopApplication

public DesktopApplication(String name,
                          String container)
Constructor.

Method Detail

getName

public String getName()
The application name. An unique name to identify the application.
Returns:
the value of the property.

setName

public void setName(String value)
The application name. An unique name to identify the application.
Parameters:
value - the new value for the property.

getContainer

public String getContainer()
The container name. The container application can be considered the application hosting the desktop logic - such as a browser or word processor.
Returns:
the value of the property.

setContainer

public void setContainer(String value)
The container name. The container application can be considered the application hosting the desktop logic - such as a browser or word processor.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-01


Copyright © 2010, Oracle. All rights reserved.