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
public class TypeLimitedFindRequest extends OMRSAPIPagedFindRequest
TypeLimitedFindRequest extends the paged find request to allow the caller to request results from only one type of instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeLimitedFindRequest()
Default constructorTypeLimitedFindRequest(TypeLimitedFindRequest template)
Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.String
getTypeGUID()
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.String
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 Detail
-
TypeLimitedFindRequest
public TypeLimitedFindRequest()
Default constructor
-
TypeLimitedFindRequest
public TypeLimitedFindRequest(TypeLimitedFindRequest template)
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Detail
-
getTypeGUID
public String getTypeGUID()
Return the type guid to limit the results of the find request.- Returns:
- String guid
-
setTypeGUID
public void setTypeGUID(String typeGUID)
Set up the type guid to limit the results of the find request.- Parameters:
typeGUID
- String guid
-
toString
public String toString()
Standard toString method.- Overrides:
toString
in classOMRSAPIPagedFindRequest
- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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
-
-