Package com.portal.app.cc.event
Class BalanceImpactEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.BalanceImpactEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BillNowImpactEvent
The event sent out when data changes that impacts the balance.
- Version:
- %version: 10 % %date_modified: Tue Dec 04 11:25:32 2001 %
- Author:
- kapono
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates a currency balance impact event typestatic final int
Indicates a non-currency balance impact event typeFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionBalanceImpactEvent
(Object source, int type) Constructs a BalanceImpactEvent object.BalanceImpactEvent
(Object source, Vector modelHandle) Constructs a BalanceImpactEvent object. -
Method Summary
Modifier and TypeMethodDescriptionReturn impacted accounts after event adjustmentint
getType()
boolean
The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balancevoid
setShowPrevLife
(boolean bPrevLife) The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balanceMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
CURRENCY
public static final int CURRENCYIndicates a currency balance impact event type- See Also:
-
NONCURRENCY
public static final int NONCURRENCYIndicates a non-currency balance impact event type- See Also:
-
-
Constructor Details
-
BalanceImpactEvent
Constructs a BalanceImpactEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)type
- the event type
-
BalanceImpactEvent
Constructs a BalanceImpactEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)Vector
- account model handle list
-
-
Method Details
-
getType
public int getType()- Returns:
- The event type (currency, non-currency)
-
setShowPrevLife
public void setShowPrevLife(boolean bPrevLife) The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balance -
isShowPrevLife
public boolean isShowPrevLife()The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balance- Returns:
- The previous life boolean flag
-
getImpactedAccounts
Return impacted accounts after event adjustment- Returns:
- Vector of accounted model handles
-