Class ToleranceConfig
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorToleranceConfig(Integer balanceElementId, BigDecimal tolerance) Constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanGetter for the stateGetter for the tolerance valuevoidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper evolvableHelper) inthashCode()voidsetBalanceElementId(Integer balanceElementId) Setter for the statevoidsetTolerance(BigDecimal tolerance) Setter for the tolerance valuetoString()Methods inherited from class oracle.communication.brm.charging.util.directevolution.DAbstractEvolvable
clone, getEvolutionData, setEvolutionData
-
Field Details
-
POF_BAL_ELEM_ID
public static final int POF_BAL_ELEM_ID- See Also:
-
POF_TOLERANCE
public static final int POF_TOLERANCE- See Also:
-
-
Constructor Details
-
ToleranceConfig
public ToleranceConfig()Default constructor -
ToleranceConfig
Constructor with parameters- Parameters:
balanceElementId- Numeric Id of the balance element for which the tolerance is configuredtolerance- 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
Getter for the state- Returns:
- State id for the lifecycle state
-
setBalanceElementId
Setter for the state- Parameters:
balanceElementId- Numeric Id of the balance element for which the tolerance is configured
-
getTolerance
Getter for the tolerance value- Returns:
- The tolerance value
-
setTolerance
Setter for the tolerance value- Parameters:
tolerance- Tolerance Value
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classoracle.communication.brm.charging.util.directevolution.DAbstractEvolvable
-