com.javelin.fpml.shared
Class AmericanExerciseBean

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

public class AmericanExerciseBean
extends AbstractBean
implements AmericanExercise

AmericanExerciseBean.java

null

Author:
Javelin Software
See Also:
AmericanExercise, Serialized Form

Field Summary
protected  java.lang.Integer americanExerciseKey
           
protected  AdjustableOrRelativeDate commencementDate
           
protected  BusinessCenterTime earliestExerciseTime
           
protected  ExerciseFeeSchedule exerciseFeeSchedule
           
protected  AdjustableOrRelativeDate expirationDate
           
protected  BusinessCenterTime expirationTime
           
protected  BusinessCenterTime latestExerciseTime
           
protected  MultipleExercise multipleExercise
           
protected  AdjustableOrRelativeDates relevantUnderlyingDate
           
protected  AmericanExerciseValidator validator
           
 
Constructor Summary
AmericanExerciseBean()
          Construct the Default AmericanExerciseBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAmericanExerciseKey()
          Get the American Exercise Key.
protected  AmericanExerciseValidator getAmericanExerciseValidator()
           
 AdjustableOrRelativeDate getCommencementDate()
          Get the Commencement Date.
 BusinessCenterTime getEarliestExerciseTime()
          Get the Earliest Exercise Time.
 ExerciseFeeSchedule getExerciseFeeSchedule()
          Get the Exercise Fee Schedule.
 AdjustableOrRelativeDate getExpirationDate()
          Get the Expiration Date.
 BusinessCenterTime getExpirationTime()
          Get the Expiration Time.
 java.lang.Class getInterface()
           
 BusinessCenterTime getLatestExerciseTime()
          Get the Latest Exercise Time.
 MultipleExercise getMultipleExercise()
          Get the Multiple Exercise.
 AdjustableOrRelativeDates getRelevantUnderlyingDate()
          Get the Relevant Underlying Date.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAmericanExerciseKey(java.lang.Integer americanExerciseKey)
          Set the American Exercise Key.
 void setCommencementDate(AdjustableOrRelativeDate commencementDate)
          Set the Commencement Date.
 void setEarliestExerciseTime(BusinessCenterTime earliestExerciseTime)
          Set the Earliest Exercise Time.
 void setExerciseFeeSchedule(ExerciseFeeSchedule exerciseFeeSchedule)
          Set the Exercise Fee Schedule.
 void setExpirationDate(AdjustableOrRelativeDate expirationDate)
          Set the Expiration Date.
 void setExpirationTime(BusinessCenterTime expirationTime)
          Set the Expiration Time.
 void setLatestExerciseTime(BusinessCenterTime latestExerciseTime)
          Set the Latest Exercise Time.
 void setMultipleExercise(MultipleExercise multipleExercise)
          Set the Multiple Exercise.
 void setRelevantUnderlyingDate(AdjustableOrRelativeDates relevantUnderlyingDate)
          Set the Relevant Underlying Date.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

americanExerciseKey

protected java.lang.Integer americanExerciseKey

commencementDate

protected transient AdjustableOrRelativeDate commencementDate

expirationDate

protected transient AdjustableOrRelativeDate expirationDate

relevantUnderlyingDate

protected transient AdjustableOrRelativeDates relevantUnderlyingDate

earliestExerciseTime

protected transient BusinessCenterTime earliestExerciseTime

latestExerciseTime

protected transient BusinessCenterTime latestExerciseTime

expirationTime

protected transient BusinessCenterTime expirationTime

multipleExercise

protected transient MultipleExercise multipleExercise

exerciseFeeSchedule

protected transient ExerciseFeeSchedule exerciseFeeSchedule

validator

protected AmericanExerciseValidator validator
Constructor Detail

AmericanExerciseBean

public AmericanExerciseBean()
Construct the Default AmericanExerciseBean.

Method Detail

getInterface

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

getAmericanExerciseKey

public java.lang.Integer getAmericanExerciseKey()
Description copied from interface: AmericanExercise
Get the American Exercise Key.

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

setAmericanExerciseKey

public void setAmericanExerciseKey(java.lang.Integer americanExerciseKey)
                            throws ValidationException
Description copied from interface: AmericanExercise
Set the American Exercise Key.

Specified by:
setAmericanExerciseKey in interface AmericanExercise
Parameters:
americanExerciseKey - The value to set.
ValidationException
See Also:
AmericanExercise.setAmericanExerciseKey( java.lang.Integer americanExerciseKey )

getCommencementDate

public AdjustableOrRelativeDate getCommencementDate()
Description copied from interface: AmericanExercise
Get the Commencement Date.

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

setCommencementDate

public void setCommencementDate(AdjustableOrRelativeDate commencementDate)
                         throws ValidationException
Description copied from interface: AmericanExercise
Set the Commencement Date.

Specified by:
setCommencementDate in interface AmericanExercise
Parameters:
commencementDate - The value to set.
ValidationException
See Also:
AmericanExercise.setCommencementDate( AdjustableOrRelativeDate commencementDate )

getExpirationDate

public AdjustableOrRelativeDate getExpirationDate()
Description copied from interface: AmericanExercise
Get the Expiration Date.

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

setExpirationDate

