public class OrderKey extends java.lang.Object implements XMLizable, NumericKey
XML Snippet for OrderKey:
<OrderKey> <OrderId>1234</OrderId> </OrderKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderKey()
Default Constructor for OrderKey.
|
OrderKey(java.lang.Long anOrderId)
Constructor for OrderKey.
|
Modifier and Type | Method and Description |
---|---|
boolean | equals(java.lang.Object obj)
Returns true if this Order key equals to another Order 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 | getOrderId()
Returns the orderId.
|
int | hashCode()
Returns the hashcode of the Order 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 Order Key.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public OrderKey()
public OrderKey(java.lang.Long anOrderId)
public java.lang.Long getOrderId()
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