public class OrderItemKey extends java.lang.Object implements NumericKey, XMLizable, java.lang.Comparable
XML Snippet for OrderItemKey:
<OrderItemKey> <OrderItemId>1234</OrderItemId> </OrderItemKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderItemKey()
Default Constructor for OrderItemKey.
|
OrderItemKey(java.lang.Long anOrderItemId)
Constructor for OrderItemKey.
|
Modifier and Type | Method and Description |
---|---|
int | compareTo(java.lang.Object obj)
This method compares the current object of order item key with another one.
|
boolean | equals(java.lang.Object obj)
Returns true if this OrderItem key equals to another OrderItem key.
|
void | fromXML(org.w3c.dom.Node node)
Transforms the XML node into its corresponding real Object.
|
java.lang.Number | getNumericKey()
Returns the numericKey.
|
java.lang.Long | getOrderItemId()
Returns the order item id.
|
int | hashCode()
Returns the hashcode of the OrderItem key.
|
boolean | isNumericKeySet()
Checks if numericKey is set or not.
|
void | setNumericKey(java.lang.Number numericKey)
Sets the numericKey.
|
java.lang.String | toString()
Give a String presentation of this OrderItem Key.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public OrderItemKey()
public OrderItemKey(java.lang.Long anOrderItemId)
public java.lang.Long getOrderItemId()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.Number getNumericKey()
public boolean isNumericKeySet()
public void setNumericKey(java.lang.Number numericKey)
public void fromXML(org.w3c.dom.Node node) throws DeXMLizationException
public java.lang.String toXML() throws XMLizationException
public int compareTo(java.lang.Object obj)