Skip navigation links

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

E12907-03


oracle.irm.engine.types.content.sealing
Class CustomData

java.lang.Object
  extended by oracle.irm.engine.types.content.sealing.CustomData

All Implemented Interfaces:
Serializable

public class CustomData
extends Object
implements Serializable

Custom Data type. Sealed content can contain data that is not part of the sealed content Classification. This data is called the custom data and can be considered a set of opaque data entries for use by sealed content integrations.

XML Serialization

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

<?xml version="1.0" encoding="UTF-8"?>
<content:CustomData xmlns:content="http://xmlns.oracle.com/irm/content">
    <uuid>2b8cd20a-d4f5-47b6-9097-d12547f2b707</uuid>
    <car>
        <name>Ford</name>
        <colour>Blue</colour>
    </car>
</content:CustomData>

See Also:
Serialized Form

Constructor Summary
CustomData()
          No argument constructor.
CustomData(UUID uuid, Object data)
          Constructor.

 

Method Summary
 Object getData()
          Custom data.
 UUID getUuid()
          Custom data UUID This UUID value should uniquely identify the type of custom data provided.
 void setData(Object value)
          Custom data.
 void setUuid(UUID value)
          Custom data UUID This UUID value should uniquely identify the type of custom data provided.

 

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

 

Constructor Detail

CustomData

public CustomData()
No argument constructor.

CustomData

public CustomData(UUID uuid,
                  Object data)
Constructor.

Method Detail

getUuid

public UUID getUuid()
Custom data UUID This UUID value should uniquely identify the type of custom data provided. This allows different vendors/integrations to add custom data to sealed content without the custom data entries clashing.
Returns:
the value of the property.

setUuid

public void setUuid(UUID value)
Custom data UUID This UUID value should uniquely identify the type of custom data provided. This allows different vendors/integrations to add custom data to sealed content without the custom data entries clashing.
Parameters:
value - the new value for the property.

getData

public Object getData()
Custom data. The format of this data
Returns:
the value of the property.

setData

public void setData(Object value)
Custom data. The format of this data
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-03


Copyright © 2011, Oracle. All rights reserved.