Class ActorProfileProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actors.ActorProfileProperties
- Direct Known Subclasses:
ITProfileProperties
,PersonalProfileProperties
,TeamProfileProperties
The ActorProfileProperties describes the common properties of a Personal Profile, IT Profile and Team Profile.
-
Constructor Summary
ConstructorDescriptionDefault ConstructorActorProfileProperties
(ActorProfileProperties template) Copy/clone Constructor - the resulting object. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return description of the person/automated agent/team.Return the name that the person/automated agent/team is known as.int
hashCode()
Just use the GUID for the hash code as it should be unique.void
setDescription
(String description) Set up description of the person/automated agent/team.void
setKnownName
(String knownName) Set up the name that the person/automated agent/team is known as.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
ActorProfileProperties
public ActorProfileProperties()Default Constructor -
ActorProfileProperties
Copy/clone Constructor - the resulting object.- Parameters:
template
- object being copied
-
-
Method Details
-
getKnownName
Return the name that the person/automated agent/team is known as.- Returns:
- string name
-
setKnownName
Set up the name that the person/automated agent/team is known as.- Parameters:
knownName
- string name
-
getDescription
Return description of the person/automated agent/team.- Returns:
- text
-
setDescription
Set up description of the person/automated agent/team.- Parameters:
description
- text
-
toString
JSON-style toString.- Overrides:
toString
in classReferenceableProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in 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:
hashCode
in classReferenceableProperties
- Returns:
- int code
-