com.sas.framework.expojo
Class RepositoryComponent

java.lang.Object
  extended by com.sas.framework.expojo.ModelExposerComponent
      extended by com.sas.framework.expojo.RepositoryComponent

public abstract class RepositoryComponent
extends ModelExposerComponent

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

RepositoryComponent

public RepositoryComponent()