oracle.dmt.odm.rule
Class ItemValue
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.rule.ItemValue
- All Implemented Interfaces:
- java.io.Serializable
- public class ItemValue
- extends MiningObject
An instance of ItemValue
represents an item used in the Association Rules model and supports MiningRule
by providing item data in an itemset.
- Since:
- 9.0.1
- See Also:
- Serialized Form
Constructor Summary |
ItemValue(java.lang.String name, java.lang.String value)
Creates an instance of ItemValue . |
Method Summary |
java.lang.String |
getName()
Returns the name of the item. |
java.lang.String |
getValue()
Returns the value of the item |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemValue
public ItemValue(java.lang.String name,
java.lang.String value)
throws InvalidArgumentException,
ODMException
- Creates an instance of
ItemValue
.
- Parameters:
name
- The name of the item being created
value
- The value of the item being created
- Throws:
InvalidArgumentException
- when name
is null
ODMException
- when name
is empty or exceeds 30 bytes in length, or value
exceeds 64 characters in length.
getName
public java.lang.String getName()
- Returns the name of the item.
-
- Returns:
- String - The name of the item
getValue
public java.lang.String getValue()
- Returns the value of the item
-
- Returns:
- String - The value of the item