com.activequant.domainmodel
Class Instrument

java.lang.Object
  extended by com.activequant.domainmodel.PersistentEntity
      extended by com.activequant.domainmodel.Instrument
Direct Known Subclasses:
FX, InstrumentChain, ListedInstrument

public abstract class Instrument
extends PersistentEntity


Constructor Summary
Instrument()
           
Instrument(String className)
           
 
Method Summary
 String getDescription()
           
abstract  String getId()
           
 String getName()
          Name contains the generic name of an instrument.
 String getShortName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setShortName(String instrument)
           
 String toString()
           
 
Methods inherited from class com.activequant.domainmodel.PersistentEntity
clearMap, convertValueToType, getClassName, getCreationTime, getDeletionTime, getSnapshotTime, initFromMap, nullSafe, propertyMap, setClassName, setCreationTime, setDeletionTime, setSnapshotTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instrument

public Instrument()

Instrument

public Instrument(String className)
Method Detail

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.