Class OpenMetadataUserAccount
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataUserAccount
OpenMetadataUserAccount extends UserAccount with associated userId property.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorOpenMetadataUserAccount(String userId, UserAccount userAccount) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the list of secret names associated with this user account.Return the userId that identifies the account.inthashCode()Hash of propertiesvoidsetSecretNames(List<String> secretNames) Set up the list of secret names associated with this user account.voidSet up the userId that identifies the account.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
getDisplayName, getDistinguishedName, getEmail, getEmployeeNumber, getEmployeeType, getGivenName, getManager, getOtherProperties, getSecrets, getSecurityGroups, getSecurityRoles, getSurname, getUserAccountStatus, getUserAccountType, getUserName, setDisplayName, setDistinguishedName, setEmail, setEmployeeNumber, setEmployeeType, setGivenName, setManager, setOtherProperties, setSecrets, setSecurityGroups, setSecurityRoles, setSurname, setUserAccountStatus, setUserAccountType, setUserName
-
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
-
getSecretNames
Return the list of secret names associated with this user account.- Returns:
- null or list of secret names
-
setSecretNames
Set up the list of secret names associated with this user account.- Parameters:
secretNames- null or list of secret names
-
toString
Standard toString method.- Overrides:
toStringin 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:
equalsin classUserAccount- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classUserAccount- Returns:
- int
-