|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sas.framework.expojo.ModelExposerComponent
com.sas.framework.expojo.RepositoryComponent
public abstract class RepositoryComponent
Superclass for repository components - ie., those that provide facilities for finding and locating domain objects in the datastore. Extend this class to make your application specific repositories. Typically these will include query methods written to an persistence engine specific query API and query language. Ideally you should provide an abstract superclass for each type of repository you require and then provide a concrete implementation for your specific persistence engine and name them appropriately (eg., HibernateRoleManagerRepository or JdoRoleManagerRepository, IBatisRoleManagerRepository). Structuring your repositories in this way makes your application code (GUI and model) completely independent of any particular persistence engine.
| Field Summary |
|---|
| Fields inherited from class com.sas.framework.expojo.ModelExposerComponent |
|---|
modelExposer, name |
| Constructor Summary | |
|---|---|
RepositoryComponent()
|
|
| Method Summary |
|---|
| Methods inherited from class com.sas.framework.expojo.ModelExposerComponent |
|---|
getName, getPersistenceProvider, init, setModelExposer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryComponent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||