com.javelin.fpml.shared
Class AdjustableOrRelativeDateBean

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

public class AdjustableOrRelativeDateBean
extends AbstractBean
implements AdjustableOrRelativeDate

AdjustableOrRelativeDateBean.java

null

Author:
Javelin Software
See Also:
AdjustableOrRelativeDate, Serialized Form

Field Summary
protected  AdjustableDate adjustableDate
           
protected  java.lang.Integer adjustableOrRelativeDateKey
           
protected  EuropeanExercise europeanExercise
           
protected  RelativeDateOffset relativeDate
           
protected  AdjustableOrRelativeDateValidator validator
           
 
Constructor Summary
AdjustableOrRelativeDateBean()
          Construct the Default AdjustableOrRelativeDateBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 AdjustableDate getAdjustableDate()
          Get the Adjustable Date.
 java.lang.Integer getAdjustableOrRelativeDateKey()
          Get the Adjustable Or Relative Date Key.
protected  AdjustableOrRelativeDateValidator getAdjustableOrRelativeDateValidator()
           
 EuropeanExercise getEuropeanExerciseExpirationDate()
          Get the EuropeanExerciseExpirationDate dependent on this table.
 java.lang.Class getInterface()
           
 RelativeDateOffset getRelativeDate()
          Get the Relative Date.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAdjustableDate(AdjustableDate adjustableDate)
          Set the Adjustable Date.
 void setAdjustableOrRelativeDateKey(java.lang.Integer adjustableOrRelativeDateKey)
          Set the Adjustable Or Relative Date Key.
 void setEuropeanExerciseExpirationDate(EuropeanExercise europeanExercise)
          Set the EuropeanExerciseExpirationDate dependent on this table.
 void setRelativeDate(RelativeDateOffset relativeDate)
          Set the Relative Date.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adjustableOrRelativeDateKey

protected java.lang.Integer adjustableOrRelativeDateKey

adjustableDate

protected transient AdjustableDate adjustableDate

relativeDate

protected transient RelativeDateOffset relativeDate

europeanExercise

protected EuropeanExercise europeanExercise

validator

protected AdjustableOrRelativeDateValidator validator
Constructor Detail

AdjustableOrRelativeDateBean

public AdjustableOrRelativeDateBean()
Construct the Default AdjustableOrRelativeDateBean.

Method Detail

getInterface

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

getEuropeanExerciseExpirationDate

public EuropeanExercise getEuropeanExerciseExpirationDate()
                                                   throws ValidationException
Description copied from interface: AdjustableOrRelativeDate
Get the EuropeanExerciseExpirationDate dependent on this table.

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

setEuropeanExerciseExpirationDate

public void setEuropeanExerciseExpirationDate(EuropeanExercise europeanExercise)
                                       throws ValidationException
Description copied from interface: AdjustableOrRelativeDate
Set the EuropeanExerciseExpirationDate dependent on this table.

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

getAdjustableOrRelativeDateKey

public java.lang.Integer getAdjustableOrRelativeDateKey()
Description copied from interface: AdjustableOrRelativeDate
Get the Adjustable Or Relative Date Key.

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

setAdjustableOrRelativeDateKey

public void setAdjustableOrRelativeDateKey(java.lang.Integer adjustableOrRelativeDateKey)
                                    throws ValidationException
Description copied from interface: AdjustableOrRelativeDate
Set the Adjustable Or Relative Date Key.

Specified by:
setAdjustableOrRelativeDateKey in interface AdjustableOrRelativeDate
Parameters:
adjustableOrRelativeDateKey - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDate.setAdjustableOrRelativeDateKey( java.lang.Integer adjustableOrRelativeDateKey )

getAdjustableDate

public AdjustableDate getAdjustableDate()
Description copied from interface: AdjustableOrRelativeDate
Get the Adjustable Date.

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

setAdjustableDate

public void setAdjustableDate(AdjustableDate adjustableDate)
                       throws ValidationException
Description copied from interface: AdjustableOrRelativeDate
Set the Adjustable Date.

Specified by:
setAdjustableDate in interface AdjustableOrRelativeDate
Parameters:
adjustableDate - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDate.setAdjustableDate( AdjustableDate adjustableDate )

getRelativeDate

public RelativeDateOffset getRelativeDate()
Description copied from interface: AdjustableOrRelativeDate
Get the Relative Date.

Specified by:
getRelativeDate in interface AdjustableOrRelativeDate
Returns:
RelativeDateOffset or a default value of null if it has not been set.
See Also:
AdjustableOrRelativeDate.getRelativeDate()

setRelativeDate

public void setRelativeDate(RelativeDateOffset relativeDate)
                     throws ValidationException
Description copied from interface: AdjustableOrRelativeDate
Set the Relative Date.

Specified by:
setRelativeDate in interface AdjustableOrRelativeDate
Parameters:
relativeDate - The value to set.
ValidationException
See Also:
AdjustableOrRelativeDate.setRelativeDate( RelativeDateOffset relativeDate )

getAdjustableOrRelativeDateValidator

protected AdjustableOrRelativeDateValidator getAdjustableOrRelativeDateValidator()

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 AdjustableOrRelativeDate