程序包 org.xmeta.cache

类 ThingEntry

java.lang.Object
org.xmeta.cache.ThingEntry

public class ThingEntry extends Object
用于引用模型,当模型变更时总能获取最新的模型。
作者:
zyx
  • 字段详细资料

    • path

      protected String path
    • lastmodified

      protected long lastmodified
    • thingReference

      protected WeakReference<Thing> thingReference
    • data

      protected Object data
  • 构造器详细资料

    • ThingEntry

      public ThingEntry(Thing thing)
    • ThingEntry

      public ThingEntry(String path, Thing thing)
  • 方法详细资料

    • getPath

      public String getPath()
    • getThing

      public Thing getThing()
    • isChanged

      public boolean isChanged()
    • getData

      public Object getData()
    • setData

      public void setData(Object data)