com.javelin.fpml.shared
Interface CalculationAgent

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

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

CalculationAgent.java

null

Author:
Javelin Software
See Also:
CalculationAgentHome, CalculationAgentSession, CalculationAgentValidator, CalculationAgentBean, com.javelin.fpml.shared.lazy.LazyCalculationAgentBean

Method Summary
 void addCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
          Add the CalculationAgentCalculationAgentPartyReference dependent on this table.
 java.lang.Object clone()
          Clone bean without throwing an Exception.
 java.util.Iterator getCalculationAgentCalculationAgentPartyReferences()
          Get the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.
 java.lang.Integer getCalculationAgentKey()
          Get the Calculation Agent Key.
 CalculationAgentParty getCalculationAgentParty()
          Get the Calculation Agent Party.
 Trade getTradeCalculationAgent()
          Get the TradeCalculationAgent dependent on this table.
 void removeCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
          Remove the CalculationAgentCalculationAgentPartyReference dependent on this table.
 void removeCalculationAgentCalculationAgentPartyReferences()
          Remove all the CalculationAgentCalculationAgentPartyReferences
 void setCalculationAgentCalculationAgentPartyReferences(java.util.Iterator calculationAgentCalculationAgentPartyReference)
          Set the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.
 void setCalculationAgentKey(java.lang.Integer calculationAgentKey)
          Set the Calculation Agent Key.
 void setCalculationAgentParty(CalculationAgentParty calculationAgentParty)
          Set the Calculation Agent Party.
 void setTradeCalculationAgent(Trade trade)
          Set the TradeCalculationAgent dependent on this table.
 

Method Detail

getCalculationAgentKey

public java.lang.Integer getCalculationAgentKey()
Get the Calculation Agent Key.

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

setCalculationAgentKey

public void setCalculationAgentKey(java.lang.Integer calculationAgentKey)
                            throws ValidationException
Set the Calculation Agent Key.

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

getCalculationAgentParty

public CalculationAgentParty getCalculationAgentParty()
Get the Calculation Agent Party.

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

setCalculationAgentParty

public void setCalculationAgentParty(CalculationAgentParty calculationAgentParty)
                              throws ValidationException
Set the Calculation Agent Party.

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

getTradeCalculationAgent

public Trade getTradeCalculationAgent()
                               throws ValidationException
Get the TradeCalculationAgent dependent on this table.

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

setTradeCalculationAgent

public void setTradeCalculationAgent(Trade trade)
                              throws ValidationException
Set the TradeCalculationAgent dependent on this table.

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

getCalculationAgentCalculationAgentPartyReferences

public java.util.Iterator getCalculationAgentCalculationAgentPartyReferences()
                                                                      throws ValidationException
Get the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.

Returns:
Iterator A list of CalculationAgentCalculationAgentPartyReferences.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationAgent

setCalculationAgentCalculationAgentPartyReferences

public void setCalculationAgentCalculationAgentPartyReferences(java.util.Iterator calculationAgentCalculationAgentPartyReference)
                                                        throws ValidationException
Set the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.

Parameters:
calculationAgentCalculationAgentPartyReference - A list of CalculationAgentCalculationAgentPartyReferences.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
CalculationAgent

addCalculationAgentCalculationAgentPartyReference

public void addCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
                                                       throws ValidationException
Add the CalculationAgentCalculationAgentPartyReference dependent on this table.

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

removeCalculationAgentCalculationAgentPartyReference

public void removeCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
                                                          throws ValidationException
Remove the CalculationAgentCalculationAgentPartyReference dependent on this table.

Throws:
ValidationException - If there was a problem removing the value.
See Also:
CalculationAgent

removeCalculationAgentCalculationAgentPartyReferences

public void removeCalculationAgentCalculationAgentPartyReferences()
                                                           throws ValidationException
Remove all the CalculationAgentCalculationAgentPartyReferences

ValidationException

clone

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

Overrides:
clone in class java.lang.Object