|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.classifications.item.ItemCode
public class ItemCode
Item Code type. An item code is a fine-grained way of identifying sealed content. An item code is made up of a string based Value
and an optional Time
stamp. When sealed content contains an item code the value and time stamp can be used to identify the content. The item code value is typically the file name and the time stamp indicates when the sealed content was created. However, these are just suggested uses - there is no requirement that these the file name/current time be used for these values.
Two item codes are considered logically identical if the item code values are the same and, if present, the time stamps are the same.
Item Code instances can be serialized as an XML document. This XML document can also be used to recreate a Item Code object. The following XML document shows an example Item Code in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:ItemCode xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<value>sample.sdoc</value>
<time>2007-05-10T12:00:00.000+00:00</time>
</classifications:ItemCode>
Constructor Summary | |
---|---|
ItemCode() No argument constructor. |
|
ItemCode(String value, Date time) Constructor. |
Method Summary | |
---|---|
Date |
getTime() The item code time stamp. |
String |
getValue() The item code value. |
void |
setTime(Date value) The item code time stamp. |
void |
setValue(String value) The item code value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemCode()
public ItemCode(String value, Date time)
Method Detail |
---|
public String getValue()
public void setValue(String value)
value
- the new value for the property.public Date getTime()
public void setTime(Date value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |