Class DigitalProductProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.collections.CollectionProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.digitalbusiness.DigitalProductProperties
DigitalProductProperties describes the properties that describe a digital product.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the identifier of the current version.Return the product's identifierReturn 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 status of the product.Return the date when the product is being withdrawn.int
hashCode()
Return hash code for this objectvoid
setCurrentVersion
(String currentVersion) Set up the identifier of the current version.void
setIdentifier
(String identifier) Set up the product's identifier.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
setProductType
(String productType) Set up the type of product.void
setServiceLife
(String serviceLife) Set up the estimated lifetime of the product.void
setUserDefinedStatus
(String userDefinedStatus) Set up the status of the productvoid
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.collections.CollectionProperties
getCollectionType, getDescription, getName, setCollectionType, setDescription, setName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
DigitalProductProperties
public DigitalProductProperties()Default constructor -
DigitalProductProperties
Copy/clone constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getUserDefinedStatus
Return the status of the product.- Returns:
- string
-
setUserDefinedStatus
Set up the status of the product- Parameters:
userDefinedStatus
- string
-
getProductName
Return the product name.- Returns:
- string name
-
setProductName
Set up the product name.- Parameters:
productName
- string name
-
getIdentifier
Return the product's identifier- Returns:
- string
-
setIdentifier
Set up the product's identifier.- Parameters:
identifier
- string
-
getProductType
Return the type of product.- Returns:
- string name
-
setProductType
Set up the type of product.- Parameters:
productType
- string name
-
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
-
toString
Standard toString method.- Overrides:
toString
in classCollectionProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classCollectionProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classCollectionProperties
- Returns:
- int hash code
-