Class AnyTimeRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
org.odpi.openmetadata.frameworkservices.gaf.rest.AnyTimeRequestBody
public class AnyTimeRequestBody
extends org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
AnyTimeRequestBody describes the start and stop time of the historical query.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAnyTimeRequestBody(AnyTimeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the repository date/time to use for the query.inthashCode()Return hash code for this objectvoidsetAsOfTime(Date asOfTime) Set up the repository date/time to use for the query.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody
getEffectiveTime, setEffectiveTime
-
Constructor Details
-
AnyTimeRequestBody
public AnyTimeRequestBody()Default constructor -
AnyTimeRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getAsOfTime
Return the repository date/time to use for the query.- Returns:
- date object
-
setAsOfTime
Set up the repository date/time to use for the query.- Parameters:
asOfTime- date object
-
toString
JSON-style toString- Overrides:
toStringin classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classorg.odpi.openmetadata.commonservices.ffdc.rest.EffectiveTimeRequestBody- Returns:
- int hash code
-