Class NameRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
org.odpi.openmetadata.accessservices.assetmanager.rest.NameRequestBody
- Direct Known Subclasses:
GlossaryNameRequestBody
NameRequestBody is the request body structure used on OMAG REST API calls that passes a name that is used to retrieve
an element by name.
-
Constructor Summary
ConstructorDescriptionDefault constructorNameRequestBody
(NameRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getName()
Return the name for the query request.Return the parameter name.int
hashCode()
Create a hash code for this element type.void
Set up the name for the query request.void
setNameParameterName
(String nameParameterName) Set up the parameter name.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.EffectiveTimeQueryRequestBody
getEffectiveTime, setEffectiveTime
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.rest.AssetManagerIdentifiersRequestBody
getAssetManagerGUID, getAssetManagerName, setAssetManagerGUID, setAssetManagerName
-
Constructor Details
-
NameRequestBody
public NameRequestBody()Default constructor -
NameRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name for the query request.- Returns:
- string name
-
setName
Set up the name for the query request.- Parameters:
name
- string
-
getNameParameterName
Return the parameter name.- Returns:
- string name
-
setNameParameterName
Set up the parameter name.- Parameters:
nameParameterName
- string
-
toString
Standard toString method.- Overrides:
toString
in classEffectiveTimeQueryRequestBody
- 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:
equals
in classEffectiveTimeQueryRequestBody
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classEffectiveTimeQueryRequestBody
- Returns:
- int hash code
-