Class SolutionElementStatusRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.SolutionElementStatusRequestBody
SolutionElementStatusRequestBody provides a new status for the solution element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the new status of the solution element.int
hashCode()
Return hash code for this objectvoid
setStatus
(SolutionElementStatus status) Set up the new status of the solution element.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.MetadataSourceRequestBody
getEffectiveTime, getExternalSourceGUID, getExternalSourceName, getForDuplicateProcessing, getForLineage, setEffectiveTime, setExternalSourceGUID, setExternalSourceName, setForDuplicateProcessing, setForLineage
-
Constructor Details
-
SolutionElementStatusRequestBody
public SolutionElementStatusRequestBody()Default constructor -
SolutionElementStatusRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getStatus
Return the new status of the solution element.- Returns:
- instance status
-
setStatus
Set up the new status of the solution element.- Parameters:
status
- instance status
-
toString
JSON-style toString.- Overrides:
toString
in classMetadataSourceRequestBody
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classMetadataSourceRequestBody
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classMetadataSourceRequestBody
- Returns:
- int hash code
-