Class PropertyMatchFindRequest
- 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
-
- org.odpi.openmetadata.repositoryservices.rest.properties.PropertyMatchFindRequest
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EntityPropertyFindRequest,PropertyMatchHistoricalFindRequest
public class PropertyMatchFindRequest extends TypeLimitedFindRequest
PropertyMatchFindRequest adds match properties and the match criteria to a find request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyMatchFindRequest()Default constructorPropertyMatchFindRequest(PropertyMatchFindRequest template)Copy/clone constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.MatchCriteriagetMatchCriteria()Return the criteria for how the properties should match - ie all, any, none.InstancePropertiesgetMatchProperties()Return the collection of match properties for this find request.inthashCode()Create a hash code for this element type.voidsetMatchCriteria(MatchCriteria matchCriteria)Set up the criteria for how the properties should match - ie all, any, nome.voidsetMatchProperties(InstanceProperties matchProperties)Set up the collection of match properties for this find request.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.repositoryservices.rest.properties.TypeLimitedFindRequest
getTypeGUID, setTypeGUID
-
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
-
PropertyMatchFindRequest
public PropertyMatchFindRequest()
Default constructor
-
PropertyMatchFindRequest
public PropertyMatchFindRequest(PropertyMatchFindRequest template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getMatchProperties
public InstanceProperties getMatchProperties()
Return the collection of match properties for this find request.- Returns:
- instance properties object
-
setMatchProperties
public void setMatchProperties(InstanceProperties matchProperties)
Set up the collection of match properties for this find request.- Parameters:
matchProperties- instance properties object
-
getMatchCriteria
public MatchCriteria getMatchCriteria()
Return the criteria for how the properties should match - ie all, any, none.- Returns:
- match criteria enum
-
setMatchCriteria
public void setMatchCriteria(MatchCriteria matchCriteria)
Set up the criteria for how the properties should match - ie all, any, nome.- Parameters:
matchCriteria- match criteria enum
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classTypeLimitedFindRequest- 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:
equalsin classTypeLimitedFindRequest- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classTypeLimitedFindRequest- Returns:
- int hash code
-
-