Class TypeLimitedFindRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIPagedFindRequest
org.odpi.openmetadata.repositoryservices.rest.properties.TypeLimitedFindRequest
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PropertyMatchFindRequest
,SubtypeLimitedFindRequest
,TypeLimitedHistoricalFindRequest
TypeLimitedFindRequest extends the paged find request to allow the caller to request results from only
one type of instance.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorTypeLimitedFindRequest
(TypeLimitedFindRequest 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 type guid to limit the results of the find request.int
hashCode()
Create a hash code for this element type.void
setTypeGUID
(String typeGUID) Set up the type guid to limit the results of the find request.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIPagedFindRequest
getOffset, getPageSize, getSequencingOrder, getSequencingProperty, setOffset, setPageSize, setSequencingOrder, setSequencingProperty
Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIFindRequest
getLimitResultsByStatus, setLimitResultsByStatus
-
Constructor Details
-
TypeLimitedFindRequest
public TypeLimitedFindRequest()Default constructor -
TypeLimitedFindRequest
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getTypeGUID
Return the type guid to limit the results of the find request.- Returns:
- String guid
-
setTypeGUID
Set up the type guid to limit the results of the find request.- Parameters:
typeGUID
- String guid
-
toString
Standard toString method.- Overrides:
toString
in classOMRSAPIPagedFindRequest
- 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 classOMRSAPIPagedFindRequest
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCode
in classOMRSAPIPagedFindRequest
- Returns:
- int hash code
-