|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.Instrument
com.fxcm.fix.TradingSecurity
com.fxcm.fix.entity.TradingSecurity
public class TradingSecurity
| Field Summary | |
|---|---|
static String |
INSTRDB_FINDALL
Database action : find all instruments |
static String |
INSTRDB_LOAD
Database action : retrieve one instrument by ID |
| Fields inherited from class com.fxcm.fix.Instrument |
|---|
OBJ_TYPE |
| Constructor Summary | |
|---|---|
TradingSecurity()
|
|
TradingSecurity(String aSymbol,
int aFXCMSymID,
int aFXCMSymPrecision,
double aFXCMSymPointSize,
int aFXCMSymSortOrder,
String aCurrency,
double aRoundLot)
|
|
TradingSecurity(String aSymbol,
int aFXCMSymID,
int aFXCMSymPrecision,
String aCurrency,
double aRoundLot)
|
|
| Method Summary | |
|---|---|
Date |
getCreationTime()
Returns the creation time of an entity. |
String |
getDesc()
Returns the description of the entity. |
Date |
getModificationTime()
Returns the time of last modification of the entity. |
String |
getName()
Returns the name of the entity. |
com.fxcm.entity.IPK |
getPK()
Returns the primary key for this entity. |
com.fxcm.entity.IStatus |
getStatus()
Returns the status of the entity. |
boolean |
isDeleted()
Determines whether entity is deleted. |
boolean |
isNew()
Determines whether entity is new. |
long |
lastTouch()
Return the time when the entity was last updated from db |
void |
setCreationTime(Date aTime)
Sets the creation time of an entity. |
void |
setDeleted()
Sets up entity as deleted. |
void |
setDesc(String aDesc)
Sets the description of the entity. |
void |
setFXCMSymID(int aFXCMSymID)
Updates FXCM ID of currency offer. |
void |
setModificationTime(Date aTime)
Sets the time of last modification of the entity. |
void |
setName(String aName)
Sets the name of the entity. |
void |
setNew()
Sets up entity is new. |
void |
setPK(com.fxcm.entity.IPK aPk)
Sets the primary key of the entity. |
void |
setStatus(com.fxcm.entity.IStatus aStatus)
Sets the status of the entity. |
void |
touch()
Sets the time when the entity was last updated from db. |
| Methods inherited from class com.fxcm.fix.TradingSecurity |
|---|
fill, getCurrency, getFXCMSubscriptionStatus, getFXCMSymInterestBuy, getFXCMSymInterestSell, getRoundLot, setCurrency, setFXCMSubscriptionStatus, setFXCMSymInterestBuy, setFXCMSymInterestSell, setRoundLot, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.fxcm.entity.IEntity |
|---|
getType, isValid, printState |
| Field Detail |
|---|
public static final String INSTRDB_FINDALL
public static final String INSTRDB_LOAD
| Constructor Detail |
|---|
public TradingSecurity()
public TradingSecurity(String aSymbol,
int aFXCMSymID,
int aFXCMSymPrecision,
String aCurrency,
double aRoundLot)
public TradingSecurity(String aSymbol,
int aFXCMSymID,
int aFXCMSymPrecision,
double aFXCMSymPointSize,
int aFXCMSymSortOrder,
String aCurrency,
double aRoundLot)
| Method Detail |
|---|
public String getDesc()
getDesc in interface com.fxcm.entity.IEntitypublic Date getCreationTime()
getCreationTime in interface com.fxcm.entity.IEntitynull always.public Date getModificationTime()
getModificationTime in interface com.fxcm.entity.IEntitynull always.public String getName()
getName in interface com.fxcm.entity.IEntitypublic com.fxcm.entity.IPK getPK()
getPK in interface com.fxcm.entity.IEntitypublic com.fxcm.entity.IStatus getStatus()
getStatus in interface com.fxcm.entity.IEntitynull always.public boolean isDeleted()
isDeleted in interface com.fxcm.entity.IEntityfalse alwaispublic boolean isNew()
isNew in interface com.fxcm.entity.IEntityfalse alwaispublic long lastTouch()
lastTouch in interface com.fxcm.entity.IEntitypublic void setCreationTime(Date aTime)
setCreationTime in interface com.fxcm.entity.IEntityaTime - Creation time.public void setDeleted()
setDeleted in interface com.fxcm.entity.IEntitypublic void setDesc(String aDesc)
setDesc in interface com.fxcm.entity.IEntityaDesc - Description of the entity.public void setModificationTime(Date aTime)
setModificationTime in interface com.fxcm.entity.IEntityaTime - timestamp of last modificationpublic void setName(String aName)
setName in interface com.fxcm.entity.IEntityaName - Name of the entity.public void setNew()
setNew in interface com.fxcm.entity.IEntitypublic void setPK(com.fxcm.entity.IPK aPk)
setPK in interface com.fxcm.entity.IEntityaPk - Entity primary key.
public void setStatus(com.fxcm.entity.IStatus aStatus)
throws com.fxcm.GenericException
setStatus in interface com.fxcm.entity.IEntityaStatus - Entity status.
com.fxcm.GenericException - when illegal state transition happenpublic void touch()
touch in interface com.fxcm.entity.IEntitypublic void setFXCMSymID(int aFXCMSymID)
Instrument
setFXCMSymID in class InstrumentaFXCMSymID - Offer ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||