OracleAS Personalization Java API Reference
10g Release 2 (10.1.2)

B14053-01


oracle.dmt.op.re.base
Class Item

java.lang.Object
  extended byoracle.dmt.op.re.base.Item

Direct Known Subclasses:
DataItem

public class Item
extends java.lang.Object

Encapsulates item basic data.

Since:
9.0.0

Constructor Summary
Item()
Creates a new empty instance of Item.
Item(java.lang.String type, long ID)
Creates a new instance of Item.

Method Summary
long getID()
Returns item ID.
java.lang.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(java.lang.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 java.lang.String getType()
Returns item type.
Returns:
String Item type

OracleAS Personalization Java API Reference
10g Release 2 (10.1.2)

B14053-01


Copyright © 2005 Oracle. All Rights Reserved.