Class FindNameProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.FindNameProperties
FindNameProperties 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 constructorFindNameProperties
(FindNameProperties 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.int
hashCode()
Create a hash code for this element type.void
Set up the name for the query request.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getOpenMetadataTypeName, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setOpenMetadataTypeName, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
FindNameProperties
public FindNameProperties()Default constructor -
FindNameProperties
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
-
toString
Standard toString method.- Overrides:
toString
in classFindProperties
- 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 classFindProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classFindProperties
- Returns:
- int hash code
-