Class NameRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.GetOptions
org.odpi.openmetadata.frameworks.openmetadata.search.PagingOptions
org.odpi.openmetadata.frameworks.openmetadata.search.QueryOptions
org.odpi.openmetadata.commonservices.ffdc.rest.ResultsRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody
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
ConstructorsConstructorDescriptionDefault constructorNameRequestBody(NameRequestBody template) Copy/clone constructorNameRequestBody(QueryOptions template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.Return the property name from the open metadata types.inthashCode()Create a hash code for this element type.voidSet 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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.QueryOptions
getAnchorDomainName, getAnchorGUID, getAnchorScopeGUID, getLimitResultsByStatus, getSequencingOrder, getSequencingProperty, setAnchorDomainName, setAnchorGUID, setAnchorScopeGUID, setLimitResultsByStatus, setSequencingOrder, setSequencingPropertyMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.PagingOptions
getPageSize, getStartFrom, setPageSize, setStartFromMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.GetOptions
getAsOfTime, getGraphQueryDepth, getIncludeOnlyClassifiedElements, getIncludeOnlyRelationships, getMetadataElementSubtypeNames, getMetadataElementTypeName, getRelationshipsPageSize, getSkipClassifiedElements, getSkipRelationships, setAsOfTime, setGraphQueryDepth, setIncludeOnlyClassifiedElements, setIncludeOnlyRelationships, setMetadataElementSubtypeNames, setMetadataElementTypeName, setRelationshipsPageSize, setSkipClassifiedElements, setSkipRelationshipsMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
NameRequestBody
public NameRequestBody()Default constructor -
NameRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
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
-
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.- Overrides:
toStringin classResultsRequestBody- 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:
equalsin classQueryOptions- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classQueryOptions- Returns:
- int hash code
-