Class OpenMetadataUserAccount

java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataUserAccount

public class OpenMetadataUserAccount extends UserAccount
OpenMetadataUserAccount extends OpenMetadataUserDetails with properties that should not leave the server.
  • Constructor Details

    • OpenMetadataUserAccount

      public OpenMetadataUserAccount()
      Default constructor
    • OpenMetadataUserAccount

      public OpenMetadataUserAccount(String userId, UserAccount userAccount)
      Copy constructor
      Parameters:
      userId - associated user account identifier
      userAccount - super class properties
  • Method Details

    • getUserId

      public String getUserId()
      Return the userId that identifies the account.
      Returns:
      string identifier
    • setUserId

      public void setUserId(String userId)
      Set up the userId that identifies the account.
      Parameters:
      userId - string identifier
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class UserAccount
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class UserAccount
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class UserAccount
      Returns:
      int