Package jadex.model.impl
Class CacheableKernelModel
java.lang.Object
jadex.model.impl.CacheableKernelModel
- All Implemented Interfaces:
ICacheableModel
Base class for cacheable kernel model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longThe last check date.protected longThe last modified date.protected IModelInfoThe model info. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the filename.longGet the lastchecked.longGet the lastmodified.Get the modelinfo.voidsetLastChecked(long lastchecked) Set the lastchecked.voidsetLastModified(long lastmodified) Set the lastmodified.
-
Field Details
-
lastmodified
protected long lastmodifiedThe last modified date. -
lastchecked
protected long lastcheckedThe last check date. -
modelinfo
The model info.
-
-
Constructor Details
-
CacheableKernelModel
Create a new model.
-
-
Method Details
-
getModelInfo
Get the modelinfo.- Returns:
- the modelinfo.
-
getLastModified
public long getLastModified()Get the lastmodified.- Specified by:
getLastModifiedin interfaceICacheableModel- Returns:
- the lastmodified.
-
setLastModified
public void setLastModified(long lastmodified) Set the lastmodified.- Parameters:
lastmodified- The lastmodified to set.
-
getLastChecked
public long getLastChecked()Get the lastchecked.- Specified by:
getLastCheckedin interfaceICacheableModel- Returns:
- the lastchecked.
-
setLastChecked
public void setLastChecked(long lastchecked) Set the lastchecked.- Specified by:
setLastCheckedin interfaceICacheableModel- Parameters:
lastchecked- The lastchecked to set.
-
getFilename
Get the filename.- Specified by:
getFilenamein interfaceICacheableModel- Returns:
- The filename.
-