Class DigitalService
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataprivacy.properties.DataPrivacyElementHeader
-
- org.odpi.openmetadata.accessservices.dataprivacy.properties.DigitalService
-
- All Implemented Interfaces:
Serializable
public class DigitalService extends DataPrivacyElementHeader
DigitalService is an anchor object for tracking the lifecycle of one of an organization's digital service. The digital service instance is create when the digital service is just a concept. It is used to record the role and implementation style that it has along with information about how it will operate. As the digital service moved through its lifecycle from implementation to deployment to use, more information is attached to the digital service instance to support the correct management and compliance of the service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalService()Default constructorDigitalService(DigitalService template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.Map<String,Object>getAdditionalProperties()Return any additional properties associated with the asset.List<Classification>getClassifications()Return the list of active classifications for this asset.StringgetDescription()Return the description for this asset.StringgetDisplayName()Return the display name for this asset (normally a shortened for of the qualified name).StringgetGUID()Return the unique identifier for this asset.DigitalServiceImplementationStylegetImplementationStyle()Return the implementation style of the digital service.StringgetQualifiedName()Return the unique name for this asset.DigitalServiceResponsibilitygetResponsibility()Return whether this is a data controller or data processor.DigitalServiceStatusgetStatus()Return the status of the digital service.StringgetTypeDescription()Return the description for this Asset's type.StringgetTypeId()Return the unique identifier for this Asset's type.StringgetTypeName()Return the name for this Asset's type.longgetTypeVersion()Return the version number for this Asset's type.StringgetURL()Return the URL for this asset.DigitalServiceVisibilitygetVisibility()Return the visibility of the digital service's implementation.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,Object> additionalProperties)Set up any additional properties associated with the asset.voidsetClassifications(List<Classification> classifications)Set up the list of active classifications for this asset.voidsetDescription(String description)Set up the description for this asset.voidsetDisplayName(String displayName)Set up the display name for this asset (normally a shortened for of the qualified name).voidsetGUID(String guid)Set up the unique identifier for this asset.voidsetImplementationStyle(DigitalServiceImplementationStyle implementationStyle)Set up the implementation style of the digital service.voidsetQualifiedName(String qualifiedName)Set up the unique name for this asset.voidsetResponsibility(DigitalServiceResponsibility responsibility)Set up whether this is a data controller or data processor.voidsetStatus(DigitalServiceStatus status)Set up the status of the digital service.voidsetTypeDescription(String typeDescription)Set up the description for this Asset's type.voidsetTypeId(String typeId)Set up the unique identifier for this Asset's type.voidsetTypeName(String typeName)Set up the name for this Asset's type.voidsetTypeVersion(long typeVersion)Set up the version number for this Asset's type.voidsetURL(String url)Set up the URL for this asset.voidsetVisibility(DigitalServiceVisibility visibility)Set up the visibility of the digital service's implementation.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
DigitalService
public DigitalService()
Default constructor
-
DigitalService
public DigitalService(DigitalService template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getURL
public String getURL()
Return the URL for this asset.- Returns:
- URL string
-
setURL
public void setURL(String url)
Set up the URL for this asset.- Parameters:
url- URL string
-
getGUID
public String getGUID()
Return the unique identifier for this asset.- Returns:
- string guid
-
setGUID
public void setGUID(String guid)
Set up the unique identifier for this asset.- Parameters:
guid- string guid for this asset
-
getTypeId
public String getTypeId()
Return the unique identifier for this Asset's type.- Returns:
- string guid for type
-
setTypeId
public void setTypeId(String typeId)
Set up the unique identifier for this Asset's type.- Parameters:
typeId- string guid for type
-
getTypeName
public String getTypeName()
Return the name for this Asset's type.- Returns:
- string name
-
setTypeName
public void setTypeName(String typeName)
Set up the name for this Asset's type.- Parameters:
typeName- string name
-
getTypeVersion
public long getTypeVersion()
Return the version number for this Asset's type.- Returns:
- long
-
setTypeVersion
public void setTypeVersion(long typeVersion)
Set up the version number for this Asset's type.- Parameters:
typeVersion- long
-
getTypeDescription
public String getTypeDescription()
Return the description for this Asset's type.- Returns:
- string description
-
setTypeDescription
public void setTypeDescription(String typeDescription)
Set up the description for this Asset's type.- Parameters:
typeDescription- string description
-
getQualifiedName
public String getQualifiedName()
Return the unique name for this asset.- Returns:
- string name
-
setQualifiedName
public void setQualifiedName(String qualifiedName)
Set up the unique name for this asset.- Parameters:
qualifiedName- string name
-
getDisplayName
public String getDisplayName()
Return the display name for this asset (normally a shortened for of the qualified name).- Returns:
- string name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the display name for this asset (normally a shortened for of the qualified name).- Parameters:
displayName- string name
-
getDescription
public String getDescription()
Return the description for this asset.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description for this asset.- Parameters:
description- string
-
getImplementationStyle
public DigitalServiceImplementationStyle getImplementationStyle()
Return the implementation style of the digital service.- Returns:
- enum value
-
setImplementationStyle
public void setImplementationStyle(DigitalServiceImplementationStyle implementationStyle)
Set up the implementation style of the digital service.- Parameters:
implementationStyle- enum value
-
getStatus
public DigitalServiceStatus getStatus()
Return the status of the digital service.- Returns:
- enum value
-
setStatus
public void setStatus(DigitalServiceStatus status)
Set up the status of the digital service.- Parameters:
status- enum value
-
getVisibility
public DigitalServiceVisibility getVisibility()
Return the visibility of the digital service's implementation.- Returns:
- enum value
-
setVisibility
public void setVisibility(DigitalServiceVisibility visibility)
Set up the visibility of the digital service's implementation.- Parameters:
visibility- enum value
-
getResponsibility
public DigitalServiceResponsibility getResponsibility()
Return whether this is a data controller or data processor.- Returns:
- enum value
-
setResponsibility
public void setResponsibility(DigitalServiceResponsibility responsibility)
Set up whether this is a data controller or data processor.- Parameters:
responsibility- enum value
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return any additional properties associated with the asset.- Returns:
- map of property names to property values
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,Object> additionalProperties)
Set up any additional properties associated with the asset.- Parameters:
additionalProperties- map of property names to property values
-
getClassifications
public List<Classification> getClassifications()
Return the list of active classifications for this asset.- Returns:
- list of classification objects
-
setClassifications
public void setClassifications(List<Classification> classifications)
Set up the list of active classifications for this asset.- Parameters:
classifications- list of classification objects
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-