Oracle Personalization
REAPI_RT
v9.0.2

oracle.dmt.op.re.base
Class Item

java.lang.Object
  |
  +--oracle.dmt.op.re.base.Item
Direct Known Subclasses:
DataItem

public class Item
extends Object

Encapsulates item basic data.

Since:
9.0.0

Constructor Summary
Item()
          Creates a new empty instance of Item.
Item(String type, long ID)
          Creates a new instance of Item.
 
Method Summary
TypeMethod
 long getID()
          Returns item ID.
 String getType()
          Returns item type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Item

public Item()
Creates a new empty instance of Item.

Item

public Item(String type,
            long ID)
     throws StringTooLargeException,
            NullParameterException,
            InvalidIDException
Creates a new instance of Item.
Parameters:
type - Item type
ID - Item ID
Throws:
StringTooLargeException - if item type is too long
NullParameterException - if item type is null
InvalidIDException - if item ID is invalid
Method Detail

getID

public long getID()
Returns item ID.
Returns:
long Item ID

getType

public String getType()
Returns item type.
Returns:
String Item type

Oracle Personalization
REAPI_RT
v9.0.2