Interface SAPUsernamePassword

    • Method Detail

      • getPassword

        String getPassword()
        Get the value for Password. (Clear-text password for SAP connection.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getUsername

        String getUsername()
        Get the value for Username. (Username for SAP connection.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setPassword

        void setPassword​(String newPassword)
        Set the value for Password. (Clear-text password for SAP connection.) This value is mandatory.
        Parameters:
        newPassword - the new value for Password. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setUsername

        void setUsername​(String newUsername)
        Set the value for Username. (Username for SAP connection.) This value is mandatory.
        Parameters:
        newUsername - the new value for Username. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.