org.unitedfront2.dao
インタフェース Registerable<D>

型パラメータ:
D - ドメインクラス
既知のサブインタフェースの一覧:
AccessControlDao, AccountDao, BlogDao, CommentDao, CommunityDao, MailDao, MessageDao, ProfileDao, SimpleUserDao, ThreadDao
既知の実装クラスの一覧:
AccessControlDaoImpl, AccountDaoImpl, BlogDaoImpl, CommentDaoImpl, CommunityDaoImpl, MailDaoImpl, MessageDaoImpl, ProfileDaoImpl, SimpleDaoSupport, SimpleUserDaoImpl, ThreadDaoImpl

public interface Registerable<D>

登録可能であることを表すインターフェースです。

作成者:
kurokkie

メソッドの概要
 void register(D domain)
          ドメインオブジェクトを登録します。
 

メソッドの詳細

register

void register(D domain)
ドメインオブジェクトを登録します。ドメインオブジェクトの永続プロパティがデータベースと同期します。主キー など、データベース側で自動生成される値は、引数のドメインオブジェクトにその値が設定されます。

パラメータ:
domain - ドメインオブジェクト
'事前条件:'
${domain} not exists., ${domain} のデータ構造が、整合性制約に違反していない。(クラス不変表明を満たす)
'事後条件:'
${domain} の永続プロパティがデータベースと同期する。


Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.