org.boxed_economy.besp.model.fmfw
クラス TypeManager

java.lang.Object
  拡張org.boxed_economy.besp.model.fmfw.TypeManager

public class TypeManager
extends java.lang.Object

Worldが持つTypeを管理するクラスです。worldの持つTypeの管理機能を委譲します。 MapによってTypeの集合を格納します。 キーは任意の文字列ですが、指定しない場合Typeの名前になります。 基礎モデルの一部というだけでなく、モデルコンテナに所属させることで モデルを超えた概念(タイプ)の管理を可能にしました。

バージョン:
$Id: TypeManager.java,v 1.1 2004/03/21 12:07:47 macchan Exp $
作成者:
rx78g

コンストラクタの概要
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
 

コンストラクタの詳細

TypeManager

public TypeManager()
メソッドの詳細

getAgentType

public AgentType getAgentType(java.lang.String key)
キーに該当するAgentTypeを取得します。 存在しなければ、nullを返します。

パラメータ:
key - 検索するキー文字列

getBehaviorType

public BehaviorType getBehaviorType(java.lang.String key)
キーに該当するBehaviorTypeを取得します。 存在しなければ、nullを返します。

パラメータ:
key - 検索するキー文字列

getGoodsType

public GoodsType getGoodsType(java.lang.String key)
キーに該当するGoodsTypeを取得します。 存在しなければ、nullを返します。

パラメータ:
key - 検索するキー文字列

getInformationType

public InformationType getInformationType(java.lang.String key)
キーに該当するInformationTypeを取得します。 存在しなければ、nullを返します。

パラメータ:
key - 検索するキー文字列

getRelationType

public RelationType getRelationType(java.lang.String key)
キーに該当するRelationTypeを取得します。 存在しなければ、nullを返します。

パラメータ:
key - 検索するキー文字列

getAgentTypes

public java.util.Collection getAgentTypes()
全てのAgentTypeを返します。


getBehaviorTypes

public java.util.Collection getBehaviorTypes()
全てのBehaviorTypeを返します。


getGoodsTypes

public java.util.Collection getGoodsTypes()
全てのGoodsTypeを返します。


getInformationTypes

public java.util.Collection getInformationTypes()
全てのInformationTypeを返します。


getRelationTypes

public java.util.Collection getRelationTypes()
全てのRelationTypeを返します。


installAgentType

public AgentType installAgentType(java.lang.String name)
AgentTypeを作成して返します。Typeの作成と同時にVocabularyに追加されます。

パラメータ:
name - 作成するTypeの名前
戻り値:
AgentType 作成されたType

installGoodsType

public GoodsType installGoodsType(java.lang.String name)
GoodsTypeを作成して返します。Typeの作成と同時にVocabularyに追加されます。

パラメータ:
name - 作成するTypeの名前
戻り値:
GoodsType 作成されたType

installBehaviorType

public BehaviorType installBehaviorType(java.lang.String name)
BehaviorTypeを作成して返します。Typeの作成と同時にVocabularyに追加されます。

パラメータ:
name - 作成するTypeの名前
戻り値:
BehaviorType 作成されたType

installRelationType

public RelationType installRelationType(java.lang.String name)
RelationTypeを作成して返します。Typeの作成と同時にVocabularyに追加されます。

パラメータ:
name - 作成するTypeの名前
戻り値:
RelationType 作成されたType

installInformationType

public InformationType installInformationType(java.lang.String name)
InformationTypeを作成して返します。Typeの作成と同時にVocabularyに追加されます。

パラメータ:
name - 作成するTypeの名前
戻り値:
InformationType 作成されたType