Package com.portal.app.cc.event
Class CreditLimitEvent
java.lang.Object
java.util.EventObject
com.portal.app.cc.event.CreditLimitEvent
- All Implemented Interfaces:
Serializable
The event sent out when the credit limit is changed
- Version:
- %version: 1 % %date_modified: Wed May 16 15:17:58 2001 %
- Author:
- kapono
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Indicates a currency credit limit event typestatic final int
Indicates a non-currency credit limit event typeFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionCreditLimitEvent
(Object source, int type, BigDecimal amount) Constructs a CreditLimitEvent object. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
CURRENCY
public static final int CURRENCYIndicates a currency credit limit event type- See Also:
-
NONCURRENCY
public static final int NONCURRENCYIndicates a non-currency credit limit event type- See Also:
-
-
Constructor Details
-
CreditLimitEvent
Constructs a CreditLimitEvent object.- Parameters:
source
- the Object that is the source of the event (typicallythis
)type
- the event typeamount
- the new credit limit
-
-
Method Details
-
getType
public int getType()- Returns:
- The event type (currency, non-currency)
-
getAmount
- Returns:
- The new credit limit amount
-