Interface SAPCalendar

    • Method Detail

      • getDescription

        String getDescription()
        Get the value for Description. (The description of this calendar)
        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.
      • getType

        String getType()
        Get the value for Type. (Calendar type) 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.
      • getYear

        Long getYear()
        Get the value for Year. (Calendar year) 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.
      • getIdent

        String getIdent()
        Get the value for Ident. (Calendar name) 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.
      • getMonth1

        String getMonth1()
        Get the value for Month1. (Month 1 (January)) 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.
      • getMonth2

        String getMonth2()
        Get the value for Month2. (Month 2 (February)) 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.
      • getMonth3

        String getMonth3()
        Get the value for Month3. (Month 3 (March)) 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.
      • getMonth4

        String getMonth4()
        Get the value for Month4. (Month 4 (April)) 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.
      • getMonth5

        String getMonth5()
        Get the value for Month5. (Month 5 (May)) 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.
      • getMonth6

        String getMonth6()
        Get the value for Month6. (Month 6 (June)) 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.
      • getMonth7

        String getMonth7()
        Get the value for Month7. (Month 7 (July)) 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.
      • getMonth8

        String getMonth8()
        Get the value for Month8. (Month 8 (August)) 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.
      • getMonth9

        String getMonth9()
        Get the value for Month9. (Month 9 (September)) 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.
      • getMonth10

        String getMonth10()
        Get the value for Month10. (Month 10 (October)) 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.
      • getMonth11

        String getMonth11()
        Get the value for Month11. (Month 11 (November)) 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.
      • getMonth12

        String getMonth12()
        Get the value for Month12. (Month 12 (December)) 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.
      • setDescription

        void setDescription​(String newDescription)
        Set the value for Description. (The description of this calendar) This value is optional.
        Parameters:
        newDescription - the new value for Description.
        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.
      • setType

        void setType​(String newType)
        Set the value for Type. (Calendar type) This value is mandatory.
        Parameters:
        newType - the new value for Type. 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.
      • setYear

        void setYear​(Long newYear)
        Set the value for Year. (Calendar year) This value is mandatory.
        Parameters:
        newYear - the new value for Year. 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.
      • setIdent

        void setIdent​(String newIdent)
        Set the value for Ident. (Calendar name) This value is mandatory.
        Parameters:
        newIdent - the new value for Ident. 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.
      • setMonth1

        void setMonth1​(String newMonth1)
        Set the value for Month1. (Month 1 (January)) This value is mandatory.
        Parameters:
        newMonth1 - the new value for Month1. 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.
      • setMonth2

        void setMonth2​(String newMonth2)
        Set the value for Month2. (Month 2 (February)) This value is mandatory.
        Parameters:
        newMonth2 - the new value for Month2. 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.
      • setMonth3

        void setMonth3​(String newMonth3)
        Set the value for Month3. (Month 3 (March)) This value is mandatory.
        Parameters:
        newMonth3 - the new value for Month3. 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.
      • setMonth4

        void setMonth4​(String newMonth4)
        Set the value for Month4. (Month 4 (April)) This value is mandatory.
        Parameters:
        newMonth4 - the new value for Month4. 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.
      • setMonth5

        void setMonth5​(String newMonth5)
        Set the value for Month5. (Month 5 (May)) This value is mandatory.
        Parameters:
        newMonth5 - the new value for Month5. 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.
      • setMonth6

        void setMonth6​(String newMonth6)
        Set the value for Month6. (Month 6 (June)) This value is mandatory.
        Parameters:
        newMonth6 - the new value for Month6. 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.
      • setMonth7

        void setMonth7​(String newMonth7)
        Set the value for Month7. (Month 7 (July)) This value is mandatory.
        Parameters:
        newMonth7 - the new value for Month7. 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.
      • setMonth8

        void setMonth8​(String newMonth8)
        Set the value for Month8. (Month 8 (August)) This value is mandatory.
        Parameters:
        newMonth8 - the new value for Month8. 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.
      • setMonth9

        void setMonth9​(String newMonth9)
        Set the value for Month9. (Month 9 (September)) This value is mandatory.
        Parameters:
        newMonth9 - the new value for Month9. 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.
      • setMonth10

        void setMonth10​(String newMonth10)
        Set the value for Month10. (Month 10 (October)) This value is mandatory.
        Parameters:
        newMonth10 - the new value for Month10. 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.
      • setMonth11

        void setMonth11​(String newMonth11)
        Set the value for Month11. (Month 11 (November)) This value is mandatory.
        Parameters:
        newMonth11 - the new value for Month11. 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.
      • setMonth12

        void setMonth12​(String newMonth12)
        Set the value for Month12. (Month 12 (December)) This value is mandatory.
        Parameters:
        newMonth12 - the new value for Month12. 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.
      • getSAPSystem

        SAPSystem getSAPSystem()
        Get the SAPSystem.
        Returns:
        SAPSystem
        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.