com.javelin.fpml.shared
Class AdjustableOrRelativeDatesBean

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

public class AdjustableOrRelativeDatesBean
extends AbstractBean
implements AdjustableOrRelativeDates

AdjustableOrRelativeDatesBean.java

null

Author:
Javelin Software
See Also:
AdjustableOrRelativeDates, Serialized Form

Field Summary
protected  AdjustableDates adjustableDates
           
protected  java.lang.Integer adjustableOrRelativeDatesKey
           
protected  AmericanExercise americanExercise
           
protected  EuropeanExercise europeanExercise
           
protected  RelativeDates relativeDates
           
protected  AdjustableOrRelativeDatesValidator validator
           
 
Constructor Summary
AdjustableOrRelativeDatesBean()
          Construct the Default AdjustableOrRelativeDatesBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 AdjustableDates getAdjustableDates()
          Get the Adjustable Dates.
 java.lang.Integer getAdjustableOrRelativeDatesKey()
          Get the Adjustable Or Relative Dates Key.
protected  AdjustableOrRelativeDatesValidator getAdjustableOrRelativeDatesValidator()
           
 AmericanExercise getAmericanExerciseRelevantUnderlyingDate()
          Get the AmericanExerciseRelevantUnderlyingDate dependent on this table.
 EuropeanExercise getEuropeanExerciseRelevantUnderlyingDate()
          Get the EuropeanExerciseRelevantUnderlyingDate dependent on this table.
 java.lang.Class getInterface()
           
 RelativeDates getRelativeDates()
          Get the Relative Dates.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAdjustableDates(AdjustableDates adjustableDates)
          Set the Adjustable Dates.
 void setAdjustableOrRelativeDatesKey(java.lang.Integer adjustableOrRelativeDatesKey)
          Set the Adjustable Or Relative Dates Key.
 void setAmericanExerciseRelevantUnderlyingDate(AmericanExercise americanExercise)
          Set the AmericanExerciseRelevantUnderlyingDate dependent on this table.
 void setEuropeanExerciseRelevantUnderlyingDate(EuropeanExercise europeanExercise)
          Set the EuropeanExerciseRelevantUnderlyingDate dependent on this table.
 void setRelativeDates(RelativeDates relativeDates)
          Set the Relative Dates.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adjustableOrRelativeDatesKey

protected java.lang.Integer adjustableOrRelativeDatesKey

adjustableDates

protected transient AdjustableDates adjustableDates

relativeDates

protected transient RelativeDates relativeDates

europeanExercise

protected EuropeanExercise europeanExercise

americanExercise

protected AmericanExercise americanExercise

validator

protected AdjustableOrRelativeDatesValidator validator
Constructor Detail

AdjustableOrRelativeDatesBean

public AdjustableOrRelativeDatesBean()
Construct the Default AdjustableOrRelativeDatesBean.

Method Detail

getInterface

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

getEuropeanExerciseRelevantUnderlyingDate

public EuropeanExercise getEuropeanExerciseRelevantUnderlyingDate()
                                                           throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Get the EuropeanExerciseRelevantUnderlyingDate dependent on this table.

Specified by:
getEuropeanExerciseRelevantUnderlyingDate in interface AdjustableOrRelativeDates
Returns:
EuropeanExercise.
ValidationException
See Also:
com.javelin.fpml.shared.getEuropeanExerciseRelevantUnderlyingDate()

setEuropeanExerciseRelevantUnderlyingDate

public void setEuropeanExerciseRelevantUnderlyingDate(EuropeanExercise europeanExercise)
                                               throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Set the EuropeanExerciseRelevantUnderlyingDate dependent on this table.

Specified by:
setEuropeanExerciseRelevantUnderlyingDate in interface AdjustableOrRelativeDates
ValidationException
See Also:
com.javelin.fpml.shared.setEuropeanExerciseRelevantUnderlyingDate()

getAmericanExerciseRelevantUnderlyingDate

public AmericanExercise getAmericanExerciseRelevantUnderlyingDate()
                                                           throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Get the AmericanExerciseRelevantUnderlyingDate dependent on this table.

Specified by:
getAmericanExerciseRelevantUnderlyingDate in interface AdjustableOrRelativeDates
Returns:
AmericanExercise.
ValidationException
See Also:
com.javelin.fpml.shared.getAmericanExerciseRelevantUnderlyingDate()

setAmericanExerciseRelevantUnderlyingDate

public void setAmericanExerciseRelevantUnderlyingDate(AmericanExercise americanExercise)
                                               throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Set the AmericanExerciseRelevantUnderlyingDate dependent on this table.

Specified by:
setAmericanExerciseRelevantUnderlyingDate in interface AdjustableOrRelativeDates
ValidationException
See Also:
com.javelin.fpml.shared.setAmericanExerciseRelevantUnderlyingDate()

getAdjustableOrRelativeDatesKey

public java.lang.Integer getAdjustableOrRelativeDatesKey()
Description copied from interface: AdjustableOrRelativeDates
Get the Adjustable Or Relative Dates Key.

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

setAdjustableOrRelativeDatesKey

public void setAdjustableOrRelativeDatesKey(java.lang.Integer adjustableOrRelativeDatesKey)
                                     throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Set the Adjustable Or Relative Dates Key.

Specified by:
setAdjustableOrRelativeDatesKey in interface AdjustableOrRelativeDates
Parameters:
adjustableOrRelativeDatesKey - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDates.setAdjustableOrRelativeDatesKey( java.lang.Integer adjustableOrRelativeDatesKey )

getAdjustableDates

public AdjustableDates getAdjustableDates()
Description copied from interface: AdjustableOrRelativeDates
Get the Adjustable Dates.

Specified by:
getAdjustableDates in interface AdjustableOrRelativeDates
Returns:
AdjustableDates or a default value of null if it has not been set.
See Also:
AdjustableOrRelativeDates.getAdjustableDates()

setAdjustableDates

public void setAdjustableDates(AdjustableDates adjustableDates)
                        throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Set the Adjustable Dates.

Specified by:
setAdjustableDates in interface AdjustableOrRelativeDates
Parameters:
adjustableDates - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDates.setAdjustableDates( AdjustableDates adjustableDates )

getRelativeDates

public RelativeDates getRelativeDates()
Description copied from interface: AdjustableOrRelativeDates
Get the Relative Dates.

Specified by:
getRelativeDates in interface AdjustableOrRelativeDates
Returns:
RelativeDates or a default value of null if it has not been set.
See Also:
AdjustableOrRelativeDates.getRelativeDates()

setRelativeDates

public void setRelativeDates(RelativeDates relativeDates)
                      throws ValidationException
Description copied from interface: AdjustableOrRelativeDates
Set the Relative Dates.

Specified by:
setRelativeDates in interface AdjustableOrRelativeDates
Parameters:
relativeDates - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDates.setRelativeDates( RelativeDates relativeDates )

getAdjustableOrRelativeDatesValidator

protected AdjustableOrRelativeDatesValidator getAdjustableOrRelativeDatesValidator()

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 AdjustableOrRelativeDates