Class UserIdentityProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.UserIdentityProperties
UserIdentityProperties describes an element that is linked to a single userId.
-
Constructor Summary
ConstructorDescriptionDefault constructorUserIdentityProperties
(UserIdentityProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the unique name in LDAP.Return the identifier of the user's accountint
hashCode()
Just use the GUID for the hash code as it should be unique.void
setDistinguishedName
(String distinguishedName) Set up the unique name in LDAP.void
Return the identifier of the user's account.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
UserIdentityProperties
public UserIdentityProperties()Default constructor -
UserIdentityProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getUserId
Return the identifier of the user's account- Returns:
- string
-
setUserId
Return the identifier of the user's account.- Parameters:
userId
- string
-
getDistinguishedName
Return the unique name in LDAP.- Returns:
- string name
-
setDistinguishedName
Set up the unique name in LDAP.- Parameters:
distinguishedName
- string name
-
toString
JSON-style toString.- Overrides:
toString
in classReferenceableProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classReferenceableProperties
- 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 classReferenceableProperties
- Returns:
- int code
-