com.javelin.fpml.shared
Interface AdjustableOrRelativeDate

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Implementing Classes:
AdjustableOrRelativeDateBean

public interface AdjustableOrRelativeDate
extends java.lang.Cloneable, java.io.Serializable

AdjustableOrRelativeDate.java

null

Author:
Javelin Software
See Also:
AdjustableOrRelativeDateHome, AdjustableOrRelativeDateSession, AdjustableOrRelativeDateValidator, AdjustableOrRelativeDateBean, com.javelin.fpml.shared.lazy.LazyAdjustableOrRelativeDateBean

Method Summary
 java.lang.Object clone()
          Clone bean without throwing an Exception.
 AdjustableDate getAdjustableDate()
          Get the Adjustable Date.
 java.lang.Integer getAdjustableOrRelativeDateKey()
          Get the Adjustable Or Relative Date Key.
 EuropeanExercise getEuropeanExerciseExpirationDate()
          Get the EuropeanExerciseExpirationDate dependent on this table.
 RelativeDateOffset getRelativeDate()
          Get the Relative Date.
 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.
 

Method Detail

getAdjustableOrRelativeDateKey

public java.lang.Integer getAdjustableOrRelativeDateKey()
Get the Adjustable Or Relative Date Key.

Returns:
Integer or null if it has not been set.

setAdjustableOrRelativeDateKey

public void setAdjustableOrRelativeDateKey(java.lang.Integer adjustableOrRelativeDateKey)
                                    throws ValidationException
Set the Adjustable Or Relative Date Key.

Parameters:
adjustableOrRelativeDateKey - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
AdjustableOrRelativeDateValidator

getAdjustableDate

public AdjustableDate getAdjustableDate()
Get the Adjustable Date.

Returns:
AdjustableDate or a default value of null if it has not been set.

setAdjustableDate

public void setAdjustableDate(AdjustableDate adjustableDate)
                       throws ValidationException
Set the Adjustable Date.

Parameters:
adjustableDate - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
AdjustableOrRelativeDateValidator

getRelativeDate

public RelativeDateOffset getRelativeDate()
Get the Relative Date.

Returns:
RelativeDateOffset or a default value of null if it has not been set.

setRelativeDate

public void setRelativeDate(RelativeDateOffset relativeDate)
                     throws ValidationException
Set the Relative Date.

Parameters:
relativeDate - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
AdjustableOrRelativeDateValidator

getEuropeanExerciseExpirationDate

public EuropeanExercise getEuropeanExerciseExpirationDate()
                                                   throws ValidationException
Get the EuropeanExerciseExpirationDate dependent on this table.

Returns:
EuropeanExercise.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
AdjustableOrRelativeDate

setEuropeanExerciseExpirationDate

public void setEuropeanExerciseExpirationDate(EuropeanExercise europeanExercise)
                                       throws ValidationException
Set the EuropeanExerciseExpirationDate dependent on this table.

Throws:
ValidationException - If there was a problem validating the value.
See Also:
AdjustableOrRelativeDate

clone

public java.lang.Object clone()
Clone bean without throwing an Exception.

Overrides:
clone in class java.lang.Object