Class UserIdentityProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class UserIdentityProperties
    extends ReferenceableProperties
    UserIdentityProperties describes an element that is linked to a single userId.
    See Also:
    Serialized Form
    • Constructor Detail

      • UserIdentityProperties

        public UserIdentityProperties()
        Default constructor
      • UserIdentityProperties

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

      • getUserId

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

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

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

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

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

        public boolean equals​(java.lang.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