public class StoreKey extends java.lang.Object implements NumericKey, XMLizable, com.ibm.websphere.cache.Sizeable
XML Snippet for StoreKey:
<StoreKey> <DN>ou=b2c,o=seller organization,o=root organization</DN> <Identifier>ConsumerDirect</Identifier> </StoreKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static StoreKey | NULL_ENTITY_STORE_KEY
A wildcard store key
|
Constructor and Description |
---|
StoreKey()
Default Constructor for StoreKey.
|
StoreKey(java.lang.String aDN, java.lang.String aIdentifier)
Constructor for StoreKey.
|
Modifier and Type | Method and Description |
---|---|
boolean | equals(java.lang.Object obj)
Returns true if this Store key equals to another Store 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 store key.
|
java.lang.String | getIdentifier()
Returns the Identifier of store key.
|
java.lang.Number | getNumericKey()
Returns the numericKey.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
int | hashCode()
Returns the hashcode of the Store key.
|
boolean | isNumericKeySet()
Checks if numericKey is set or not.
|
void | setDN(java.lang.String aDN)
Sets the DN of store key.
|
void | setIdentifier(java.lang.String aIdentifier)
Sets the Identifier of store key.
|
void | setNumericKey(java.lang.Number aNumericKey)
Sets the numericKey.
|
java.lang.String | toString()
Give a String presentation of this Store Key.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public static final StoreKey NULL_ENTITY_STORE_KEY
public StoreKey()
public StoreKey(java.lang.String aDN, java.lang.String aIdentifier)
public long getObjectSize()
public java.lang.String getDN()
public void setDN(java.lang.String aDN)
public void setIdentifier(java.lang.String aIdentifier)
public java.lang.String getIdentifier()
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 fromXML(org.w3c.dom.Node node) throws DeXMLizationException
public java.lang.String toXML() throws XMLizationException