Class DigitalProductProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.DigitalProductProperties
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 Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return any additional properties that describe the product.Return the identifier of the current version.Return the description.Return the date that the product was added to the market.Return the maturity level of the product.Return the date of the next version of the digital service.Return the product name.Return the status of the product.Return the type of product.Return the estimated lifetime of the product.Return the date when the product is being withdrawn.int
hashCode()
Return hash code for this objectvoid
setAdditionalProperties
(Map<String, String> additionalProperties) Set up any additional properties that describe the product.void
setCurrentVersion
(String currentVersion) Set up the identifier of the current version.void
setDescription
(String description) Set up the description.void
setIntroductionDate
(Date introductionDate) Set up the date that the product was added to the market.void
setMaturity
(String maturity) Set up the maturity level of the product.void
setNextVersionDate
(Date nextVersionDate) Set up the date of the next version of the digital service.void
setProductName
(String productName) Set up the product name.void
setProductStatus
(DigitalProductStatus productStatus) Set up the status of the productvoid
setProductType
(String productType) Set up the type of product.void
setServiceLife
(String serviceLife) Set up the estimated lifetime of the product.void
setWithdrawDate
(Date withdrawDate) Set up the date when the product is being withdrawn.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DigitalProductProperties
public DigitalProductProperties()Default constructor -
DigitalProductProperties
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getProductStatus
Return the status of the product.- Returns:
- InstanceStatus enum
-
setProductStatus
Set up the status of the product- Parameters:
productStatus
- InstanceStatus enum
-
getProductName
Return the product name.- Returns:
- string name
-
setProductName
Set up the product name.- Parameters:
productName
- string name
-
getProductType
Return the type of product.- Returns:
- string name
-
setProductType
Set up the type of product.- Parameters:
productType
- string name
-
getDescription
Return the description.- Returns:
- text
-
setDescription
Set up the description.- Parameters:
description
- text
-
getIntroductionDate
Return the date that the product was added to the market.- Returns:
- date
-
setIntroductionDate
Set up the date that the product was added to the market.- Parameters:
introductionDate
- date
-
getMaturity
Return the maturity level of the product.- Returns:
- string name
-
setMaturity
Set up the maturity level of the product.- Parameters:
maturity
- string name
-
getServiceLife
Return the estimated lifetime of the product.- Returns:
- text
-
setServiceLife
Set up the estimated lifetime of the product.- Parameters:
serviceLife
- text
-
getCurrentVersion
Return the identifier of the current version.- Returns:
- string name
-
setCurrentVersion
Set up the identifier of the current version.- Parameters:
currentVersion
- string name
-
getNextVersionDate
Return the date of the next version of the digital service.- Returns:
- date
-
setNextVersionDate
Set up the date of the next version of the digital service.- Parameters:
nextVersionDate
- date
-
getWithdrawDate
Return the date when the product is being withdrawn.- Returns:
- date
-
setWithdrawDate
Set up the date when the product is being withdrawn.- Parameters:
withdrawDate
- date
-
getAdditionalProperties
Return any additional properties that describe the product.- Returns:
- name value pairs
-
setAdditionalProperties
Set up any additional properties that describe the product.- Parameters:
additionalProperties
- name value pairs
-
toString
Standard toString method.- Overrides:
toString
in classClassificationProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classClassificationProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int hash code
-