net.sourceforge.agora.simulator.model
Class SecurityUnderlying

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

public class SecurityUnderlying
extends java.lang.Object

The Class SecurityUnderlying.


Constructor Summary
SecurityUnderlying()
           
 
Method Summary
 java.lang.Double getAllocationPercent()
          Gets the allocation percent.
 java.lang.Double getCashAmount()
          Gets the cash amount.
 java.lang.String getCashType()
          Gets the cash type.
 java.lang.Double getEndPrice()
          Gets the end price.
 java.lang.Double getEndValue()
          Gets the end value.
 SecurityDetails getSecurity()
          Gets the security.
 java.lang.Integer getSettlementType()
          Gets the settlement type.
 java.lang.Double getStartValue()
          Gets the start value.
 Security getUnderlyingSecurity()
          Gets the underlying security.
 void setAllocationPercent(java.lang.Double allocationPercent)
          Sets the allocation percent.
 void setCashAmount(java.lang.Double cashAmount)
          Sets the cash amount.
 void setCashType(java.lang.String cashType)
          Sets the cash type.
 void setEndPrice(java.lang.Double endPrice)
          Sets the end price.
 void setEndValue(java.lang.Double endValue)
          Sets the end value.
 void setSecurity(SecurityDetails security)
          Sets the security.
 void setSettlementType(java.lang.Integer settlementType)
          Sets the settlement type.
 void setStartValue(java.lang.Double startValue)
          Sets the start value.
 void setUnderlyingSecurity(Security underlyingSecurity)
          Sets the underlying security.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityUnderlying

public SecurityUnderlying()
Method Detail

getSecurity

public SecurityDetails getSecurity()
Gets the security.

Returns:
the security

setSecurity

public void setSecurity(SecurityDetails security)
Sets the security.

Parameters:
security - the new security

getUnderlyingSecurity

public Security getUnderlyingSecurity()
Gets the underlying security.

Returns:
the underlying security

setUnderlyingSecurity

public void setUnderlyingSecurity(Security underlyingSecurity)
Sets the underlying security.

Parameters:
underlyingSecurity - the new underlying security

getEndPrice

public java.lang.Double getEndPrice()
Gets the end price.

Returns:
the end price

setEndPrice

public void setEndPrice(java.lang.Double endPrice)
Sets the end price.

Parameters:
endPrice - the new end price

getStartValue

public java.lang.Double getStartValue()
Gets the start value.

Returns:
the start value

setStartValue

public void setStartValue(java.lang.Double startValue)
Sets the start value.

Parameters:
startValue - the new start value

getEndValue

public java.lang.Double getEndValue()
Gets the end value.

Returns:
the end value

setEndValue

public void setEndValue(java.lang.Double endValue)
Sets the end value.

Parameters:
endValue - the new end value

getAllocationPercent

public java.lang.Double getAllocationPercent()
Gets the allocation percent.

Returns:
the allocation percent

setAllocationPercent

public void setAllocationPercent(java.lang.Double allocationPercent)
Sets the allocation percent.

Parameters:
allocationPercent - the new allocation percent

getSettlementType

public java.lang.Integer getSettlementType()
Gets the settlement type.

Returns:
the settlement type

setSettlementType

public void setSettlementType(java.lang.Integer settlementType)
Sets the settlement type.

Parameters:
settlementType - the new settlement type

getCashAmount

public java.lang.Double getCashAmount()
Gets the cash amount.

Returns:
the cash amount

setCashAmount

public void setCashAmount(java.lang.Double cashAmount)
Sets the cash amount.

Parameters:
cashAmount - the new cash amount

getCashType

public java.lang.String getCashType()
Gets the cash type.

Returns:
the cash type

setCashType

public void setCashType(java.lang.String cashType)
Sets the cash type.

Parameters:
cashType - the new cash type