com.ibm.commerce.ubf.registry

Class BusinessFlowStateRelation

  • java.lang.Object
    • com.ibm.commerce.ubf.registry.BusinessFlowStateRelation
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    DynamicBusinessFlowStateRelation


    public class BusinessFlowStateRelation
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable

    Associates BusinessFlows with BuniessFlowStates and each specifing it's own entryAction, exitAction, and responseViewName.

    See Also:
    Serialized Form
    • Constructor Detail

      • BusinessFlowStateRelation

        public BusinessFlowStateRelation(java.lang.Long flowId,
                                         java.lang.Long flowStateId,
                                         java.lang.String entryActionInterface,
                                         java.lang.String exitActionInterface,
                                         java.lang.String responseViewName)
        Constructs a new BusinessFlowStateRelation with the specified values.
        Parameters:
        flowId - The BusinessFlow unique id value.
        flowStateId - The BusinessFlowState unique id value.
        entryActionInterface - The entryActionInterface for the state.
        exitActionInterface - The exitActionInterface for the state.
        responseViewName - The response view name.
    • Method Detail

      • compareTo

        public int compareTo(java.lang.Object otherObject)
        Compares current object to another object.
        Specified by:
        compareTo in interface java.lang.Comparable
        Parameters:
        otherObject - The other object for the comparision.
        Returns:
        0 if objects are equal, 1 if this object is greater than otherObject, -1 if otherObject is greater than this object.
      • getBusinessFlow

        public BusinessFlow getBusinessFlow()
        Returns:
        The associated BusinessFlow value.
      • getBusinessFlowID

        public java.lang.Long getBusinessFlowID()
        Returns:
        The associated BusinessFlow unique id value.
      • getBusinessFlowState

        public BusinessFlowState getBusinessFlowState()
        Returns:
        The associate BusinessFlowState value.
      • getBusinessFlowStateID

        public java.lang.Long getBusinessFlowStateID()
        Returns:
        The associated BusinessFlowState unique id value.
      • getEntryActionInterface

        public java.lang.String getEntryActionInterface()
        Returns:
        The entry action interface name.
      • getExitActionInterface

        public java.lang.String getExitActionInterface()
        Returns:
        The exit action interface name.
      • getResponseViewName

        public java.lang.String getResponseViewName()
        Returns:
        The response view name.
      • toString

        public java.lang.String toString()
        Returns the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The String representation of the Object.