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:
  • Constructor Details

    • DigitalService

      public DigitalService()
      Default constructor
    • DigitalService

      public DigitalService(DigitalService template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code