Class EffectiveTimeMetadataSourceRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.rest.ITInfrastructureOMASAPIRequestBody
org.odpi.openmetadata.accessservices.itinfrastructure.rest.MetadataSourceRequestBody
org.odpi.openmetadata.accessservices.itinfrastructure.rest.EffectiveTimeMetadataSourceRequestBody
- Direct Known Subclasses:
ControlFlowRequestBody,DataFlowRequestBody,LineageMappingRequestBody,ProcessCallRequestBody
EffectiveTimeRequestBody carries the date/time for a query.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the date/time to use for the query.inthashCode()Return hash code for this objectvoidsetEffectiveTime(Date effectiveTime) Set up the date/time to use for the query.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.itinfrastructure.rest.MetadataSourceRequestBody
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
-
Constructor Details
-
EffectiveTimeMetadataSourceRequestBody
public EffectiveTimeMetadataSourceRequestBody()Default constructor -
EffectiveTimeMetadataSourceRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime- date object
-
toString
JSON-style toString- Overrides:
toStringin classMetadataSourceRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classMetadataSourceRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classMetadataSourceRequestBody- Returns:
- int hash code
-