com.activequant.domainmodel
Class Instrument
java.lang.Object
com.activequant.domainmodel.PersistentEntity
com.activequant.domainmodel.Instrument
- Direct Known Subclasses:
- FX, InstrumentChain, ListedInstrument
public abstract class Instrument
- extends PersistentEntity
| Methods inherited from class com.activequant.domainmodel.PersistentEntity |
clearMap, convertValueToType, getClassName, getCreationTime, getDeletionTime, getSnapshotTime, initFromMap, nullSafe, propertyMap, setClassName, setCreationTime, setDeletionTime, setSnapshotTime |
Instrument
public Instrument()
Instrument
public Instrument(String className)
getDescription
public String getDescription()
getId
public abstract String getId()
- Specified by:
getId in class PersistentEntity
getShortName
public String getShortName()
getName
public String getName()
- Name contains the generic name of an instrument. In case of futures, the
combination of name, exchange and underlying is ment to be used to match
futures together/to group them as belonging to the same underlying.
- Returns:
setDescription
public void setDescription(String description)
setShortName
public void setShortName(String instrument)
setName
public void setName(String name)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.