java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.governanceprogram.properties.UserIdentityProperties

public class UserIdentityProperties extends ReferenceableProperties
UserIdentityProperties describes an element that is linked to a single userId.
  • Constructor Details

    • UserIdentityProperties

      public UserIdentityProperties()
      Default constructor
    • UserIdentityProperties

      public UserIdentityProperties(UserIdentityProperties template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getUserId

      public String getUserId()
      Return the identifier of the user's account
      Returns:
      string
    • setUserId

      public void setUserId(String userId)
      Return the identifier of the user's account.
      Parameters:
      userId - string
    • getDistinguishedName

      public String getDistinguishedName()
      Return the unique name in LDAP.
      Returns:
      string name
    • setDistinguishedName

      public void setDistinguishedName(String distinguishedName)
      Set up the unique name in LDAP.
      Parameters:
      distinguishedName - string name
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class ReferenceableProperties
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class ReferenceableProperties
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Just use the GUID for the hash code as it should be unique.
      Overrides:
      hashCode in class ReferenceableProperties
      Returns:
      int code