程序包 org.xmeta

类 Index

    • 构造器详细资料

      • Index

        public Index()
    • 方法详细资料

      • getInstance

        public static Index getInstance()
        取实例。
        返回:
        索引实例
      • getIndexId

        public static String getIndexId​(Index index)
        通过Index生成一个ID,使用这个ID可以通过getIndexById方法获取。
        参数:
        index - 索引
        返回:
        ID
      • getIndexById

        public static Index getIndexById​(String id)
        通过标识获取索引。
        参数:
        id - 索引ID
        返回:
        索引
      • getIndexObject

        public abstract Object getIndexObject()
        返回被索引的事物。
        返回:
        索引事物
      • getParent

        public abstract Index getParent()
        取索引的父索引。
        返回:
        父索引
      • getChilds

        public abstract List<Index> getChilds()
        取子索引列表。
        返回:
        子索引列表
      • getDescription

        public abstract String getDescription()
        取描述。
        返回:
        描述
      • getLabel

        public abstract String getLabel()
        取标签。
        返回:
        标签
      • getName

        public abstract String getName()
        取名称。
        返回:
        名称
      • getPath

        public abstract String getPath()
        取路径,这个路径是通过World.get(path)可以获取的那个参数路径。
        返回:
        路径
      • getType

        public abstract String getType()
        返回索引的事物的类型。
        返回:
        索引的事物的类型
      • refresh

        public abstract boolean refresh()
        刷新子索引。
        返回:
        是否刷新成功
      • getLastModified

        public long getLastModified()
      • getLastDate

        public String getLastDate()