Package jadex.kernelbase
Class CacheableKernelModel
- java.lang.Object
- 
- jadex.kernelbase.CacheableKernelModel
 
- 
- All Implemented Interfaces:
- ICacheableModel
 - Direct Known Subclasses:
- MicroModel
 
 public class CacheableKernelModel extends java.lang.Object implements ICacheableModel Base class for cacheable kernel model.
- 
- 
Field SummaryFields Modifier and Type Field Description protected longlastcheckedThe last check date.protected longlastmodifiedThe last modified date.protected IModelInfomodelinfoThe model info.
 - 
Constructor SummaryConstructors Constructor Description CacheableKernelModel(IModelInfo modelinfo)Create a new model.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFilename()Get the filename.longgetLastChecked()Get the lastchecked.longgetLastModified()Get the lastmodified.IModelInfogetModelInfo()Get the modelinfo.voidsetLastChecked(long lastchecked)Set the lastchecked.voidsetLastModified(long lastmodified)Set the lastmodified.
 
- 
- 
- 
Field Detail- 
lastmodifiedprotected long lastmodified The last modified date.
 - 
lastcheckedprotected long lastchecked The last check date.
 - 
modelinfoprotected IModelInfo modelinfo The model info.
 
- 
 - 
Constructor Detail- 
CacheableKernelModelpublic CacheableKernelModel(IModelInfo modelinfo) Create a new model.
 
- 
 - 
Method Detail- 
getModelInfopublic IModelInfo getModelInfo() Get the modelinfo.- Returns:
- the modelinfo.
 
 - 
getLastModifiedpublic long getLastModified() Get the lastmodified.- Specified by:
- getLastModifiedin interface- ICacheableModel
- Returns:
- the lastmodified.
 
 - 
setLastModifiedpublic void setLastModified(long lastmodified) Set the lastmodified.- Parameters:
- lastmodified- The lastmodified to set.
 
 - 
getLastCheckedpublic long getLastChecked() Get the lastchecked.- Specified by:
- getLastCheckedin interface- ICacheableModel
- Returns:
- the lastchecked.
 
 - 
setLastCheckedpublic void setLastChecked(long lastchecked) Set the lastchecked.- Specified by:
- setLastCheckedin interface- ICacheableModel
- Parameters:
- lastchecked- The lastchecked to set.
 
 - 
getFilenamepublic java.lang.String getFilename() Get the filename.- Specified by:
- getFilenamein interface- ICacheableModel
- Returns:
- The filename.
 
 
- 
 
-