public class ApplicationImpl extends Object implements Application, DataStoreConfigurationModelInterface
コンストラクタと説明 |
---|
ApplicationImpl(ConfigurationImpl config)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addEntity(Entity entity)
エンティティを追加する
|
void |
addExtendedEntity(ExtendedEntity extendedEntity)
拡張エンティティを追加する
|
void |
addExtendedModel(ExtendedModelImpl extendedModel)
拡張モデルを追加する
|
void |
addExtendedTable(ExtendedTableImpl extendedTable)
拡張テーブルを追加する
|
void |
addModel(ModelImpl model)
モデルを追加する
|
void |
addRelationship(Relationship relationship)
リレーションシップを追加する
|
void |
addTable(TableImpl table)
テーブルを追加すr
|
void |
checkEntityHaveModel()
全てのエンティティがモデルに関連しているかチェックする
|
void |
checkExtendedEntityHaveExtendedModel()
全ての拡張エンティティがモデルに関連しているかチェックする
|
void |
clearEntities()
エンティティを全て削除する
|
void |
clearExtendedEntities()
拡張エンティティを全て削除する
|
void |
clearExtendedModels()
拡張モデルを全て削除する
|
void |
clearExtendedTables()
拡張テーブルをすべて削除する
|
void |
clearModels()
モデルをすべて削除する
|
void |
clearRelationship()
リレーションシップをすべて削除する
|
void |
clearTables()
テーブルを全て削除する
|
void |
executeEntityMapping()
全てのエンティティと拡張エンティティのマッピングを行う。
|
void |
executeExtendedEntityMapping()
全ての拡張エンティティのマッピングを行う。
|
void |
executeExtendedModelMapping()
全ての拡張モデルのマッピングを行う。
|
void |
executeExtendedTableMapping()
全ての拡張テーブルのマッピングを行う。
|
void |
executeMapping()
このオブジェクトの内部情報を元にモデルのマッピングを行います。
|
void |
executeModelMapping()
全てのモデルのマッピングを行う。
|
void |
executeRelationshipMapping()
全てのリレーションシップのマッピングを行う
|
void |
executeTableMapping()
全てのテーブルのマッピングを行う。
|
ConfigurationImpl |
getConfig()
コンフィグレーションを取得する
|
Map |
getEntities()
アプリケーションで定義しているエンティティの一覧を取得します。
|
Map |
getExtendedEntities()
アプリケーションで定義している拡張エンティティの一覧を取得します。
|
Map |
getExtendedModels()
アプリケーションで定義している拡張モデル定義の一覧を取得します。
|
Map |
getExtendedTables()
アプリケーションで定義している拡張テーブル定義の一覧を取得します。
|
Map |
getModels()
アプリケーションで定義しているモデル定義の一覧を取得します。
|
String |
getName()
アプリケーション名を取得します。
|
Map |
getRelationships()
アプリケーションで定義しているリレーションシップの一覧を取得します。
|
Map |
getTables()
アプリケーションで定義しているテーブル定義の一覧を取得します。
|
ModelImpl |
lookupModel(EntityImpl entity)
該当するエンティティを定義しているモデルを取得する 見つからないときは
Null を返す |
TableImpl |
lookupTable(EntityImpl entity)
該当するエンティティを定義しているテーブルを取得する 見つからないときは
Null を返す |
void |
setName(String name)
アプリケーション名を設定する
|
void |
verify()
このオブジェクトの内部情報を検査します。
|
public ApplicationImpl(ConfigurationImpl config)
config
- public String getName()
Application
getName
インタフェース内 Application
public void setName(String name)
name
- public Map getEntities()
Application
Entity
を値としたマップを返します。getEntities
インタフェース内 Application
public void clearEntities()
public void addEntity(Entity entity)
entity
- public Map getExtendedEntities()
Application
ExtendedEntity
を値としたマップを返します。getExtendedEntities
インタフェース内 Application
public void clearExtendedEntities()
public void addExtendedEntity(ExtendedEntity extendedEntity)
extendedEntity
- public Map getRelationships()
Application
Relationship
を値としたマップを返します。getRelationships
インタフェース内 Application
public void clearRelationship()
public void addRelationship(Relationship relationship)
relationship
- public Map getTables()
Application
Table
を値としたマップを返します。getTables
インタフェース内 Application
public void clearTables()
public void addTable(TableImpl table)
table
- public Map getExtendedTables()
Application
ExtendedTable
を値としたマップを返します。getExtendedTables
インタフェース内 Application
public void clearExtendedTables()
public void addExtendedTable(ExtendedTableImpl extendedTable)
extendedTable
- public Map getModels()
Application
Model
を値としたマップを返します。getModels
インタフェース内 Application
public void clearModels()
public void addModel(ModelImpl model)
model
- public Map getExtendedModels()
Application
ExtendedModel
を値としたマップを返します。getExtendedModels
インタフェース内 Application
public void clearExtendedModels()
public void addExtendedModel(ExtendedModelImpl extendedModel)
extendedModel
- public ConfigurationImpl getConfig()
public void executeMapping() throws DataStoreConfigException
DataStoreConfigurationModelInterface
executeMapping
インタフェース内 DataStoreConfigurationModelInterface
DataStoreConfigException
public void executeEntityMapping() throws DataStoreConfigException
public void executeExtendedEntityMapping() throws DataStoreConfigException
public void executeTableMapping() throws DataStoreConfigException
public void executeExtendedTableMapping() throws DataStoreConfigException
public void executeModelMapping() throws DataStoreConfigException
public void executeExtendedModelMapping() throws DataStoreConfigException
public void executeRelationshipMapping() throws DataStoreConfigException
public void checkEntityHaveModel() throws DataStoreConfigException
public void checkExtendedEntityHaveExtendedModel() throws DataStoreConfigException
public void verify() throws DataStoreConfigException
DataStoreConfigurationModelInterface
verify
インタフェース内 DataStoreConfigurationModelInterface
DataStoreConfigException
- 内部情報に整合性違反がある場合public TableImpl lookupTable(EntityImpl entity)
Null
を返すentity
- public ModelImpl lookupModel(EntityImpl entity)
Null
を返すentity
- Copyright © 2012 NTT DATA INTRAMART CORPORATION