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
ConstructorsConstructorDescriptionDefault constructorTypeLimitedFindRequest(TypeLimitedFindRequest template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Create a hash code for this element type.voidsetTypeGUID(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, setSequencingPropertyMethods 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:
toStringin 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:
equalsin classOMRSAPIPagedFindRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classOMRSAPIPagedFindRequest- Returns:
- int hash code
-