Class DatabaseQueryProperties
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.properties.DatabaseQueryProperties
- All Implemented Interfaces:
Serializable
DatabaseQueryProperties describes the properties of query that is used to derive a column in a database.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor for the database query. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.getQuery()
Return the code for the query.Return the identifier that is used in the column formula.Returns the identity of the query target.int
hashCode()
Return hash code based on properties.void
Set up code for query.void
setQueryId
(String queryId) Set the identifier that is used in the column formula.void
setQueryTargetGUID
(String queryTargetGUID) Set up the identity of the query target.toString()
Standard toString method.
-
Constructor Details
-
DatabaseQueryProperties
public DatabaseQueryProperties()Default constructor -
DatabaseQueryProperties
Copy/clone constructor for the database query.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getQueryId
Return the identifier that is used in the column formula.- Returns:
- string identifier
-
setQueryId
Set the identifier that is used in the column formula.- Parameters:
queryId
- string identifier
-
setQuery
Set up code for query.- Parameters:
query
- String logic
-
getQuery
Return the code for the query.- Returns:
- String logic
-
setQueryTargetGUID
Set up the identity of the query target.- Parameters:
queryTargetGUID
- schema attribute GUID
-
getQueryTargetGUID
Returns the identity of the query target.- Returns:
- schema attribute GUID
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-