java.lang.Object
oracle.communication.brm.charging.util.directevolution.DAbstractEvolvable
oracle.communication.brm.charging.appconfiguration.beans.productstate.LifecycleState
All Implemented Interfaces:
Cloneable, oracle.communication.brm.charging.util.directevolution.DEvolvable

public class LifecycleState extends oracle.communication.brm.charging.util.directevolution.DAbstractEvolvable
This class represents Lifecycle state to Name configuration which is used in LifecycleStateMapper bean.
  • Field Details

  • Constructor Details

    • LifecycleState

      public LifecycleState()
      Default constructor
    • LifecycleState

      public LifecycleState(Integer state, String stateName)
      Constructor with parameters
      Parameters:
      state - State id for the lifecycle state
      stateName - Name of the lifecycle state
  • Method Details

    • createInstance

      public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()
    • giveInitializerTo

      public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper)
    • getState

      public Integer getState()
      Getter for the state
      Returns:
      State id for the lifecycle state
    • setState

      public void setState(Integer state)
      Setter for the state
      Parameters:
      state - State id for the lifecycle state
    • getStateName

      public String getStateName()
      Getter for the state name
      Returns:
      State name for the lifecycle state
    • setStateName

      public void setStateName(String stateName)
      Setter for the state name
      Parameters:
      stateName - State name for the lifecycle state
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object