Class UserIdentityProperties
java.lang.Object
org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.devops.properties.UserIdentityProperties
- All Implemented Interfaces:
Serializable
UserIdentityProperties describes an element that is linked to a single userId.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUserIdentityProperties(UserIdentityProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the unique name in LDAP.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetDistinguishedName(String distinguishedName) Set up the unique name in LDAP.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.devops.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
UserIdentityProperties
public UserIdentityProperties()Default constructor -
UserIdentityProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
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:
toStringin classReferenceableProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin 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:
hashCodein classReferenceableProperties- Returns:
- int code
-