|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.boxed_economy.besp.model.fmfw.TypeManager
Worldが持つTypeを管理するクラスです。worldの持つTypeの管理機能を委譲します。 MapによってTypeの集合を格納します。 キーは任意の文字列ですが、指定しない場合Typeの名前になります。 基礎モデルの一部というだけでなく、モデルコンテナに所属させることで モデルを超えた概念(タイプ)の管理を可能にしました。
コンストラクタの概要 | |
TypeManager()
|
メソッドの概要 | |
AgentType |
getAgentType(java.lang.String key)
キーに該当するAgentTypeを取得します。 |
java.util.Collection |
getAgentTypes()
全てのAgentTypeを返します。 |
BehaviorType |
getBehaviorType(java.lang.String key)
キーに該当するBehaviorTypeを取得します。 |
java.util.Collection |
getBehaviorTypes()
全てのBehaviorTypeを返します。 |
GoodsType |
getGoodsType(java.lang.String key)
キーに該当するGoodsTypeを取得します。 |
java.util.Collection |
getGoodsTypes()
全てのGoodsTypeを返します。 |
InformationType |
getInformationType(java.lang.String key)
キーに該当するInformationTypeを取得します。 |
java.util.Collection |
getInformationTypes()
全てのInformationTypeを返します。 |
RelationType |
getRelationType(java.lang.String key)
キーに該当するRelationTypeを取得します。 |
java.util.Collection |
getRelationTypes()
全てのRelationTypeを返します。 |
AgentType |
installAgentType(java.lang.String name)
AgentTypeを作成して返します。 |
BehaviorType |
installBehaviorType(java.lang.String name)
BehaviorTypeを作成して返します。 |
GoodsType |
installGoodsType(java.lang.String name)
GoodsTypeを作成して返します。 |
InformationType |
installInformationType(java.lang.String name)
InformationTypeを作成して返します。 |
RelationType |
installRelationType(java.lang.String name)
RelationTypeを作成して返します。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public TypeManager()
メソッドの詳細 |
public AgentType getAgentType(java.lang.String key)
key
- 検索するキー文字列public BehaviorType getBehaviorType(java.lang.String key)
key
- 検索するキー文字列public GoodsType getGoodsType(java.lang.String key)
key
- 検索するキー文字列public InformationType getInformationType(java.lang.String key)
key
- 検索するキー文字列public RelationType getRelationType(java.lang.String key)
key
- 検索するキー文字列public java.util.Collection getAgentTypes()
public java.util.Collection getBehaviorTypes()
public java.util.Collection getGoodsTypes()
public java.util.Collection getInformationTypes()
public java.util.Collection getRelationTypes()
public AgentType installAgentType(java.lang.String name)
name
- 作成するTypeの名前
public GoodsType installGoodsType(java.lang.String name)
name
- 作成するTypeの名前
public BehaviorType installBehaviorType(java.lang.String name)
name
- 作成するTypeの名前
public RelationType installRelationType(java.lang.String name)
name
- 作成するTypeの名前
public InformationType installInformationType(java.lang.String name)
name
- 作成するTypeの名前
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |