Class FindProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindRequest
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
- Direct Known Subclasses:
FindAssetOriginProperties
,FindNameProperties
,FindPropertyNamesProperties
,LevelIdentifierQueryProperties
,SecurityTagQueryProperties
,SemanticAssignmentQueryProperties
FindProperties provides the base class for find by property requests.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorFindProperties
(FindProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the status values that the resulting metadata elements must match.Return the open metadata type name to filter by.Return the order that the results should be returned in.Return the name of the property whose value will be used to sequence the results.int
hashCode()
Return hash code for this objectvoid
setLimitResultsByStatus
(List<ElementStatus> limitResultsByStatus) Set up the status values that the resulting metadata elements must match.void
setOpenMetadataTypeName
(String openMetadataTypeName) Set up the open metadata type name to filer by.void
setSequencingOrder
(SequencingOrder sequencingOrder) Set up the order that the results should be returned in.void
setSequencingProperty
(String sequencingProperty) Set up the name of the property whose value will be used to sequence the results.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.FindRequest
getAsOfTime, getEffectiveTime, setAsOfTime, setEffectiveTime
-
Constructor Details
-
FindProperties
public FindProperties()Default constructor -
FindProperties
Copy/clone constructor. Retrieve values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
getOpenMetadataTypeName
Return the open metadata type name to filter by.- Returns:
- string name
-
setOpenMetadataTypeName
Set up the open metadata type name to filer by.- Parameters:
openMetadataTypeName
- string name
-
getLimitResultsByStatus
Return the status values that the resulting metadata elements must match. By default, relationships in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values except DELETED.- Returns:
- status values
-
setLimitResultsByStatus
Set up the status values that the resulting metadata elements must match.- Parameters:
limitResultsByStatus
- By default, relationships in all non-DELETED statuses are returned. However, it is possible to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all status values except DELETED.
-
getSequencingProperty
Return the name of the property whose value will be used to sequence the results.- Returns:
- property name
-
setSequencingProperty
Set up the name of the property whose value will be used to sequence the results.- Parameters:
sequencingProperty
- property name
-
getSequencingOrder
Return the order that the results should be returned in.- Returns:
- enum for the sequencing order
-
setSequencingOrder
Set up the order that the results should be returned in.- Parameters:
sequencingOrder
- enum for the sequencing order
-
toString
Standard toString method.- Overrides:
toString
in classFindRequest
- Returns:
- print out of variables in a JSON-style
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classFindRequest
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classFindRequest
- Returns:
- int hash code
-