|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.waveset.object.PersistentObject.InitialInstance
An inner class describing an "initial instance" of a persistent object that is to be automatically added to a repository when it is created.
In addition to to the PersistentObject instance, we also define a set of extended properties that the repository will persist with the object.
Constructor Summary | |
protected |
PersistentObject.InitialInstance(PersistentObject po)
Constructs an initial instance to be seeded in any new repository. |
protected |
PersistentObject.InitialInstance(PersistentObject po,
boolean neverDelete,
boolean neverModify,
boolean neverRename)
Constructs an initial instance to be seeded in any new repository. |
Method Summary | |
PersistentObject |
getPersistentObject()
Get the persistent object to be created. |
boolean |
neverDelete()
Returns true if the object must never be deleted. |
boolean |
neverModify()
Returns true if the object must never be modified. |
boolean |
neverRename()
Returns true if the object must never be renamed. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected PersistentObject.InitialInstance(PersistentObject po)
NOTE: The repository will try to preserve any id value set in the persistent object. Although this violates the normal rules of repository behavior, it is necessary in order to recognize initial items that may be renamed.
protected PersistentObject.InitialInstance(PersistentObject po, boolean neverDelete, boolean neverModify, boolean neverRename)
neverDelete
- - if true, prevent anyone from deleting the itemneverModify
- - if true, prevent anyone from changing the itemneverRename
- - if true, prevent anyone from renaming the item
NOTE: The repository will try to preserve any id value set in the persistent object. Although this violates the normal rules of repository behavior, it is necessary in order to recognize initial items that may be renamed.
Method Detail |
public PersistentObject getPersistentObject()
public boolean neverDelete()
public boolean neverModify()
public boolean neverRename()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |