net.sourceforge.fixagora.basis.shared.model.persistence
Class SecurityLeg

java.lang.Object
  extended by net.sourceforge.fixagora.basis.shared.model.persistence.SecurityLeg
All Implemented Interfaces:
java.io.Serializable

@Entity
public class SecurityLeg
extends java.lang.Object
implements java.io.Serializable

The Class SecurityLeg.

See Also:
Serialized Form

Constructor Summary
SecurityLeg()
           
 
Method Summary
 long getId()
          Gets the id.
 FSecurity 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 makeEager()
          Make eager.
 void setId(long id)
          Sets the id.
 void setLegSecurity(FSecurity 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

getId

public long getId()
Gets the id.

Returns:
the id

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id

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 FSecurity getLegSecurity()
Gets the leg security.

Returns:
the leg security

setLegSecurity

public void setLegSecurity(FSecurity 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

makeEager

public void makeEager()
Make eager.