Class NameRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.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.Return the date/time to use for the query.getName()
Return the name for the query request.Return the parameter name.Return the property name from the open metadata types.int
hashCode()
Create a hash code for this element type.void
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
Set up the name for the query request.void
setNameParameterName
(String nameParameterName) Set up the parameter name.void
setNamePropertyName
(String namePropertyName) Set up the property name from the open metadata types.toString()
Standard toString method.
-
Constructor Details
-
NameRequestBody
public NameRequestBody()Default constructor -
NameRequestBody
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
-
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
-
getNamePropertyName
Return the property name from the open metadata types.- Returns:
- string name
-
setNamePropertyName
Set up the property name from the open metadata types.- Parameters:
namePropertyName
- string
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-