|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper
public class GeneralLedgerPendingEntrySequenceHelper
This class is a helper class which will allows us to pass control in and out of the processGeneralLedgerPendingEntry() method by reference. This was necessary since you can't increment an Integer object without breaking reference.
Constructor Summary | |
---|---|
GeneralLedgerPendingEntrySequenceHelper()
Constructs a GeneralLedgerPendingEntrySequenceHelper.java, initializing the counter to 1. |
|
GeneralLedgerPendingEntrySequenceHelper(int initialCount)
Constructs a GeneralLedgerPendingEntrySequenceHelper.java, initializing the counter to the given int. |
Method Summary | |
---|---|
void |
decrement()
This method decrements the value of the sequenceCounter attribute. |
int |
getSequenceCounter()
This method retrieves the value of the sequenceCounter attribute. |
void |
increment()
This method increments the value of the sequenceCounter attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralLedgerPendingEntrySequenceHelper()
public GeneralLedgerPendingEntrySequenceHelper(int initialCount)
Method Detail |
---|
public int getSequenceCounter()
public void increment()
public void decrement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |