com.monad.homerun.model
Class ModelCore

java.lang.Object
  extended by com.monad.homerun.model.ModelCore
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NumericModelCore, ScalarModelCore, SetModelCore, StateModelCore

public abstract class ModelCore
extends java.lang.Object
implements java.io.Serializable

ModelCore is an abstract base class whose subclasses describe the volatile/persistable portion of a model runtime.

See Also:
Serialized Form

Constructor Summary
ModelCore()
           
ModelCore(java.lang.String key)
           
 
Method Summary
 long getGenTime()
          Returns a timestamp for the time when the core was generated.
 java.lang.String getStorageKey()
          Returns the storage key for core
 void setStorageKey(java.lang.String key)
          Assigns the storage key for core
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelCore

public ModelCore()

ModelCore

public ModelCore(java.lang.String key)
Method Detail

getGenTime

public long getGenTime()
Returns a timestamp for the time when the core was generated.

Returns:
millisecond generation timestamp

getStorageKey

public java.lang.String getStorageKey()
Returns the storage key for core

Returns:
key the storage key - typically domain.object.model

setStorageKey

public void setStorageKey(java.lang.String key)
Assigns the storage key for core

Parameters:
key - the storage key - typically domain.object.model


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.