Class symantec.itools.db.beans.brl.adapter.CalculationAdapter
All Packages Class Hierarchy This Package Previous Next Index
Class symantec.itools.db.beans.brl.adapter.CalculationAdapter
Object
|
+----ComputedColAdapter
|
+----symantec.itools.db.beans.brl.adapter.CalculationAdapter
- public class CalculationAdapter
- extends ComputedColAdapter
- implements Serializable
Class which glues derivation business rule implementation classes with
QueryNavigator, RecordDefinition and database events.
- Version:
- 1.0 07/24/98
- Author:
- Puru Balakrishnan
-
CALCULATION_TITLE
-
-
outputDataType
-
-
symantec.itools.db.beans.brl.adapter.CalculationAdapter()
- Default Constructor
-
calculate()
-
Method to force the calculation by the adapter.
-
delegateComputation()
-
-
getDerivationRow()
-
-
getOutputDataType()
- get the desired output data type
-
getOutputNameNotAvailMsg()
-
-
processAfterColumnChangeEvent(ColumnDataEvent)
-
-
processAfterRecordNavigateEvent(RecordNavigateEvent)
-
-
processAfterRecordSaveEvent(RecordSaveEvent)
-
-
processBeforeColumnChangeEvent(ColumnDataEvent)
-
-
processBeforeRecordNavigateEvent(RecordNavigateEvent)
-
-
processBeforeRecordSaveEvent(RecordSaveEvent)
-
-
processBorderRecordEvent(RecordNavigateEvent)
-
-
setAggregateComputedValue(Object)
-
-
setOutputDataType(int)
- set the desired output data type
-
setType(int)
- Method to set the type of computed column
CALCULATION_TITLE
public static java.lang.String CALCULATION_TITLE
outputDataType
protected int outputDataType
CalculationAdapter
public CalculationAdapter()
- Default Constructor
calculate
public synchronized void calculate()
-
Method to force the calculation by the adapter.
Note: This method is useful if the calculation formula does
not have any inputs. If it has inputs, it is best to leave
it to the adapter to determine when to fire the rule.
delegateComputation
protected void delegateComputation()
- Overrides:
- delegateComputation in class ComputedColAdapter
getDerivationRow
protected symantec.itools.db.beans.brl.DerivationRow getDerivationRow()
getOutputDataType
public int getOutputDataType()
- get the desired output data type
- Returns:
- the output data type
getOutputNameNotAvailMsg
protected java.lang.String getOutputNameNotAvailMsg()
- Overrides:
- getOutputNameNotAvailMsg in class ComputedColAdapter
processAfterColumnChangeEvent
protected void processAfterColumnChangeEvent(ColumnDataEvent e)
- Overrides:
- processAfterColumnChangeEvent in class ComputedColAdapter
processAfterRecordNavigateEvent
protected void processAfterRecordNavigateEvent(RecordNavigateEvent e)
- Overrides:
- processAfterRecordNavigateEvent in class ComputedColAdapter
processAfterRecordSaveEvent
protected void processAfterRecordSaveEvent(RecordSaveEvent e)
- Overrides:
- processAfterRecordSaveEvent in class ComputedColAdapter
processBeforeColumnChangeEvent
protected void processBeforeColumnChangeEvent(ColumnDataEvent e)
- Overrides:
- processBeforeColumnChangeEvent in class ComputedColAdapter
processBeforeRecordNavigateEvent
protected void processBeforeRecordNavigateEvent(RecordNavigateEvent e)
- Overrides:
- processBeforeRecordNavigateEvent in class ComputedColAdapter
processBeforeRecordSaveEvent
protected void processBeforeRecordSaveEvent(RecordSaveEvent e)
- Overrides:
- processBeforeRecordSaveEvent in class ComputedColAdapter
processBorderRecordEvent
protected void processBorderRecordEvent(RecordNavigateEvent e)
- Overrides:
- processBorderRecordEvent in class ComputedColAdapter
setAggregateComputedValue
protected void setAggregateComputedValue(Object val)
setOutputDataType
public void setOutputDataType(int type)
- set the desired output data type
- Parameters:
- type - the new output data type
setType
public void setType(int type)
- Method to set the type of computed column
- Parameters:
- int - - type of computed column
All Packages Class Hierarchy This Package Previous Next Index