Skip navigation links

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

E12907-03


oracle.irm.engine.types.core.classification
Class ClassificationSystemRef

java.lang.Object
  extended by oracle.irm.engine.types.core.classification.ClassificationSystemRef

All Implemented Interfaces:
Serializable

public class ClassificationSystemRef
extends Object
implements Serializable

Classification System reference. A classification system is a definition of what data is sealed into content, how that meta-data is used to grant access to that content and how many cryptography keys are used. The classification system requires server logic to respond to license requests by returning appropriate License instances. Different classification systems are free to define what the cookie data is added to content and how to use this information in a server when responding with license details.

For example, the Context classification system embeds a ContextCookie into sealed content. The context classification system also defines that for each context, one or more cryptography key sets can be used. One of these key sets is marked as the active one that is used to seal all new content. Licenses are obtained by assigning a role to a user or group, defining what rights are available within a context.

This class can be used to reference an instance of a ClassificationSystem object. It contains all the properties needed to uniquely identify a ClassificationSystem. The serialized form of this class can be used to identify an object without the need to serialize the complete object.

XML Serialization

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

<?xml version="1.0" encoding="UTF-8"?>
<core:ClassificationSystem xmlns:core="http://xmlns.oracle.com/irm/core">
    <uuid>185abb6d-13cd-45a2-aabd-4db886b97c5c</uuid>
</core:ClassificationSystem>

Classification System instances can also be serialized by reference. A reference contains all the information needed to uniquely identify a Classification System without needing to serialize the complete object. The reference form of the XML document can be seen below.

<?xml version="1.0" encoding="UTF-8"?>
<core:ClassificationSystemRef xmlns:core="http://xmlns.oracle.com/irm/core">
    <uuid>185abb6d-13cd-45a2-aabd-4db886b97c5c</uuid>
</core:ClassificationSystemRef>

See Also:
Serialized Form

Constructor Summary
ClassificationSystemRef()
          No argument constructor.
ClassificationSystemRef(UUID uuid)
          Constructor.

 

Method Summary
 UUID getUuid()
          A globally unique id for the classification system.
 void setUuid(UUID value)
          A globally unique id for the classification system.

 

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

 

Constructor Detail

ClassificationSystemRef

public ClassificationSystemRef()
No argument constructor.

ClassificationSystemRef

public ClassificationSystemRef(UUID uuid)
Constructor.

Method Detail

getUuid

public UUID getUuid()
A globally unique id for the classification system.
Returns:
the value of the property.

setUuid

public void setUuid(UUID value)
A globally unique id for the classification system.
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.