public void setExpirationDate(AdjustableOrRelativeDate expirationDate)
                       throws ValidationException
Description copied from interface: AmericanExercise
Set the Expiration Date.

Specified by:
setExpirationDate in interface AmericanExercise
Parameters:
expirationDate - The value to set.
ValidationException
See Also:
AmericanExercise.setExpirationDate( AdjustableOrRelativeDate expirationDate )

getRelevantUnderlyingDate

public AdjustableOrRelativeDates getRelevantUnderlyingDate()
Description copied from interface: AmericanExercise
Get the Relevant Underlying Date.

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

setRelevantUnderlyingDate

public void setRelevantUnderlyingDate(AdjustableOrRelativeDates relevantUnderlyingDate)
                               throws ValidationException
Description copied from interface: AmericanExercise
Set the Relevant Underlying Date.

Specified by:
setRelevantUnderlyingDate in interface AmericanExercise
Parameters:
relevantUnderlyingDate - The value to set.
ValidationException
See Also:
AmericanExercise.setRelevantUnderlyingDate( AdjustableOrRelativeDates relevantUnderlyingDate )

getEarliestExerciseTime

public BusinessCenterTime getEarliestExerciseTime()
Description copied from interface: AmericanExercise
Get the Earliest Exercise Time.

Specified by:
getEarliestExerciseTime in interface AmericanExercise
Returns:
BusinessCenterTime or a default value of null if it has not been set.
See Also:
AmericanExercise.getEarliestExerciseTime()

setEarliestExerciseTime

public void setEarliestExerciseTime(BusinessCenterTime earliestExerciseTime)
                             throws ValidationException
Description copied from interface: AmericanExercise
Set the Earliest Exercise Time.

Specified by:
setEarliestExerciseTime in interface AmericanExercise
Parameters:
earliestExerciseTime - The value to set.
ValidationException
See Also:
AmericanExercise.setEarliestExerciseTime( BusinessCenterTime earliestExerciseTime )

getLatestExerciseTime

public BusinessCenterTime getLatestExerciseTime()
Description copied from interface: AmericanExercise
Get the Latest Exercise Time.

Specified by:
getLatestExerciseTime in interface AmericanExercise
Returns:
BusinessCenterTime or null if it has not been set.
See Also:
AmericanExercise.getLatestExerciseTime()

setLatestExerciseTime

public void setLatestExerciseTime(BusinessCenterTime latestExerciseTime)
                           throws ValidationException
Description copied from interface: AmericanExercise
Set the Latest Exercise Time.

Specified by:
setLatestExerciseTime in interface AmericanExercise
Parameters:
latestExerciseTime - The value to set.
ValidationException
See Also:
AmericanExercise.setLatestExerciseTime( BusinessCenterTime latestExerciseTime )

getExpirationTime

public BusinessCenterTime getExpirationTime()
Description copied from interface: AmericanExercise
Get the Expiration Time.

Specified by:
getExpirationTime in interface AmericanExercise
Returns:
BusinessCenterTime or a default value of null if it has not been set.
See Also:
AmericanExercise.getExpirationTime()

setExpirationTime

public void setExpirationTime(BusinessCenterTime expirationTime)
                       throws ValidationException
Description copied from interface: AmericanExercise
Set the Expiration Time.

Specified by:
setExpirationTime in interface AmericanExercise
Parameters:
expirationTime - The value to set.
ValidationException
See Also:
AmericanExercise.setExpirationTime( BusinessCenterTime expirationTime )

getMultipleExercise

public MultipleExercise getMultipleExercise()
Description copied from interface: AmericanExercise
Get the Multiple Exercise.

Specified by:
getMultipleExercise in interface AmericanExercise
Returns:
MultipleExercise or null if it has not been set.
See Also:
AmericanExercise.getMultipleExercise()

setMultipleExercise

public void setMultipleExercise(MultipleExercise multipleExercise)
                         throws ValidationException
Description copied from interface: AmericanExercise
Set the Multiple Exercise.

Specified by:
setMultipleExercise in interface AmericanExercise
Parameters:
multipleExercise - The value to set.
ValidationException
See Also:
AmericanExercise.setMultipleExercise( MultipleExercise multipleExercise )

getExerciseFeeSchedule

public ExerciseFeeSchedule getExerciseFeeSchedule()
Description copied from interface: AmericanExercise
Get the Exercise Fee Schedule.

Specified by:
getExerciseFeeSchedule in interface AmericanExercise
Returns:
ExerciseFeeSchedule or null if it has not been set.
See Also:
AmericanExercise.getExerciseFeeSchedule()

setExerciseFeeSchedule

public void setExerciseFeeSchedule(ExerciseFeeSchedule exerciseFeeSchedule)
                            throws ValidationException
Description copied from interface: AmericanExercise
Set the Exercise Fee Schedule.

Specified by:
setExerciseFeeSchedule in interface AmericanExercise
Parameters:
exerciseFeeSchedule - The value to set.
ValidationException
See Also:
AmericanExercise.setExerciseFeeSchedule( ExerciseFeeSchedule exerciseFeeSchedule )

getAmericanExerciseValidator

protected AmericanExerciseValidator getAmericanExerciseValidator()

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 AmericanExercise