Class ProfileIdentityProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ProfileIdentityProperties
ProfileIdentityProperties describes the properties for the ProfileIdentity relationship between a profile
and a user identity.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the description of the user identity with respect to the individual.Return the instance of the role.Return the type of the role.int
hashCode()
Hash code for this objectvoid
setDescription
(String description) Set up the description of the user identity with respect to the individual.void
setRoleGUID
(String roleGUID) Set up the instance of the role.void
setRoleTypeName
(String roleTypeName) Set up the type of the role.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ProfileIdentityProperties
public ProfileIdentityProperties()Default constructor -
ProfileIdentityProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRoleTypeName
Return the type of the role.- Returns:
- name
-
setRoleTypeName
Set up the type of the role.- Parameters:
roleTypeName
- name
-
getRoleGUID
Return the instance of the role.- Returns:
- guid
-
setRoleGUID
Set up the instance of the role.- Parameters:
roleGUID
- guid
-
getDescription
Return the description of the user identity with respect to the individual.- Returns:
- value string
-
setDescription
Set up the description of the user identity with respect to the individual.- Parameters:
description
- value string
-
toString
JSON-style toString.- Overrides:
toString
in classRelationshipProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-