com.ibm.commerce.component.bod

Class Confirmation

  • java.lang.Object
    • com.ibm.commerce.component.bod.Confirmation


  • public class Confirmation
    extends java.lang.Object
    This class is a type-safe enum of all confirmation types. A confirmation type can be used for ConfirmationBOD
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object that)
      Make sure comparison is done at object reference level, and no subclass can change it
      int hashCode()
      Make sure hashCode is compatible with the this.equals(Object that).
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

        public static final Confirmation SUCCESS
        Confirmation of success
      • FAILURE

        public static final Confirmation FAILURE
        Confirmation of failure
      • PARTIAL_SUCCESS

        public static final Confirmation PARTIAL_SUCCESS
        Confirmation of partial success
      • AVAILABLE_CONFIRMATIONS

        public static final java.util.List AVAILABLE_CONFIRMATIONS
        List of all confirmation types. The list is read-only.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        the String value of the identity
      • equals

        public final boolean equals(java.lang.Object that)
        Make sure comparison is done at object reference level, and no subclass can change it
        Overrides:
        equals in class java.lang.Object
        Parameters:
        that - the object to be compared with
        Returns:
        true if they are equal. False otherwise.
      • hashCode

        public final int hashCode()
        Make sure hashCode is compatible with the this.equals(Object that).
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash code of a confirmation