Class ActorProfileProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.ActorProfileProperties
-
- All Implemented Interfaces:
Serializable
public class ActorProfileProperties extends ReferenceableProperties
The ActorProfileProperties describes the common properties of a Personal Profile, IT Profile and Team Profile.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActorProfileProperties()Default ConstructorActorProfileProperties(ActorProfileProperties template)Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetDescription()Return description of the person/automated agent/team.StringgetKnownName()Return the name that the person/automated agent/team is known as.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetDescription(String description)Set up description of the person/automated agent/team.voidsetKnownName(String knownName)Set up the name that the person/automated agent/team is known as.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.securitymanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
ActorProfileProperties
public ActorProfileProperties()
Default Constructor
-
ActorProfileProperties
public ActorProfileProperties(ActorProfileProperties template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getKnownName
public String getKnownName()
Return the name that the person/automated agent/team is known as.- Returns:
- string name
-
setKnownName
public void setKnownName(String knownName)
Set up the name that the person/automated agent/team is known as.- Parameters:
knownName- string name
-
getDescription
public String getDescription()
Return description of the person/automated agent/team.- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up description of the person/automated agent/team.- Parameters:
description- text
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classReferenceableProperties- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin 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:
hashCodein classReferenceableProperties- Returns:
- int code
-
-