Interface SAPAbapVariant

    • Method Detail

      • getClientNumber

        String getClientNumber()
        Get the value for ClientNumber. (Client number.) 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.
      • getSAPLanguage

        String getSAPLanguage()
        Get the value for SAPLanguage. (SAP language.) 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.
      • isProtected

        boolean isProtected()
        Get the value for Protected. (Indicates if this variant is protected.)
        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.
      • isBackgroundOnly

        boolean isBackgroundOnly()
        Get the value for BackgroundOnly. (Indicates if this variant can be used in background processing only.)
        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.
      • isSystem

        boolean isSystem()
        Get the value for System. (Indicates if this is a system variant.)
        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.
      • setClientNumber

        void setClientNumber​(String newClientNumber)
        Set the value for ClientNumber. (Client number.) This value is mandatory.
        Parameters:
        newClientNumber - the new value for ClientNumber. 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.
      • setSAPLanguage

        void setSAPLanguage​(String newSAPLanguage)
        Set the value for SAPLanguage. (SAP language.) This value is mandatory.
        Parameters:
        newSAPLanguage - the new value for SAPLanguage. 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.
      • setProtected

        void setProtected​(boolean newProtected)
        Set the value for Protected. (Indicates if this variant is protected.)
        Parameters:
        newProtected - the new value for Protected.
        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.
      • setBackgroundOnly

        void setBackgroundOnly​(boolean newBackgroundOnly)
        Set the value for BackgroundOnly. (Indicates if this variant can be used in background processing only.)
        Parameters:
        newBackgroundOnly - the new value for BackgroundOnly.
        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.
      • setSystem

        void setSystem​(boolean newSystem)
        Set the value for System. (Indicates if this is a system variant.)
        Parameters:
        newSystem - the new value for System.
        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.
      • getSAPAbapProgram

        SAPAbapProgram getSAPAbapProgram()
        Get the SAPAbapProgram.
        Returns:
        SAPAbapProgram
        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.
      • getSAPAbapVariantParameterValueByName

        SAPAbapVariantParameterValue getSAPAbapVariantParameterValueByName​(String name)
        Get the SAPAbapVariantParameterValue by NameSAPAbapVariantParameterValue.
        Parameters:
        name -
        Returns:
        the SAPAbapVariantParameterValue, or null if it could not be found
      • getSAPAbapVariantSeloptByName

        SAPAbapVariantSelopt getSAPAbapVariantSeloptByName​(String name)
        Get the SAPAbapVariantSelopt by NameSAPAbapVariantSelopt.
        Parameters:
        name -
        Returns:
        the SAPAbapVariantSelopt, or null if it could not be found