com.javelin.fpml.shared
Class AutomaticExerciseBean

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

public class AutomaticExerciseBean
extends AbstractBean
implements AutomaticExercise

AutomaticExerciseBean.java

null

Author:
Javelin Software
See Also:
AutomaticExercise, Serialized Form

Field Summary
protected  java.lang.Integer automaticExerciseKey
           
protected  ExerciseProcedure exerciseProcedure
           
protected  java.math.BigDecimal thresholdRate
           
protected  AutomaticExerciseValidator validator
           
 
Constructor Summary
AutomaticExerciseBean()
          Construct the Default AutomaticExerciseBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAutomaticExerciseKey()
          Get the Automatic Exercise Key.
protected  AutomaticExerciseValidator getAutomaticExerciseValidator()
           
 ExerciseProcedure getExerciseProcedureAutomaticExercise()
          Get the ExerciseProcedureAutomaticExercise dependent on this table.
 java.lang.Class getInterface()
           
 java.math.BigDecimal getThresholdRate()
          Get the Threshold Rate.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAutomaticExerciseKey(java.lang.Integer automaticExerciseKey)
          Set the Automatic Exercise Key.
 void setExerciseProcedureAutomaticExercise(ExerciseProcedure exerciseProcedure)
          Set the ExerciseProcedureAutomaticExercise dependent on this table.
 void setThresholdRate(java.math.BigDecimal thresholdRate)
          Set the Threshold Rate.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

automaticExerciseKey

protected java.lang.Integer automaticExerciseKey

thresholdRate

protected java.math.BigDecimal thresholdRate

exerciseProcedure

protected ExerciseProcedure exerciseProcedure

validator

protected AutomaticExerciseValidator validator
Constructor Detail

AutomaticExerciseBean

public AutomaticExerciseBean()
Construct the Default AutomaticExerciseBean.

Method Detail

getInterface

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

getExerciseProcedureAutomaticExercise

public ExerciseProcedure getExerciseProcedureAutomaticExercise()
                                                        throws ValidationException
Description copied from interface: AutomaticExercise
Get the ExerciseProcedureAutomaticExercise dependent on this table.

Specified by:
getExerciseProcedureAutomaticExercise in interface AutomaticExercise
Returns:
ExerciseProcedure.
ValidationException
See Also:
com.javelin.fpml.shared.getExerciseProcedureAutomaticExercise()

setExerciseProcedureAutomaticExercise

public void setExerciseProcedureAutomaticExercise(ExerciseProcedure exerciseProcedure)
                                           throws ValidationException
Description copied from interface: AutomaticExercise
Set the ExerciseProcedureAutomaticExercise dependent on this table.

Specified by:
setExerciseProcedureAutomaticExercise in interface AutomaticExercise
ValidationException
See Also:
com.javelin.fpml.shared.setExerciseProcedureAutomaticExercise()

getAutomaticExerciseKey

public java.lang.Integer getAutomaticExerciseKey()
Description copied from interface: AutomaticExercise
Get the Automatic Exercise Key.

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

setAutomaticExerciseKey

public void setAutomaticExerciseKey(java.lang.Integer automaticExerciseKey)
                             throws ValidationException
Description copied from interface: AutomaticExercise
Set the Automatic Exercise Key.

Specified by:
setAutomaticExerciseKey in interface AutomaticExercise
Parameters:
automaticExerciseKey - The value to set.
ValidationException
See Also:
AutomaticExercise.setAutomaticExerciseKey( java.lang.Integer automaticExerciseKey )

getThresholdRate

public java.math.BigDecimal getThresholdRate()
Description copied from interface: AutomaticExercise
Get the Threshold Rate.

Specified by:
getThresholdRate in interface AutomaticExercise
Returns:
BigDecimal or a default value of null if it has not been set.
See Also:
AutomaticExercise.getThresholdRate()

setThresholdRate

public void setThresholdRate(java.math.BigDecimal thresholdRate)
                      throws ValidationException
Description copied from interface: AutomaticExercise
Set the Threshold Rate.

Specified by:
setThresholdRate in interface AutomaticExercise
Parameters:
thresholdRate - The value to set.
ValidationException
See Also:
AutomaticExercise.setThresholdRate( java.math.BigDecimal thresholdRate )

getAutomaticExerciseValidator

protected AutomaticExerciseValidator getAutomaticExerciseValidator()

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 AutomaticExercise