com.ibm.commerce.marketing.promotion.dependency

Class CampaignKey

  • java.lang.Object
    • com.ibm.commerce.marketing.promotion.dependency.CampaignKey
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Deprecated. 
      IBM copyright notice field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      CampaignKey()
      Deprecated. 
      Constructor for CampaignKey.
      CampaignKey(StoreKey aKey, java.lang.String aName)
      Deprecated. 
      Constructor for CampaignKey.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      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.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignKey

        public CampaignKey()
        Deprecated. 
        Constructor for CampaignKey.
      • CampaignKey

        public CampaignKey(StoreKey aKey,
                           java.lang.String aName)
        Deprecated. 
        Constructor for CampaignKey.
        Parameters:
        aKey - Store Key
        aName - Name of Campaign
    • Method Detail

      • toXML

        public java.lang.String toXML()
                               throws XMLizationException
        Deprecated. 
        Description copied from interface: XMLizable
        Converts the object into its corresponding XML format representation.
        Specified by:
        toXML in interface XMLizable
        Returns:
        The string format of the XML that represents this XMLizable object
        Throws:
        XMLizationException - when this process fails
        See Also:
        XMLizable.toXML()
      • getNumericKey

        public java.lang.Number getNumericKey()
        Deprecated. 
        Returns the numericKey.
        Specified by:
        getNumericKey in interface NumericKey
        Returns:
        Number
      • setNumericKey

        public void setNumericKey(java.lang.Number aNumericKey)
        Deprecated. 
        Sets the numericKey.
        Parameters:
        aNumericKey - The numericKey to set
      • isNumericKeySet

        public boolean isNumericKeySet()
        Deprecated. 
        Checks if NumericKey is set.
        Specified by:
        isNumericKeySet in interface NumericKey
        Returns:
        boolean true if numeric is set false otherwise;
      • getName

        public java.lang.String getName()
        Deprecated. 
        Returns the name.
        Returns:
        String
      • setName

        public void setName(java.lang.String aName)
        Deprecated. 
        Sets the name.
        Parameters:
        aName - The name to set
      • equals

        public boolean equals(java.lang.Object obj)
        Deprecated. 
        This method checks if the object passed and the current object are equal.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - java.lang.Object
        Returns:
        boolean true if object is equal to current object false otherwise;
      • hashCode

        public int hashCode()
        Deprecated. 
        This method returns the hashcode of the CampaignKey
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        int hashcode
      • getStoreKey

        public StoreKey getStoreKey()
        Deprecated. 
        Returns the storeKey.
        Returns:
        StoreKey
      • setStoreKey

        public void setStoreKey(StoreKey aStoreKey)
        Deprecated. 
        Sets the storeKey.
        Parameters:
        aStoreKey - The storeKey to set
      • toString

        public java.lang.String toString()
        Deprecated. 
        Give a String representation of this CampaignKey.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String for this CampaignKey.