Class CacheableKernelModel

java.lang.Object
jadex.model.impl.CacheableKernelModel
All Implemented Interfaces:
ICacheableModel

public class CacheableKernelModel extends Object implements ICacheableModel
Base class for cacheable kernel model.
  • Field Details

    • lastmodified

      protected long lastmodified
      The last modified date.
    • lastchecked

      protected long lastchecked
      The last check date.
    • modelinfo

      protected IModelInfo modelinfo
      The model info.
  • Constructor Details

    • CacheableKernelModel

      public CacheableKernelModel(IModelInfo modelinfo)
      Create a new model.
  • Method Details

    • getModelInfo

      public IModelInfo getModelInfo()
      Get the modelinfo.
      Returns:
      the modelinfo.
    • getLastModified

      public long getLastModified()
      Get the lastmodified.
      Specified by:
      getLastModified in interface ICacheableModel
      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:
      getLastChecked in interface ICacheableModel
      Returns:
      the lastchecked.
    • setLastChecked

      public void setLastChecked(long lastchecked)
      Set the lastchecked.
      Specified by:
      setLastChecked in interface ICacheableModel
      Parameters:
      lastchecked - The lastchecked to set.
    • getFilename

      public String getFilename()
      Get the filename.
      Specified by:
      getFilename in interface ICacheableModel
      Returns:
      The filename.