com.waveset.object
Class PersistentObject.InitialInstance

java.lang.Object
  extended by com.waveset.object.PersistentObject.InitialInstance
Enclosing class:
PersistentObject

public static class PersistentObject.InitialInstance
extends java.lang.Object

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.


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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPersistentObject

public PersistentObject getPersistentObject()
Get the persistent object to be created.


neverDelete

public boolean neverDelete()
Returns true if the object must never be deleted.


neverModify

public boolean neverModify()
Returns true if the object must never be modified.


neverRename

public boolean neverRename()
Returns true if the object must never be renamed.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object