oracle.context.isearch.query
Class Item
java.lang.Object
|
+--oracle.context.isearch.query.Item
- public class Item
- extends java.lang.Object
Convenience class for storing the identification tag, name and description of simple items. It is useful for encapsulates information about simple items instead of defining classes for those simple items. The items that are modeled by this class are the Data Group, Language and Search Attribute.
- Since:
- 1.0.2
Constructor Summary |
Item(java.lang.String idString, java.lang.String nameString)
Constructor that initializes the identification number and name. |
Item(java.lang.String idString, java.lang.String nameString, java.lang.String descriptionString)
Constructor that initializes the identification number, name and description. |
Method Summary |
java.lang.String |
getDescription()
Gets the description of this item. |
java.lang.String |
getId()
Gets the identification tag of this Item. |
java.lang.String |
getName()
Gets the name of this Item. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Item
public Item(java.lang.String idString,
java.lang.String nameString)
- Constructor that initializes the identification number and name.
-
- Parameters:
idString
- The identification tag of this entity.
nameString
- The name of this entity.
Item
public Item(java.lang.String idString,
java.lang.String nameString,
java.lang.String descriptionString)
- Constructor that initializes the identification number, name and description.
-
- Parameters:
idString
- The identification tag of this item.
nameString
- The name of this item.
descriptionString
- The description of this item.
getId
public java.lang.String getId()
- Gets the identification tag of this Item.
-
- Returns:
- the identification tag of this item
getName
public java.lang.String getName()
- Gets the name of this Item.
-
- Returns:
- the item name
getDescription
public java.lang.String getDescription()
- Gets the description of this item.
-
- Returns:
- the description of this item