com.javelin.fpml.shared
Class CalculationAgentBean

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

public class CalculationAgentBean
extends AbstractBean
implements CalculationAgent

CalculationAgentBean.java

null

Author:
Javelin Software
See Also:
CalculationAgent, Serialized Form

Field Summary
protected  java.util.Vector calculationAgentCalculationAgentPartyReferences
           
protected  java.lang.Integer calculationAgentKey
           
protected  CalculationAgentParty calculationAgentParty
           
protected  Trade trade
           
protected  CalculationAgentValidator validator
           
 
Constructor Summary
CalculationAgentBean()
          Construct the Default CalculationAgentBean.
 
Method Summary
 void addCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
          Add the CalculationAgentCalculationAgentPartyReference dependent on this table.
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 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.
protected  CalculationAgentValidator getCalculationAgentValidator()
           
 java.lang.Class getInterface()
           
 Trade getTradeCalculationAgent()
          Get the TradeCalculationAgent dependent on this table.
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void removeCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
          Remove the CalculationAgentCalculationAgentPartyReference dependent on this table.
 void removeCalculationAgentCalculationAgentPartyReferences()
          Remove all the CalculationAgentCalculationAgentPartyReferences
 void setCalculationAgentCalculationAgentPartyReferences(java.util.Iterator calculationAgentCalculationAgentPartyReferences)
          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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

calculationAgentKey

protected java.lang.Integer calculationAgentKey

calculationAgentParty

protected transient CalculationAgentParty calculationAgentParty

calculationAgentCalculationAgentPartyReferences

protected transient java.util.Vector calculationAgentCalculationAgentPartyReferences

trade

protected Trade trade

validator

protected CalculationAgentValidator validator
Constructor Detail

CalculationAgentBean

public CalculationAgentBean()
Construct the Default CalculationAgentBean.

Method Detail

getInterface

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

getTradeCalculationAgent

public Trade getTradeCalculationAgent()
                               throws ValidationException
Description copied from interface: CalculationAgent
Get the TradeCalculationAgent dependent on this table.

Specified by:
getTradeCalculationAgent in interface CalculationAgent
Returns:
Trade.
ValidationException
See Also:
com.javelin.fpml.shared.getTradeCalculationAgent()

setTradeCalculationAgent

public void setTradeCalculationAgent(Trade trade)
                              throws ValidationException
Description copied from interface: CalculationAgent
Set the TradeCalculationAgent dependent on this table.

Specified by:
setTradeCalculationAgent in interface CalculationAgent
ValidationException
See Also:
com.javelin.fpml.shared.setTradeCalculationAgent()

getCalculationAgentCalculationAgentPartyReferences

public java.util.Iterator getCalculationAgentCalculationAgentPartyReferences()
                                                                      throws ValidationException
Description copied from interface: CalculationAgent
Get the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.

Specified by:
getCalculationAgentCalculationAgentPartyReferences in interface CalculationAgent
Returns:
Iterator A list of CalculationAgentCalculationAgentPartyReferences.
ValidationException
See Also:
com.javelin.fpml.shared.getCalculationAgentCalculationAgentPartyReferences()

setCalculationAgentCalculationAgentPartyReferences

public void setCalculationAgentCalculationAgentPartyReferences(java.util.Iterator calculationAgentCalculationAgentPartyReferences)
                                                        throws ValidationException
Description copied from interface: CalculationAgent
Set the Set of CalculationAgentCalculationAgentPartyReferences dependent on this table.

Specified by:
setCalculationAgentCalculationAgentPartyReferences in interface CalculationAgent
Parameters:
calculationAgentCalculationAgentPartyReferences - A list of CalculationAgentCalculationAgentPartyReferences.
ValidationException
See Also:
com.javelin.fpml.shared.setCalculationAgentCalculationAgentPartyReferences()

addCalculationAgentCalculationAgentPartyReference

public void addCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
                                                       throws ValidationException
Description copied from interface: CalculationAgent
Add the CalculationAgentCalculationAgentPartyReference dependent on this table.

Specified by:
addCalculationAgentCalculationAgentPartyReference in interface CalculationAgent
ValidationException
See Also:
CalculationAgent.addCalculationAgentCalculationAgentPartyReference( com.javelin.fpml.shared.CalculationAgentCalculationAgentPartyReference )

removeCalculationAgentCalculationAgentPartyReference

public void removeCalculationAgentCalculationAgentPartyReference(CalculationAgentCalculationAgentPartyReference calculationAgentCalculationAgentPartyReference)
                                                          throws ValidationException
Description copied from interface: CalculationAgent
Remove the CalculationAgentCalculationAgentPartyReference dependent on this table.

Specified by:
removeCalculationAgentCalculationAgentPartyReference in interface CalculationAgent
ValidationException
See Also:
CalculationAgent.removeCalculationAgentCalculationAgentPartyReference( com.javelin.fpml.shared.CalculationAgentCalculationAgentPartyReference )

removeCalculationAgentCalculationAgentPartyReferences

public void removeCalculationAgentCalculationAgentPartyReferences()
                                                           throws ValidationException
Description copied from interface: CalculationAgent
Remove all the CalculationAgentCalculationAgentPartyReferences

Specified by:
removeCalculationAgentCalculationAgentPartyReferences in interface CalculationAgent
ValidationException
See Also:
CalculationAgent.removeCalculationAgentCalculationAgentPartyReferences()

getCalculationAgentKey

public java.lang.Integer getCalculationAgentKey()
Description copied from interface: CalculationAgent
Get the Calculation Agent Key.

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

setCalculationAgentKey

public void setCalculationAgentKey(java.lang.Integer calculationAgentKey)
                            throws ValidationException
Description copied from interface: CalculationAgent
Set the Calculation Agent Key.

Specified by:
setCalculationAgentKey in interface CalculationAgent
Parameters:
calculationAgentKey - The value to set.
ValidationException
See Also:
CalculationAgent.setCalculationAgentKey( java.lang.Integer calculationAgentKey )

getCalculationAgentParty

public CalculationAgentParty getCalculationAgentParty()
Description copied from interface: CalculationAgent
Get the Calculation Agent Party.

Specified by:
getCalculationAgentParty in interface CalculationAgent
Returns:
CalculationAgentParty or a default value of null if it has not been set.
See Also:
CalculationAgent.getCalculationAgentParty()

setCalculationAgentParty

public void setCalculationAgentParty(CalculationAgentParty calculationAgentParty)
                              throws ValidationException
Description copied from interface: CalculationAgent
Set the Calculation Agent Party.

Specified by:
setCalculationAgentParty in interface CalculationAgent
Parameters:
calculationAgentParty - The value to set.
ValidationException
See Also:
CalculationAgent.setCalculationAgentParty( CalculationAgentParty calculationAgentParty )

getCalculationAgentValidator

protected CalculationAgentValidator getCalculationAgentValidator()

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 CalculationAgent