|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.bc.counter.Counter
public class Counter
Constructor Summary | |
---|---|
Counter()
This constructor creates a Counter object with three counter element: total, increase and increaseTimes. |
|
Counter(float increaseMaxLimit,
float totalMaxLimit,
int increaseTimesMaxLimit)
This constructor creates a Counter object with three counter element: total, increase and increaseTimes. |
Method Summary | |
---|---|
float |
currentTotal()
Returns the current total value. |
float |
getIncreaseMaxLimit()
Returns the MaxLimit property of increase CounterElement. |
float |
getIncreaseMinLimit()
Returns the MinLimit property of increase CounterElement. |
int |
getIncreaseTimesMaxLimit()
Returns the MaxLimit property of TotIncrs CounterElement. |
int |
getIncreaseTimesMinLimit()
Returns the MinLimit property of TotIncrs CounterElement. |
float |
getTotalMaxLimit()
Returns the MaxLimit property of Total CounterElement. |
float |
getTotalMinLimit()
Returns the MinLimit property of Total CounterElement. |
void |
increase(float incrValue)
Sets the increase value. |
int |
increaseTimes()
Returns the increase times value. |
void |
setIncreaseMaxLimit(float maxLimit)
Sets the MaxLimit property of increase. |
void |
setIncreaseMinLimit(float minLimit)
Sets the MinLimit property of increase. |
void |
setIncreaseTimes(int totalCount)
Sets the value of increaseTimes. |
void |
setIncreaseTimesMaxLimit(int maxLimit)
Sets the maxLimit property of increaseTimes. |
void |
setIncreaseTimesMinLimit(int minLimit)
Sets the minLimit property of increaseTimes. |
void |
setTotal(float totalValue)
Sets the value of Total. |
void |
setTotalMaxLimit(float maxLimit)
Sets the maxLimit property of Total. |
void |
setTotalMinLimit(float minLimit)
Sets the minLimit property of Total. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Counter()
public Counter(float increaseMaxLimit, float totalMaxLimit, int increaseTimesMaxLimit) throws CounterException
increaseMaxLimit:
- the max limit value of increase element.totalMaxLimit
- the max limit value of total element.increaseTimesMaxLimit
- the max limit value of increaseTimes element.
CounterException
- if one of these values is incorrect.Method Detail |
---|
public void increase(float incrValue) throws CounterException
It first tests if the value is correct then, if the value is correct, it sets it.
This method throws :
CounterException
public void setIncreaseMaxLimit(float maxLimit) throws CounterException
It first tests if the maxLimit value is correct then, if the maxLimit value is correct, it sets it.
This method throws :
CounterException
public void setIncreaseMinLimit(float minLimit) throws CounterException
It first tests if the minLimit value is correct then, if the minLimit value is correct, it sets it.
This method throws :
CounterException
public float getIncreaseMaxLimit()
public float getIncreaseMinLimit()
public void setTotal(float totalValue) throws CounterException
It first tests if the value is correct then, if the value is correct, it sets it.
This method throws :
CounterException
public void setTotalMaxLimit(float maxLimit) throws CounterException
It first tests if the maxLimit value is correct then, if the maxLimit value is correct, it sets it.
This method throws :
CounterException
public void setTotalMinLimit(float minLimit) throws CounterException
It first tests if the minLimit value is correct then, if the minLimit value is correct, it sets it.
This method throws :
CounterException
public float currentTotal()
public float getTotalMaxLimit()
public float getTotalMinLimit()
public void setIncreaseTimes(int totalCount) throws CounterException
It first tests if the value is correct then, if the value is correct, it sets it.
This method throws :
CounterException
public void setIncreaseTimesMaxLimit(int maxLimit) throws CounterException
It first tests if the maxLimit value is correct then, if the maxLimit value is correct, it sets it.
This method throws :
CounterException
public void setIncreaseTimesMinLimit(int minLimit) throws CounterException
It first tests if the minLimit value is correct then, if the minLimit value is correct, it sets it.
This method throws :
CounterException
public int increaseTimes()
public int getIncreaseTimesMaxLimit()
public int getIncreaseTimesMinLimit()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |