Class DigitalService

  • All Implemented Interfaces:
    java.io.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 Detail

      • DigitalService

        public DigitalService()
        Default constructor
      • DigitalService

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

      • getURL

        public java.lang.String getURL()
        Return the URL for this asset.
        Returns:
        URL string
      • setURL

        public void setURL​(java.lang.String url)
        Set up the URL for this asset.
        Parameters:
        url - URL string
      • getGUID

        public java.lang.String getGUID()
        Return the unique identifier for this asset.
        Returns:
        string guid
      • setGUID

        public void setGUID​(java.lang.String guid)
        Set up the unique identifier for this asset.
        Parameters:
        guid - string guid for this asset
      • getTypeId

        public java.lang.String getTypeId()
        Return the unique identifier for this Asset's type.
        Returns:
        string guid for type
      • setTypeId

        public void setTypeId​(java.lang.String typeId)
        Set up the unique identifier for this Asset's type.
        Parameters:
        typeId - string guid for type
      • getTypeName

        public java.lang.String getTypeName()
        Return the name for this Asset's type.
        Returns:
        string name
      • setTypeName

        public void setTypeName​(java.lang.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 java.lang.String getTypeDescription()
        Return the description for this Asset's type.
        Returns:
        string description
      • setTypeDescription

        public void setTypeDescription​(java.lang.String typeDescription)
        Set up the description for this Asset's type.
        Parameters:
        typeDescription - string description
      • getQualifiedName

        public java.lang.String getQualifiedName()
        Return the unique name for this asset.
        Returns:
        string name
      • setQualifiedName

        public void setQualifiedName​(java.lang.String qualifiedName)
        Set up the unique name for this asset.
        Parameters:
        qualifiedName - string name
      • getDisplayName

        public java.lang.String getDisplayName()
        Return the display name for this asset (normally a shortened for of the qualified name).
        Returns:
        string name
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
        Set up the display name for this asset (normally a shortened for of the qualified name).
        Parameters:
        displayName - string name
      • getDescription

        public java.lang.String getDescription()
        Return the description for this asset.
        Returns:
        string description
      • setDescription

        public void setDescription​(java.lang.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 java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return any additional properties associated with the asset.
        Returns:
        map of property names to property values
      • setAdditionalProperties

        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> additionalProperties)
        Set up any additional properties associated with the asset.
        Parameters:
        additionalProperties - map of property names to property values
      • getClassifications

        public java.util.List<Classification> getClassifications()
        Return the list of active classifications for this asset.
        Returns:
        list of classification objects
      • setClassifications

        public void setClassifications​(java.util.List<Classification> classifications)
        Set up the list of active classifications for this asset.
        Parameters:
        classifications - list of classification objects
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class java.lang.Object
        Returns:
        return string containing the property names and values
      • equals

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

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