Class OpenMetadataUserAccount
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataUserAccount
OpenMetadataUserAccount extends UserAccount 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
getAccountType, getDisplayName, getDistinguishedName, getEmail, getEmployeeNumber, getEmployeeType, getGivenName, getManager, getOtherProperties, getSecrets, getSecurityGroups, getSecurityRoles, getSurname, getUserAccountStatus, getUserName, getZoneAccess, setAccountType, setDisplayName, setDistinguishedName, setEmail, setEmployeeNumber, setEmployeeType, setGivenName, setManager, setOtherProperties, setSecrets, setSecurityGroups, setSecurityRoles, setSurname, 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
-