[KUINA-11] generics を使った GenericDao をサポートしました. Created: 2007-04-29  Updated: 2007-04-29  Resolved: 2007-04-29

Status: Resolved
Project: Kuina
Component/s: Kuina-Dao
Affects Version/s: 1.0.0-rc2
Fix Version/s: 1.0.0

Type: New Feature Priority: Major
Reporter: koichik Assignee: koichik
Resolution: Fixed Votes: 0
Labels: None


 Description   

generics を使った GenericDao をサポートしました.
GenericDao は

public interface GenericDao<ENTITY, ID> {
ENTITY find(ID id);
void persist(ENTITY entity);
...
}

のように標準的なメソッドが定義されていて,

public interface EmployeeDao extends GenericDao<Emloyee, Long> {
...
}

のようにすることで,個別の Dao インタフェースには標準的なメソッドを定義する必要が無くなります.



 Comments   
Comment by koichik [ 2007-04-29 ]

対応しました.

Generated at Thu Apr 25 21:07:03 JST 2024 using Jira 9.15.0#9150000-sha1:9ead8528714127d8cfabf2446010d7e62c0a195c.