public class CacheableKernelModel
extends java.lang.Object
implements jadex.commons.ICacheableModel
Modifier and Type | Field and Description |
---|---|
protected long |
lastchecked
The last check date.
|
protected long |
lastmodified
The last modified date.
|
protected jadex.bridge.modelinfo.IModelInfo |
modelinfo
The model info.
|
Constructor and Description |
---|
CacheableKernelModel(jadex.bridge.modelinfo.IModelInfo modelinfo)
Create a new model.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilename()
Get the filename.
|
long |
getLastChecked()
Get the lastchecked.
|
long |
getLastModified()
Get the lastmodified.
|
jadex.bridge.modelinfo.IModelInfo |
getModelInfo()
Get the modelinfo.
|
void |
setLastChecked(long lastchecked)
Set the lastchecked.
|
void |
setLastModified(long lastmodified)
Set the lastmodified.
|
protected long lastmodified
protected long lastchecked
protected jadex.bridge.modelinfo.IModelInfo modelinfo
public CacheableKernelModel(jadex.bridge.modelinfo.IModelInfo modelinfo)
public jadex.bridge.modelinfo.IModelInfo getModelInfo()
public long getLastModified()
getLastModified
in interface jadex.commons.ICacheableModel
public void setLastModified(long lastmodified)
lastmodified
- The lastmodified to set.public long getLastChecked()
getLastChecked
in interface jadex.commons.ICacheableModel
public void setLastChecked(long lastchecked)
setLastChecked
in interface jadex.commons.ICacheableModel
lastchecked
- The lastchecked to set.public java.lang.String getFilename()
getFilename
in interface jadex.commons.ICacheableModel