Class UserIdentityProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.UserIdentityProperties
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserIdentityRequestBody
public class UserIdentityProperties extends ReferenceableProperties
UserIdentityProperties describes an element that is linked to a single userId.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserIdentityProperties()Default constructorUserIdentityProperties(UserIdentityProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetDistinguishedName()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.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
UserIdentityProperties
public UserIdentityProperties()
Default constructor
-
UserIdentityProperties
public UserIdentityProperties(UserIdentityProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
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:
toStringin classReferenceableProperties- 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:
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
-
-