|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.CostRule
public abstract class CostRule
Each Resource has one or more cost rules associated with it which define the cost of using the Resource. All cost rules must inherit from this abstract class.
| Method Summary | |
|---|---|
boolean |
setCurrency(java.util.Currency inCurrency)
Set the currency used to express the rate and to calculate the cost. |
boolean |
setRate(java.math.BigDecimal inRate)
Set the rate used to calculate the cost. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean setCurrency(java.util.Currency inCurrency)
inCurrency - Currency used to express the rate. Cannot be null.
public boolean setRate(java.math.BigDecimal inRate)
inRate - Rate in a specific currency. Cannot be null.
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||