Class DigitalProductProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.ClassificationProperties
-
- org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties
-
- All Implemented Interfaces:
Serializable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalProductProperties()Default constructorDigitalProductProperties(DigitalProductProperties 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,String>getAdditionalProperties()Return any additional properties that describe the product.StringgetCurrentVersion()Return the identifier of the current version.StringgetDescription()Return the description.DategetIntroductionDate()Return the date that the product was added to the market.StringgetMaturity()Return the maturity level of the product.DategetNextVersion()Return the date of the next version of the digital service.StringgetProductName()Return the product name.StringgetProductType()Return the type of product.StringgetServiceLife()Return the estimated lifetime of the product.DategetWithdrawDate()Return the date when the product is being withdrawn.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String,String> additionalProperties)Set up any additional properties that describe the product.voidsetCurrentVersion(String currentVersion)Set up the identifier of the current version.voidsetDescription(String description)Set up the description.voidsetIntroductionDate(Date introductionDate)Set up the date that the product was added to the market.voidsetMaturity(String maturity)Set up the maturity level of the product.voidsetNextVersion(Date nextVersion)Set up the date of the next version of the digital service.voidsetProductName(String productName)Set up the product name.voidsetProductType(String productType)Set up the type of product.voidsetServiceLife(String serviceLife)Set up the estimated lifetime of the product.voidsetWithdrawDate(Date withdrawDate)Set up the date when the product is being withdrawn.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
DigitalProductProperties
public DigitalProductProperties()
Default constructor
-
DigitalProductProperties
public DigitalProductProperties(DigitalProductProperties template)
Copy/clone constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
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
-
getNextVersion
public Date getNextVersion()
Return the date of the next version of the digital service.- Returns:
- date
-
setNextVersion
public void setNextVersion(Date nextVersion)
Set up the date of the next version of the digital service.- Parameters:
nextVersion- 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:
toStringin classClassificationProperties- 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:
equalsin classClassificationProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classClassificationProperties- Returns:
- int hash code
-
-