Interface ObjectIndexColumn

    • Method Detail

      • getColumnOrder

        Long getColumnOrder()
        Get the value for ColumnOrder. (The order of the columns in the index) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setColumnOrder

        void setColumnOrder​(Long newColumnOrder)
        Set the value for ColumnOrder. (The order of the columns in the index) This value is mandatory.
        Parameters:
        newColumnOrder - the new value for ColumnOrder. If this is null, then the object cannot be persisted.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getObjectIndex

        ObjectIndex getObjectIndex()
        Get the ObjectIndex.
        Returns:
        ObjectIndex
        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.
      • getObjectFieldDefinition

        ObjectFieldDefinition getObjectFieldDefinition()
        Get the ObjectFieldDefinition.
        Returns:
        ObjectFieldDefinition
        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.