Class PromiseProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.PromiseProperties
Defines the properties for the Promise classification. It marks an element whose real-world digital
resource/artifact has not yet been delivered. Such an element is only visible in lineage requests
(forLineage=true) - it is the counterpart of the Memento classification at the other end of an element's life.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorPromiseProperties(PromiseProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return any additional properties that describe the promise.Return the time that the promised digital resource/artifact was delivered.Return the current status of the promised digital resource/artifact.Return the time that the promised digital resource/artifact is expected to be delivered.Return the time that progress on the delivery was last reviewed.Return the time that work on the promised digital resource/artifact started.Return the user-defined status that extends the standard deployment statuses.inthashCode()Return hash code for this objectvoidsetAdditionalProperties(Map<String, String> additionalProperties) Set up any additional properties that describe the promise.voidsetCompletionTime(Date completionTime) Set up the time that the promised digital resource/artifact was delivered.voidsetDeploymentStatus(DeploymentStatus deploymentStatus) Set up the current status of the promised digital resource/artifact.voidsetDueTime(Date dueTime) Set up the time that the promised digital resource/artifact is expected to be delivered.voidsetLastReviewTime(Date lastReviewTime) Set up the time that progress on the delivery was last reviewed.voidsetStartTime(Date startTime) Set up the time that work on the promised digital resource/artifact started.voidsetUserDefinedDeploymentStatus(String userDefinedDeploymentStatus) Set up the user-defined status that extends the standard deployment statuses.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
PromiseProperties
public PromiseProperties()Default constructor -
PromiseProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDeploymentStatus
Return the current status of the promised digital resource/artifact.- Returns:
- status enum
-
setDeploymentStatus
Set up the current status of the promised digital resource/artifact.- Parameters:
deploymentStatus- status enum
-
getUserDefinedDeploymentStatus
Return the user-defined status that extends the standard deployment statuses.- Returns:
- string
-
setUserDefinedDeploymentStatus
Set up the user-defined status that extends the standard deployment statuses.- Parameters:
userDefinedDeploymentStatus- string
-
getStartTime
Return the time that work on the promised digital resource/artifact started.- Returns:
- date
-
setStartTime
Set up the time that work on the promised digital resource/artifact started.- Parameters:
startTime- date
-
getDueTime
Return the time that the promised digital resource/artifact is expected to be delivered.- Returns:
- date
-
setDueTime
Set up the time that the promised digital resource/artifact is expected to be delivered.- Parameters:
dueTime- date
-
getLastReviewTime
Return the time that progress on the delivery was last reviewed.- Returns:
- date
-
setLastReviewTime
Set up the time that progress on the delivery was last reviewed.- Parameters:
lastReviewTime- date
-
getCompletionTime
Return the time that the promised digital resource/artifact was delivered.- Returns:
- date
-
setCompletionTime
Set up the time that the promised digital resource/artifact was delivered.- Parameters:
completionTime- date
-
getAdditionalProperties
Return any additional properties that describe the promise.- Returns:
- map of name value pairs, all strings
-
setAdditionalProperties
Set up any additional properties that describe the promise.- Parameters:
additionalProperties- map of name value pairs, all strings
-
toString
JSON-style toString- Overrides:
toStringin classClassificationBeanProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classClassificationBeanProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classClassificationBeanProperties- Returns:
- int hash code
-