Class NotificationEndpoint

java.lang.Object
de.dlr.proseo.model.NotificationEndpoint

@Embeddable public class NotificationEndpoint extends Object
The endpoint to send order completion notifications to
Author:
Dr. Thomas Bassler
  • Constructor Details

    • NotificationEndpoint

      public NotificationEndpoint()
  • Method Details

    • getUri

      public String getUri()
      Gets the notification endpoint URI
      Returns:
      the URI
    • setUri

      public void setUri(String uri)
      Sets the notification endpoint URI
      Parameters:
      uri - the URI to set
    • getUsername

      public String getUsername()
      Gets the username
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Sets the username
      Parameters:
      username - the username to set
    • getPassword

      public String getPassword()
      Gets the password (as stored, i. e. encrypted, if it was stored encrypted, clear text otherwise)
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Sets the password; the password is not further encrypted, so only a (two-way) encrypted password should be provided.
      Parameters:
      password - the (encrypted) password to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object