public class CampaignKey extends java.lang.Object implements NumericKey, XMLizable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignKey()
Deprecated.
Constructor for CampaignKey.
|
CampaignKey(StoreKey aKey,
java.lang.String aName)
Deprecated.
Constructor for CampaignKey.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
This method checks if the object passed and the current object are equal.
|
void |
fromXML(org.w3c.dom.Node anXMLNode)
Deprecated.
Transforms the XML node into its corresponding real Object.
|
java.lang.String |
getName()
Deprecated.
Returns the name.
|
java.lang.Number |
getNumericKey()
Deprecated.
Returns the numericKey.
|
StoreKey |
getStoreKey()
Deprecated.
Returns the storeKey.
|
int |
hashCode()
Deprecated.
This method returns the hashcode of the CampaignKey
|
boolean |
isNumericKeySet()
Deprecated.
Checks if NumericKey is set.
|
void |
setName(java.lang.String aName)
Deprecated.
Sets the name.
|
void |
setNumericKey(java.lang.Number aNumericKey)
Deprecated.
Sets the numericKey.
|
void |
setStoreKey(StoreKey aStoreKey)
Deprecated.
Sets the storeKey.
|
java.lang.String |
toString()
Deprecated.
Give a String representation of this CampaignKey.
|
java.lang.String |
toXML()
Deprecated.
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public CampaignKey()
public CampaignKey(StoreKey aKey, java.lang.String aName)
aKey
- Store KeyaName
- Name of Campaignpublic java.lang.String toXML() throws XMLizationException
XMLizable
toXML
in interface XMLizable
XMLizationException
- when this process failsXMLizable.toXML()
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException
XMLizable
fromXML
in interface XMLizable
anXMLNode
- The node that represents an XMLizable objectDeXMLizationException
- when this process failsXMLizable.fromXML(Node)
public java.lang.Number getNumericKey()
getNumericKey
in interface NumericKey
public void setNumericKey(java.lang.Number aNumericKey)
aNumericKey
- The numericKey to setpublic boolean isNumericKeySet()
isNumericKeySet
in interface NumericKey
true
if numeric is set false
otherwise;public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- The name to setpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- java.lang.Object
true
if object is equal to current object
false
otherwise;public int hashCode()
hashCode
in class java.lang.Object
public StoreKey getStoreKey()
public void setStoreKey(StoreKey aStoreKey)
aStoreKey
- The storeKey to setpublic java.lang.String toString()
toString
in class java.lang.Object