com.javelin.fpml.shared
Class AdjustableDateBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.shared.AdjustableDateBean
All Implemented Interfaces:
AdjustableDate, java.lang.Cloneable, java.io.Serializable

public class AdjustableDateBean
extends AbstractBean
implements AdjustableDate

AdjustableDateBean.java

null

Author:
Javelin Software
See Also:
AdjustableDate, Serialized Form

Field Summary
protected  java.lang.Integer adjustableDateKey
           
protected  AdjustableOrRelativeDate adjustableOrRelativeDate
           
protected  BusinessDayAdjustments dateAdjustments
           
protected  Payment payment
           
protected  java.sql.Date unadjustedDate
           
protected  AdjustableDateValidator validator
           
 
Constructor Summary
AdjustableDateBean()
          Construct the Default AdjustableDateBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAdjustableDateKey()
          Get the Adjustable Date Key.
protected  AdjustableDateValidator getAdjustableDateValidator()
           
 AdjustableOrRelativeDate getAdjustableOrRelativeDateAdjustableDate()
          Get the AdjustableOrRelativeDateAdjustableDate dependent on this table.
 BusinessDayAdjustments getDateAdjustments()
          Get the Date Adjustments.
 java.lang.Class getInterface()
           
 Payment getPaymentPaymentDate()
          Get the PaymentPaymentDate dependent on this table.
 java.sql.Date getUnadjustedDate()
          Get the Unadjusted Date.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAdjustableDateKey(java.lang.Integer adjustableDateKey)
          Set the Adjustable Date Key.
 void setAdjustableOrRelativeDateAdjustableDate(AdjustableOrRelativeDate adjustableOrRelativeDate)
          Set the AdjustableOrRelativeDateAdjustableDate dependent on this table.
 void setDateAdjustments(BusinessDayAdjustments dateAdjustments)
          Set the Date Adjustments.
 void setPaymentPaymentDate(Payment payment)
          Set the PaymentPaymentDate dependent on this table.
 void setUnadjustedDate(java.sql.Date unadjustedDate)
          Set the Unadjusted Date.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adjustableDateKey

protected java.lang.Integer adjustableDateKey

unadjustedDate

protected java.sql.Date unadjustedDate

dateAdjustments

protected transient BusinessDayAdjustments dateAdjustments

payment

protected Payment payment

adjustableOrRelativeDate

protected AdjustableOrRelativeDate adjustableOrRelativeDate

validator

protected AdjustableDateValidator validator
Constructor Detail

AdjustableDateBean

public AdjustableDateBean()
Construct the Default AdjustableDateBean.

Method Detail

getInterface

public java.lang.Class getInterface()
See Also:
com.javelin.beans.Bean.getInterface()

getPaymentPaymentDate

public Payment getPaymentPaymentDate()
                              throws ValidationException
Description copied from interface: AdjustableDate
Get the PaymentPaymentDate dependent on this table.

Specified by:
getPaymentPaymentDate in interface AdjustableDate
Returns:
Payment.
ValidationException
See Also:
com.javelin.fpml.shared.getPaymentPaymentDate()

setPaymentPaymentDate

public void setPaymentPaymentDate(Payment payment)
                           throws ValidationException
Description copied from interface: AdjustableDate
Set the PaymentPaymentDate dependent on this table.

Specified by:
setPaymentPaymentDate in interface AdjustableDate
ValidationException
See Also:
com.javelin.fpml.shared.setPaymentPaymentDate()

getAdjustableOrRelativeDateAdjustableDate

public AdjustableOrRelativeDate getAdjustableOrRelativeDateAdjustableDate()
                                                                   throws ValidationException
Description copied from interface: AdjustableDate
Get the AdjustableOrRelativeDateAdjustableDate dependent on this table.

Specified by:
getAdjustableOrRelativeDateAdjustableDate in interface AdjustableDate
Returns:
AdjustableOrRelativeDate.
ValidationException
See Also:
com.javelin.fpml.shared.getAdjustableOrRelativeDateAdjustableDate()

setAdjustableOrRelativeDateAdjustableDate

public void setAdjustableOrRelativeDateAdjustableDate(AdjustableOrRelativeDate adjustableOrRelativeDate)
                                               throws ValidationException
Description copied from interface: AdjustableDate
Set the AdjustableOrRelativeDateAdjustableDate dependent on this table.

Specified by:
setAdjustableOrRelativeDateAdjustableDate in interface AdjustableDate
ValidationException
See Also:
com.javelin.fpml.shared.setAdjustableOrRelativeDateAdjustableDate()

getAdjustableDateKey

public java.lang.Integer getAdjustableDateKey()
Description copied from interface: AdjustableDate
Get the Adjustable Date Key.

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

setAdjustableDateKey

public void setAdjustableDateKey(java.lang.Integer adjustableDateKey)
                          throws ValidationException
Description copied from interface: AdjustableDate
Set the Adjustable Date Key.

Specified by:
setAdjustableDateKey in interface AdjustableDate
Parameters:
adjustableDateKey - The value to set.
ValidationException
See Also:
AdjustableDate.setAdjustableDateKey( java.lang.Integer adjustableDateKey )

getUnadjustedDate

public java.sql.Date getUnadjustedDate()
Description copied from interface: AdjustableDate
Get the Unadjusted Date.

Specified by:
getUnadjustedDate in interface AdjustableDate
Returns:
java.sql.Date or a default value of null if it has not been set.
See Also:
AdjustableDate.getUnadjustedDate()

setUnadjustedDate

public void setUnadjustedDate(java.sql.Date unadjustedDate)
                       throws ValidationException
Description copied from interface: AdjustableDate
Set the Unadjusted Date.

Specified by:
setUnadjustedDate in interface AdjustableDate
Parameters:
unadjustedDate - The value to set.
ValidationException
See Also:
AdjustableDate.setUnadjustedDate( java.sql.Date unadjustedDate )

getDateAdjustments

public BusinessDayAdjustments getDateAdjustments()
Description copied from interface: AdjustableDate
Get the Date Adjustments.

Specified by:
getDateAdjustments in interface AdjustableDate
Returns:
BusinessDayAdjustments or a default value of null if it has not been set.
See Also:
AdjustableDate.getDateAdjustments()

setDateAdjustments

public void setDateAdjustments(BusinessDayAdjustments dateAdjustments)
                        throws ValidationException
Description copied from interface: AdjustableDate
Set the Date Adjustments.

Specified by:
setDateAdjustments in interface AdjustableDate
Parameters:
dateAdjustments - The value to set.
ValidationException
See Also:
AdjustableDate.setDateAdjustments( BusinessDayAdjustments dateAdjustments )

getAdjustableDateValidator

protected AdjustableDateValidator getAdjustableDateValidator()

toString

public java.lang.String toString()
See Also:
Object.toString()

listRelations

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

ValidationException

detach

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

clone

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

Specified by:
clone in interface AdjustableDate