|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.applib.AbstractContainedObject
org.nakedobjects.applib.AbstractService
org.nakedobjects.applib.AbstractFactoryAndRepository
public abstract class AbstractFactoryAndRepository
| Constructor Summary | |
|---|---|
AbstractFactoryAndRepository()
|
|
| Method Summary | ||
|---|---|---|
protected
|
newInstance(java.lang.Class<T> ofClass,
java.lang.Object object)
Returns a new instance of the specified class that has the sane persisted state as the specified object. |
|
protected
|
newPersistentInstance(java.lang.Class<T> ofClass)
Returns a new instance of the specified class that will have been persisted. |
|
| Methods inherited from class org.nakedobjects.applib.AbstractService |
|---|
getClassName, getId |
| Methods inherited from class org.nakedobjects.applib.AbstractContainedObject |
|---|
allInstances, allMatches, allMatches, allMatches, allMatches, firstMatch, firstMatch, firstMatch, firstMatch, getContainer, getUser, informUser, isPersistent, isValid, newTransientInstance, persist, persistentIfNotAlready, raiseError, remove, setContainer, uniqueMatch, uniqueMatch, uniqueMatch, uniqueMatch, validate, warnUser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFactoryAndRepository()
| Method Detail |
|---|
protected <T> T newPersistentInstance(java.lang.Class<T> ofClass)
This method isn't quite deprecated, but generally consider using
AbstractContainedObject.newTransientInstance(Class) instead.
protected <T> T newInstance(java.lang.Class<T> ofClass,
java.lang.Object object)
This method isn't quite deprecated, but generally consider using
AbstractContainedObject.newTransientInstance(Class) instead.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||