net.sourceforge.agora.simulator.model
Class SecurityLeg

java.lang.Object
  extended by net.sourceforge.agora.simulator.model.SecurityLeg

public class SecurityLeg
extends java.lang.Object

The Class SecurityLeg.


Constructor Summary
SecurityLeg()
           
 
Method Summary
 Security getLegSecurity()
          Gets the leg security.
 java.lang.Double getOptionRatio()
          Gets the option ratio.
 java.lang.Double getRatioQuantity()
          Gets the ratio quantity.
 SecurityDetails getSecurity()
          Gets the security.
 java.lang.String getSide()
          Gets the side.
 void setLegSecurity(Security legSecurity)
          Sets the leg security.
 void setOptionRatio(java.lang.Double optionRatio)
          Sets the option ratio.
 void setRatioQuantity(java.lang.Double ratioQuantity)
          Sets the ratio quantity.
 void setSecurity(SecurityDetails security)
          Sets the security.
 void setSide(java.lang.String side)
          Sets the side.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityLeg

public SecurityLeg()
Method Detail

getOptionRatio

public java.lang.Double getOptionRatio()
Gets the option ratio.

Returns:
the option ratio

setOptionRatio

public void setOptionRatio(java.lang.Double optionRatio)
Sets the option ratio.

Parameters:
optionRatio - the new option ratio

getSecurity

public SecurityDetails getSecurity()
Gets the security.

Returns:
the security

setSecurity

public void setSecurity(SecurityDetails security)
Sets the security.

Parameters:
security - the new security

getLegSecurity

public Security getLegSecurity()
Gets the leg security.

Returns:
the leg security

setLegSecurity

public void setLegSecurity(Security legSecurity)
Sets the leg security.

Parameters:
legSecurity - the new leg security

getRatioQuantity

public java.lang.Double getRatioQuantity()
Gets the ratio quantity.

Returns:
the ratio quantity

setRatioQuantity

public void setRatioQuantity(java.lang.Double ratioQuantity)
Sets the ratio quantity.

Parameters:
ratioQuantity - the new ratio quantity

getSide

public java.lang.String getSide()
Gets the side.

Returns:
the side

setSide

public void setSide(java.lang.String side)
Sets the side.

Parameters:
side - the new side