com.javelin.fpml.shared
Class AmountScheduleBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.shared.ScheduleBean
              |
              +--com.javelin.fpml.shared.AmountScheduleBean
All Implemented Interfaces:
AmountSchedule, java.lang.Cloneable, Schedule, java.io.Serializable

public class AmountScheduleBean
extends ScheduleBean
implements AmountSchedule

AmountScheduleBean.java

null

Author:
Javelin Software
See Also:
AmountSchedule, Serialized Form

Field Summary
protected  java.lang.Integer amountScheduleKey
           
protected  Currency currency
           
protected  AmountScheduleValidator validator
           
 
Fields inherited from class com.javelin.fpml.shared.ScheduleBean
initialValue, scheduleKey, scheduleSteps
 
Constructor Summary
AmountScheduleBean()
          Construct the Default AmountScheduleBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAmountScheduleKey()
          Get the Amount Schedule Key.
protected  AmountScheduleValidator getAmountScheduleValidator()
           
 Currency getCurrency()
          Get the Currency.
 java.lang.Class getInterface()
           
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAmountScheduleKey(java.lang.Integer amountScheduleKey)
          Set the Amount Schedule Key.
 void setCurrency(Currency currency)
          Set the Currency.
 java.lang.String toString()
           
 
Methods inherited from class com.javelin.fpml.shared.ScheduleBean
addScheduleStep, getInitialValue, getScheduleKey, getScheduleSteps, getScheduleValidator, removeScheduleStep, removeScheduleSteps, setInitialValue, setScheduleKey, setScheduleSteps
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.javelin.fpml.shared.Schedule
addScheduleStep, getInitialValue, getScheduleKey, getScheduleSteps, removeScheduleStep, removeScheduleSteps, setInitialValue, setScheduleKey, setScheduleSteps
 

Field Detail

amountScheduleKey

protected java.lang.Integer amountScheduleKey

currency

protected transient Currency currency

validator

protected AmountScheduleValidator validator
Constructor Detail

AmountScheduleBean

public AmountScheduleBean()
Construct the Default AmountScheduleBean.

Method Detail

getInterface

public java.lang.Class getInterface()
Overrides:
getInterface in class ScheduleBean
See Also:
com.javelin.beans.Bean.getInterface()

getAmountScheduleKey

public java.lang.Integer getAmountScheduleKey()
Description copied from interface: AmountSchedule
Get the Amount Schedule Key.

Specified by:
getAmountScheduleKey in interface AmountSchedule
Returns:
Integer or null if it has not been set.
See Also:
AmountSchedule.getAmountScheduleKey()

setAmountScheduleKey

public void setAmountScheduleKey(java.lang.Integer amountScheduleKey)
                          throws ValidationException
Description copied from interface: AmountSchedule
Set the Amount Schedule Key.

Specified by:
setAmountScheduleKey in interface AmountSchedule
Parameters:
amountScheduleKey - The value to set.
ValidationException
See Also:
AmountSchedule.setAmountScheduleKey( java.lang.Integer amountScheduleKey )

getCurrency

public Currency getCurrency()
Description copied from interface: AmountSchedule
Get the Currency.

Specified by:
getCurrency in interface AmountSchedule
Returns:
Currency or a default value of null if it has not been set.
See Also:
AmountSchedule.getCurrency()

setCurrency

public void setCurrency(Currency currency)
                 throws ValidationException
Description copied from interface: AmountSchedule
Set the Currency.

Specified by:
setCurrency in interface AmountSchedule
Parameters:
currency - The value to set.
ValidationException
See Also:
AmountSchedule.setCurrency( Currency currency )

getAmountScheduleValidator

protected AmountScheduleValidator getAmountScheduleValidator()

toString

public java.lang.String toString()
Overrides:
toString in class ScheduleBean
See Also:
Object.toString()

listRelations

public void listRelations(java.util.Vector list,
                          int type)
                   throws ValidationException
List the related beans.

Overrides:
listRelations in class ScheduleBean
ValidationException

detach

public void detach()
            throws ValidationException
Overrides:
detach in class ScheduleBean
ValidationException
See Also:
com.javelin.beans.Beane#detach()

clone

public java.lang.Object clone()
Clone dependent beans.

Specified by:
clone in interface AmountSchedule
Overrides:
clone in class ScheduleBean