public class CatalogEntryKey extends java.lang.Object implements XMLizable, NumericKey
XML Snippet for CatalogEntryKey:
<CatalogEntryKey> <SKU>FULO-01</SKU> <DN>ou=b2c,o=seller organization,o=root organization</DN> </CatalogEntryKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CatalogEntryKey()
Default Constructor for CatalogEntryKey.
|
CatalogEntryKey(java.lang.String aDN, java.lang.String aSKU)
Constructor for CatalogEntryKey.
|
CatalogEntryKey(java.lang.String aDN, java.lang.String aSKU, StoreKey aStore)
Constructor for CatalogEntryKey.
|
Modifier and Type | Method and Description |
---|---|
boolean | equals(java.lang.Object obj)
Returns true if this CatalogEntry key equals to another CatalogEntry key.
|
void | fromXML(org.w3c.dom.Node node)
Transforms the XML node into its corresponding real Object.
|
java.lang.String | getDN()
Returns the DN of the catalog entry key.
|
java.lang.Number | getNumericKey()
Returns the numeric key associated with catalog entry key.
|
java.lang.String | getSKU()
Returns the SKU of the catalog entry key.
|
StoreKey | getStore()
Returns the store key associated with the catalog entry key.
|
int | hashCode()
Returns the hashcode of the CatalogEntry key.
|
boolean | isNumericKeySet()
Checks if numericKey is set or not.
|
void | setDN(java.lang.String aDN)
Sets the DN of key.
|
void | setNumericKey(java.lang.Number aNumericKey)
Sets the numericKey for the catalog entry key.
|
void | setSKU(java.lang.String aSKU)
Sets the SKU of the key.
|
void | setStore(StoreKey sKey)
Sets the StoreKey associated with the catalog entry key.
|
java.lang.String | toString()
Gives a String presentation of this CatalogEntry Key.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public CatalogEntryKey()
public CatalogEntryKey(java.lang.String aDN, java.lang.String aSKU)
public CatalogEntryKey(java.lang.String aDN, java.lang.String aSKU, StoreKey aStore)
public java.lang.String getDN()
public java.lang.String getSKU()
public StoreKey getStore()
public void fromXML(org.w3c.dom.Node node) throws DeXMLizationException
public java.lang.String toXML() throws XMLizationException
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 aNumericKey)
public void setStore(StoreKey sKey)
public void setDN(java.lang.String aDN)
public void setSKU(java.lang.String aSKU)