com.activequant.domainmodel
Class PersistentEntity
java.lang.Object
com.activequant.domainmodel.PersistentEntity
- Direct Known Subclasses:
- Country, Instrument, MarketDataInstrument, Portfolio, Position, Region, SecurityChain, StreamEvent, TradeableInstrument, Venue
public abstract class PersistentEntity
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentEntity
public PersistentEntity()
PersistentEntity
public PersistentEntity(String className)
clearMap
protected void clearMap()
getClassName
public String getClassName()
getCreationTime
public long getCreationTime()
getDeletionTime
public long getDeletionTime()
getId
public abstract String getId()
getSnapshotTime
public long getSnapshotTime()
- Returns:
- when this value was stored, in ordinary milliseconds.
convertValueToType
public Object convertValueToType(Class<?> targetType,
Object input)
- very underdeveloped converter.
- Parameters:
targetType - input -
- Returns:
initFromMap
public void initFromMap(Map<String,Object> inMap)
- Parameters:
inMap - the incoming map will be cloned.
nullSafe
public String nullSafe(Object val)
propertyMap
public Map<String,Object> propertyMap()
- Returns:
- a clone of the property map.
setClassName
public void setClassName(String className)
setCreationTime
public void setCreationTime(long creationTime)
setDeletionTime
public void setDeletionTime(long deletionTime)
setSnapshotTime
public void setSnapshotTime(long snapshotTime)
Copyright © 2012 ActiveQuant GmbH. All Rights Reserved.