Class OpenMetadataUserAccount
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataUserAccount
OpenMetadataUserAccount extends OpenMetadataUserDetails with properties that should not leave the server.
-
Constructor Summary
ConstructorDescriptionDefault constructorOpenMetadataUserAccount
(String userId, UserAccount userAccount) Copy constructor -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
getDistinguishedName, getOtherProperties, getSecrets, getSecurityGroups, getSecurityRoles, getUserAccountStatus, getUserName, getZoneAccess, setDistinguishedName, setOtherProperties, setSecrets, setSecurityGroups, setSecurityRoles, setUserAccountStatus, setUserName, setZoneAccess
-
Constructor Details
-
OpenMetadataUserAccount
public OpenMetadataUserAccount()Default constructor -
OpenMetadataUserAccount
Copy constructor- Parameters:
userId
- associated user account identifieruserAccount
- super class properties
-
-
Method Details
-
getUserId
Return the userId that identifies the account.- Returns:
- string identifier
-
setUserId
Set up the userId that identifies the account.- Parameters:
userId
- string identifier
-
toString
Standard toString method.- Overrides:
toString
in classUserAccount
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classUserAccount
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classUserAccount
- Returns:
- int
-