Class NameRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody
-
- All Implemented Interfaces:
Serializable
public class NameRequestBody extends Object implements Serializable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameRequestBody()Default constructorNameRequestBody(NameRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.DategetEffectiveTime()Return the date/time to use for the query.StringgetName()Return the name for the query request.StringgetNameParameterName()Return the parameter name.StringgetNamePropertyName()Return the property name from the open metadata types.inthashCode()Create a hash code for this element type.voidsetEffectiveTime(Date effectiveTime)Set up the date/time to use for the query.voidsetName(String name)Set up the name for the query request.voidsetNameParameterName(String nameParameterName)Set up the parameter name.voidsetNamePropertyName(String namePropertyName)Set up the property name from the open metadata types.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
NameRequestBody
public NameRequestBody()
Default constructor
-
NameRequestBody
public NameRequestBody(NameRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEffectiveTime
public Date getEffectiveTime()
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
public void setEffectiveTime(Date effectiveTime)
Set up the date/time to use for the query.- Parameters:
effectiveTime- date object
-
getName
public String getName()
Return the name for the query request.- Returns:
- string name
-
setName
public void setName(String name)
Set up the name for the query request.- Parameters:
name- string
-
getNameParameterName
public String getNameParameterName()
Return the parameter name.- Returns:
- string name
-
setNameParameterName
public void setNameParameterName(String nameParameterName)
Set up the parameter name.- Parameters:
nameParameterName- string
-
getNamePropertyName
public String getNamePropertyName()
Return the property name from the open metadata types.- Returns:
- string name
-
setNamePropertyName
public void setNamePropertyName(String namePropertyName)
Set up the property name from the open metadata types.- Parameters:
namePropertyName- string
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-