Class FindProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
- Direct Known Subclasses:
DataFieldQueryProperties
,FindAssetOriginProperties
,FindNameProperties
,FindPropertyNamesProperties
,LevelIdentifierProperties
FindProperties provides the base class for find by property requests.
-
Constructor Summary
ConstructorDescriptionDefault constructorFindProperties
(FindProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the time used for a historical query - null mean current repository contents.Return the date/time to use for the query.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
setAsOfTime
(Date asOfTime) Set up the time used for a historical query - null mean current repository contents.void
setEffectiveTime
(Date effectiveTime) Set up the date/time to use for the query.void
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.
-
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
-
getEffectiveTime
Return the date/time to use for the query.- Returns:
- date object
-
setEffectiveTime
Set up the date/time to use for the query.- Parameters:
effectiveTime
- date object
-
getAsOfTime
Return the time used for a historical query - null mean current repository contents.- Returns:
- date/time object
-
setAsOfTime
Set up the time used for a historical query - null mean current repository contents.- Parameters:
asOfTime
- date/time object
-
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. -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-