| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
indexed
是否已创建索引
|
static String |
TYPE_CATEGORY |
static String |
TYPE_CHILDWORLDS |
static String |
TYPE_PLUGINS |
static String |
TYPE_PROJECT |
static String |
TYPE_PROJECTS |
static String |
TYPE_THING |
static String |
TYPE_THINGMANAGER |
static String |
TYPE_WORKING_SET |
static String |
TYPE_WORLD |
| 构造器和说明 |
|---|
Index() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract List<Index> |
getChilds()
取子索引列表。
|
abstract String |
getDescription()
取描述。
|
static Index |
getIndexById(String id)
通过标识获取索引。
|
static String |
getIndexId(Index index)
通过Index生成一个ID,使用这个ID可以通过getIndexById方法获取。
|
abstract Object |
getIndexObject()
返回被索引的事物。
|
static Index |
getInstance()
取实例。
|
abstract String |
getLabel()
取标签。
|
long |
getLastModified() |
abstract String |
getName()
取名称。
|
abstract Index |
getParent()
取索引的父索引。
|
abstract String |
getPath()
取路径,这个路径是通过World.get(path)可以获取的那个参数路径。
|
abstract String |
getType()
返回索引的事物的类型。
|
abstract boolean |
refresh()
刷新子索引。
|
public static Index getInstance()
public static String getIndexId(Index index)
index - 索引public abstract Object getIndexObject()
public abstract Index getParent()
public abstract String getDescription()
public abstract String getLabel()
public abstract String getName()
public abstract String getPath()
public abstract String getType()
public abstract boolean refresh()
public long getLastModified()
Copyright © 2016 xworker.org. All rights reserved.