Class DummyPurchaseCondition

  • java.lang.Object
  • All Implemented Interfaces:
    Condition, XMLizable,

    public class DummyPurchaseCondition
    extends java.lang.Object
    implements Condition
    DummyPurchaseCondition class provides dummy implementation for Condition interface. It does not define any requirements and always returns true. XML Snippet for this type of Condition.
    See Also:
    Serialized Form
    • Field Summary

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

      Constructor and Description
      Constructor for DummyPurchaseCondition.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean evaluate(PromotionContext context)
      Always returns true.
      void fromXML(org.w3c.dom.Node anXMLNode)
      Transforms the XML node into its corresponding real Object.
      java.lang.String toXML()
      Converts the object into its corresponding XML format representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait