public class CategoryKey extends java.lang.Object implements XMLizable, NumericKey
XML Snippet of CategoryKey:
<CategoryKey> <DN>ou=b2c,o=seller organization,o=root organization</DN> <Name>Furniture</Name> </CategoryKey>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CategoryKey()
Default Constructor for CategoryKey.
|
CategoryKey(java.lang.String aDN, java.lang.String aName)
Constructor for CategoryKey.
|
Modifier and Type | Method and Description |
---|---|
boolean | equals(java.lang.Object obj)
Returns true if this Category key equals to another Category key.
|
void | fromXML(org.w3c.dom.Node node)
Transforms the XML node into its corresponding real Object.
|
java.lang.String | getDN()
Returns the DN associated with category key.
|
java.lang.String | getName()
Returns the name associated with category key.
|
java.lang.Number | getNumericKey()
Returns the numeric key of the category key.
|
int | hashCode()
Returns the hashcode of the Category key.
|
boolean | isNumericKeySet()
Checks if numericKey is set or not.
|
void | setDN(java.lang.String aDN)
Sets the DN of key.
|
void | setName(java.lang.String aName)
Sets the Name of the key.
|
void | setNumericKey(java.lang.Number aNumericKey)
Sets the numeric key of the category key.
|
java.lang.String | toString()
Give a String representation of this CategoryKey.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public CategoryKey()
public CategoryKey(java.lang.String aDN, java.lang.String aName)
public java.lang.String getDN()
public java.lang.String getName()
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
public void setDN(java.lang.String aDN)
public void setName(java.lang.String aName)