Interface PartitionableRootObject

    • Method Detail

      • getPartition

        Partition getPartition()
        Get the Partition.
        Returns:
        Partition
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • setPartition

        void setPartition​(Partition newPartition)
        Set the value for Partition. This value is mandatory.
        Parameters:
        newPartition - is the object to set Partition to. The objects in this partition. If this is null, then the object cannot be persisted.