Class DigitalProductProperties
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.digitalservice.properties.DigitalProductProperties
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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 type of product.Return the estimated lifetime of the product.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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.digitalservice.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
-
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
-
getNextVersion
Return the date of the next version of the digital service.- Returns:
- date
-
setNextVersion
Set up the date of the next version of the digital service.- Parameters:
nextVersion- 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:
toStringin classClassificationProperties- Returns:
- print out of variables in a JSON-style
-
equals
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
-