Class DateResponse
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
org.odpi.openmetadata.commonservices.ffdc.rest.DateResponse
- All Implemented Interfaces:
FFDCResponse
DateResponse is the response structure used on OMAG REST API calls that return a date response.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDateResponse(DateResponse template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the date result.inthashCode()Create a hash code for this element type.voidsetDateValue(Date dateValue) Set up the date result.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.FFDCResponseBase
getActionDescription, getExceptionCausedBy, getExceptionClassName, getExceptionErrorMessage, getExceptionErrorMessageId, getExceptionErrorMessageParameters, getExceptionProperties, getExceptionSubclassName, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setActionDescription, setExceptionCausedBy, setExceptionClassName, setExceptionErrorMessage, setExceptionErrorMessageId, setExceptionErrorMessageParameters, setExceptionProperties, setExceptionSubclassName, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCode
-
Constructor Details
-
DateResponse
public DateResponse()Default constructor -
DateResponse
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDateValue
Return the date result.- Returns:
- boolean
-
setDateValue
Set up the date result.- Parameters:
dateValue- boolean
-
toString
Standard toString method.- Overrides:
toStringin classFFDCResponseBase- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classFFDCResponseBase- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classFFDCResponseBase- Returns:
- int hash code
-