mnemosyne.core
Class NonAopPersistable
java.lang.Object
|
+--mnemosyne.core.NonAopPersistable
- All Implemented Interfaces:
- java.lang.Cloneable, Persistable, java.io.Serializable
- Direct Known Subclasses:
- PersistentRootImpl
- public class NonAopPersistable
- extends java.lang.Object
- implements Persistable, java.lang.Cloneable, java.io.Serializable
Implementation of Persistable for classes which want to provide their own
method "interception", rather than letting the AOP system do it. This is
mainly useful for core classes that must always be Persistable (such as
"PersistentRootImpl") as it prevents the core classes from having to be tied
particular aop system by the user.
- Version:
- $Id: NonAopPersistable.java,v 1.1 2004/08/12 14:01:05 charlesblaxland Exp $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NonAopPersistable
public NonAopPersistable()
getPersistentObject
public PersistentObject getPersistentObject()
- Specified by:
getPersistentObject
in interface Persistable
setPersistentObject
public void setPersistentObject(PersistentObject persistentObject)
- Specified by:
setPersistentObject
in interface Persistable
isPersistent
public boolean isPersistent()
- Specified by:
isPersistent
in interface Persistable
isArchiveVersion
public boolean isArchiveVersion()
- Specified by:
isArchiveVersion
in interface Persistable
setArchiveVersion
public void setArchiveVersion(boolean archiveVersion)
- Specified by:
setArchiveVersion
in interface Persistable
Copyright © 2004 Charles Blaxland. All Rights Reserved.