org.xworker.thingManagers
类 TransientCategory

java.lang.Object
  继承者 org.xworker.thingManagers.TransientCategory
所有已实现的接口:
Category

public class TransientCategory
extends java.lang.Object
implements Category

瞬态事物管理者下的目录。

作者:
zyx

字段摘要
(专用软件包)  TransientThingManager thingFactory
          目录所属的事物管理者
 
构造方法摘要
TransientCategory(TransientThingManager thingFactory)
           
 
方法摘要
 Category getCategory(java.lang.String name)
          通过名称返回指定的下级目录。
 java.util.List<Category> getCategorys()
          获取下一级的目录的列表。
 java.lang.String getName()
          返回当前目录的名称。
 Category getParent()
          返回上级目录。
 java.lang.String getSimpleName()
           
 Thing getThing(java.lang.String name)
          通过事物的名称获得当前目录下的事物。
 java.util.List<ThingIndex> getThingIndexs(boolean includeChildCategory)
          返回当前目录下的所有事物的索引列表。
 java.util.List<ThingIndex> getThingIndexs(java.lang.String descriptorPath, boolean includeChildCategory)
          根据事物的描述者返回当前目录下的所有事物的索引列表。
 ThingManager getThingManager()
          返回此目录所属的事物管理者。
 java.util.List<Thing> getThings(boolean includeChildCategory)
          获得当前目录下的事物列表。
 java.util.List<Thing> getThings(java.lang.String descriptorPath, boolean includeChildCategory)
          根据指定的描述者获取当前目录下的事物列表。
 java.util.Iterator<Thing> iterator(boolean includeChildCategory)
          遍历当前目录下的所有事物。
 java.util.Iterator<Thing> iterator(java.lang.String descriptorPath, boolean includeChildCategory)
          通过指定的描述者名称遍历当前目录下的所有事物。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

thingFactory

TransientThingManager thingFactory
目录所属的事物管理者

构造方法详细信息

TransientCategory

public TransientCategory(TransientThingManager thingFactory)
方法详细信息

getCategory

public Category getCategory(java.lang.String name)
从接口 Category 复制的描述
通过名称返回指定的下级目录。

指定者:
接口 Category 中的 getCategory
参数:
name - 下级目录的名称
返回:
下级目录,如果不存在返回null

getCategorys

public java.util.List<Category> getCategorys()
从接口 Category 复制的描述
获取下一级的目录的列表。

指定者:
接口 Category 中的 getCategorys
返回:
下一级目录的列表

getParent

public Category getParent()
从接口 Category 复制的描述
返回上级目录。

指定者:
接口 Category 中的 getParent
返回:
上级目录,如果不存在返回null

getThing

public Thing getThing(java.lang.String name)
从接口 Category 复制的描述
通过事物的名称获得当前目录下的事物。

指定者:
接口 Category 中的 getThing
参数:
name - 事物名称
返回:
事物,如果不存在返回null

getThingManager

public ThingManager getThingManager()
从接口 Category 复制的描述
返回此目录所属的事物管理者。

指定者:
接口 Category 中的 getThingManager
返回:
事物管理者

getName

public java.lang.String getName()
从接口 Category 复制的描述
返回当前目录的名称。

指定者:
接口 Category 中的 getName
返回:
目录的名称

getSimpleName

public java.lang.String getSimpleName()
指定者:
接口 Category 中的 getSimpleName

getThingIndexs

public java.util.List<ThingIndex> getThingIndexs(java.lang.String descriptorPath,
                                                 boolean includeChildCategory)
从接口 Category 复制的描述
根据事物的描述者返回当前目录下的所有事物的索引列表。

指定者:
接口 Category 中的 getThingIndexs
参数:
descriptorPath - 描述者的路径
includeChildCategory - 是否包含子目录
返回:
事物的索引列表

getThings

public java.util.List<Thing> getThings(java.lang.String descriptorPath,
                                       boolean includeChildCategory)
从接口 Category 复制的描述
根据指定的描述者获取当前目录下的事物列表。

指定者:
接口 Category 中的 getThings
参数:
descriptorPath - 描述者的路径
includeChildCategory - 是否包含子目录
返回:
事物列表

iterator

public java.util.Iterator<Thing> iterator(boolean includeChildCategory)
从接口 Category 复制的描述
遍历当前目录下的所有事物。

指定者:
接口 Category 中的 iterator
参数:
includeChildCategory - 是否包含子目录
返回:
事物遍历器

iterator

public java.util.Iterator<Thing> iterator(java.lang.String descriptorPath,
                                          boolean includeChildCategory)
从接口 Category 复制的描述
通过指定的描述者名称遍历当前目录下的所有事物。

指定者:
接口 Category 中的 iterator
参数:
descriptorPath - 描述者的路径
includeChildCategory - 是否包含子目录
返回:
事物遍历器

getThingIndexs

public java.util.List<ThingIndex> getThingIndexs(boolean includeChildCategory)
从接口 Category 复制的描述
返回当前目录下的所有事物的索引列表。

指定者:
接口 Category 中的 getThingIndexs
参数:
includeChildCategory - 是否包含子目录
返回:
事物的索引列表

getThings

public java.util.List<Thing> getThings(boolean includeChildCategory)
从接口 Category 复制的描述
获得当前目录下的事物列表。

指定者:
接口 Category 中的 getThings
参数:
includeChildCategory - 是否包含子目录
返回:
事物列表