| 
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.irm.engine.classifications.item.ItemCodeFactory
public final class ItemCodeFactory
Item Code factory. This class provides methods for creating new instances of ItemCode objects.
| Method Summary | |
|---|---|
static ItemCode | 
createItemCode(String value)Create an item code without a time stamp.  | 
static ItemCode | 
createItemCode(String value, Date time)Create an item code.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static ItemCode createItemCode(String value)
value - the item code string value.
public static ItemCode createItemCode(String value,
                                      Date time)
value - the item code string value.time - the item code time stamp. Milli-second precision in this time will be stripped. e.g. if the provided time is 2006-12-05T12:00:00.123Z the stored time will be 2006-12-05T12:00:00Z. This ensures that item code times used on the server and desktop use the same level of precision. This parameter is optional, it is valid to pass null.
  | 
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||