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

public class ToleranceConfig extends oracle.communication.brm.charging.util.directevolution.DAbstractEvolvable
This class represents BalanceElementId to Tolerance configuration which is used in PolicyConfig bean.
  • Field Details

  • Constructor Details

    • ToleranceConfig

      public ToleranceConfig()
      Default constructor
    • ToleranceConfig

      public ToleranceConfig(Integer balanceElementId, BigDecimal tolerance)
      Constructor with parameters
      Parameters:
      balanceElementId - Numeric Id of the balance element for which the tolerance is configured
      tolerance - The tolerance value
  • Method Details

    • createInstance

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

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

      public Integer getBalanceElementId()
      Getter for the state
      Returns:
      State id for the lifecycle state
    • setBalanceElementId

      public void setBalanceElementId(Integer balanceElementId)
      Setter for the state
      Parameters:
      balanceElementId - Numeric Id of the balance element for which the tolerance is configured
    • getTolerance

      public BigDecimal getTolerance()
      Getter for the tolerance value
      Returns:
      The tolerance value
    • setTolerance

      public void setTolerance(BigDecimal tolerance)
      Setter for the tolerance value
      Parameters:
      tolerance - Tolerance Value
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class oracle.communication.brm.charging.util.directevolution.DAbstractEvolvable