Class OpenMetadataUserAccount

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

public class OpenMetadataUserAccount extends org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
OpenMetadataUserAccount extends UserAccount with properties that should not leave the server.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    OpenMetadataUserAccount(String userId, org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount userAccount)
    Copy constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return the userId that identifies the account.
    int
    Hash of properties
    void
    setUserId(String userId)
    Set up the userId that identifies the account.
    Standard toString method.

    Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount

    getAccountType, getDisplayName, getDistinguishedName, getEmail, getEmployeeNumber, getEmployeeType, getGivenName, getManager, getOtherProperties, getSecrets, getSecurityGroups, getSecurityRoles, getSurname, getUserAccountStatus, getUserName, getZoneAccess, setAccountType, setDisplayName, setDistinguishedName, setEmail, setEmployeeNumber, setEmployeeType, setGivenName, setManager, setOtherProperties, setSecrets, setSecurityGroups, setSecurityRoles, setSurname, setUserAccountStatus, setUserName, setZoneAccess

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • OpenMetadataUserAccount

      public OpenMetadataUserAccount()
      Default constructor
    • OpenMetadataUserAccount

      public OpenMetadataUserAccount(String userId, org.odpi.openmetadata.frameworks.connectors.properties.users.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 org.odpi.openmetadata.frameworks.connectors.properties.users.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 org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Hash of properties
      Overrides:
      hashCode in class org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
      Returns:
      int