Class DigitalProductProperties

java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties

public class DigitalProductProperties extends ClassificationProperties
DigitalProductProperties describes the properties that describe a digital product. It is typically attached to a solution component, but it can be attached to any referenceable.
  • Constructor Details

    • DigitalProductProperties

      public DigitalProductProperties()
      Default constructor
    • DigitalProductProperties

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

    • getProductStatus

      public DigitalProductStatus getProductStatus()
      Return the status of the product.
      Returns:
      InstanceStatus enum
    • setProductStatus

      public void setProductStatus(DigitalProductStatus productStatus)
      Set up the status of the product
      Parameters:
      productStatus - InstanceStatus enum
    • getProductName

      public String getProductName()
      Return the product name.
      Returns:
      string name
    • setProductName

      public void setProductName(String productName)
      Set up the product name.
      Parameters:
      productName - string name
    • getProductType

      public String getProductType()
      Return the type of product.
      Returns:
      string name
    • setProductType

      public void setProductType(String productType)
      Set up the type of product.
      Parameters:
      productType - string name
    • getDescription

      public String getDescription()
      Return the description.
      Returns:
      text
    • setDescription

      public void setDescription(String description)
      Set up the description.
      Parameters:
      description - text
    • getIntroductionDate

      public Date getIntroductionDate()
      Return the date that the product was added to the market.
      Returns:
      date
    • setIntroductionDate

      public void setIntroductionDate(Date introductionDate)
      Set up the date that the product was added to the market.
      Parameters:
      introductionDate - date
    • getMaturity

      public String getMaturity()
      Return the maturity level of the product.
      Returns:
      string name
    • setMaturity

      public void setMaturity(String maturity)
      Set up the maturity level of the product.
      Parameters:
      maturity - string name
    • getServiceLife

      public String getServiceLife()
      Return the estimated lifetime of the product.
      Returns:
      text
    • setServiceLife

      public void setServiceLife(String serviceLife)
      Set up the estimated lifetime of the product.
      Parameters:
      serviceLife - text
    • getCurrentVersion

      public String getCurrentVersion()
      Return the identifier of the current version.
      Returns:
      string name
    • setCurrentVersion

      public void setCurrentVersion(String currentVersion)
      Set up the identifier of the current version.
      Parameters:
      currentVersion - string name
    • getNextVersionDate

      public Date getNextVersionDate()
      Return the date of the next version of the digital service.
      Returns:
      date
    • setNextVersionDate

      public void setNextVersionDate(Date nextVersionDate)
      Set up the date of the next version of the digital service.
      Parameters:
      nextVersionDate - date
    • getWithdrawDate

      public Date getWithdrawDate()
      Return the date when the product is being withdrawn.
      Returns:
      date
    • setWithdrawDate

      public void setWithdrawDate(Date withdrawDate)
      Set up the date when the product is being withdrawn.
      Parameters:
      withdrawDate - date
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
      Return any additional properties that describe the product.
      Returns:
      name value pairs
    • setAdditionalProperties

      public void setAdditionalProperties(Map<String,String> additionalProperties)
      Set up any additional properties that describe the product.
      Parameters:
      additionalProperties - name value pairs
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ClassificationProperties
      Returns:
      print out of variables in a JSON-style
    • equals

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

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