public class SecurityFamilyVO extends PropertyHolderVO implements SecurityFamilyI
Securities
(e.g. All Options of the SP500)Modifier and Type | Class and Description |
---|---|
static class |
SecurityFamilyVO.VOConverter
Converts instances of value object type
SecurityFamilyVO to corresponding entity type SecurityFamily . |
Constructor and Description |
---|
SecurityFamilyVO(long id,
java.lang.String name,
java.math.BigDecimal priceIncr) |
SecurityFamilyVO(long id,
java.lang.String name,
java.lang.String symbolRoot,
java.lang.String isinRoot,
java.lang.String ricRoot,
java.lang.String currency,
double contractSize,
java.math.BigDecimal priceIncr,
SecurityFamilyType familyType,
long underlyingId,
long exchangeId) |
Modifier and Type | Method and Description |
---|---|
SecurityFamily |
convertVOToEntity(GenericDao genericDao)
converts a value object to its corresponding entity
|
boolean |
equals(java.lang.Object o) |
double |
getContractSize()
The contractSize of the Securities of this SecurityFamily (e.g.
|
java.lang.String |
getCurrency()
The currency of the Securities of this SecurityFamily
|
long |
getExchangeId()
Exchange where securities are traded
|
SecurityFamilyType |
getFamilyType()
Type of SecurityFamily
|
long |
getId() |
java.lang.String |
getIsinRoot()
The common part of the ISIN (e.g.
|
java.lang.String |
getName()
The name of this SecurityFamily
|
java.lang.String |
getObjectType() |
java.math.BigDecimal |
getPriceIncr()
Step size for price.
|
int |
getPriceScale()
The number of digits that prices of Securities of this SecurityFamily are quoted in.
|
java.lang.String |
getRicRoot()
The common part of RIC (e.g.
|
java.lang.String |
getSymbolRoot()
The common part of Symbol (e.g.
|
long |
getUnderlyingId()
The base class of all Securities in the system
|
int |
hashCode() |
java.lang.String |
toString() |
public SecurityFamilyVO(long id, java.lang.String name, java.math.BigDecimal priceIncr)
public SecurityFamilyVO(long id, java.lang.String name, java.lang.String symbolRoot, java.lang.String isinRoot, java.lang.String ricRoot, java.lang.String currency, double contractSize, java.math.BigDecimal priceIncr, SecurityFamilyType familyType, long underlyingId, long exchangeId)
public java.lang.String getObjectType()
getObjectType
in class PropertyHolderVO
public long getId()
getId
in interface BaseValueObjectI
getId
in interface PropertyHolderI
getId
in interface SecurityFamilyI
public java.lang.String getName()
getName
in interface SecurityFamilyI
public java.lang.String getSymbolRoot()
getSymbolRoot
in interface SecurityFamilyI
public java.lang.String getIsinRoot()
baseSymbol
is taken.getIsinRoot
in interface SecurityFamilyI
public java.lang.String getRicRoot()
baseSymbol
is taken.getRicRoot
in interface SecurityFamilyI
public java.lang.String getCurrency()
getCurrency
in interface SecurityFamilyI
public double getContractSize()
getContractSize
in interface SecurityFamilyI
public java.math.BigDecimal getPriceIncr()
getPriceIncr
in interface SecurityFamilyI
public SecurityFamilyType getFamilyType()
getFamilyType
in interface SecurityFamilyI
public long getUnderlyingId()
public long getExchangeId()
public java.lang.String toString()
toString
in interface BaseValueObjectI
toString
in class PropertyHolderVO
public int getPriceScale()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SecurityFamily convertVOToEntity(GenericDao genericDao)