Class UseTypeRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.UseTypeRequestBody
UseTypeRequestBody for passing the use type and effective time.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorUseTypeRequestBody
(UseTypeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the use type to use for the query.int
hashCode()
Return hash code for this objectvoid
setUseType
(ServerAssetUseType useType) Set up the use type to use for the query.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
UseTypeRequestBody
public UseTypeRequestBody()Default constructor -
UseTypeRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getUseType
Return the use type to use for the query.- Returns:
- enum
-
setUseType
Set up the use type to use for the query.- Parameters:
useType
- enum
-
toString
JSON-style toString- Overrides:
toString
in classResultsRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classResultsRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classResultsRequestBody
- Returns:
- int hash code
-