Class DatabaseQueryProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.properties.DatabaseQueryProperties
-
- All Implemented Interfaces:
Serializable
public class DatabaseQueryProperties extends Object implements Serializable
DatabaseQueryProperties describes the properties of query that is used to derive a column in a database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DatabaseQueryProperties()Default constructorDatabaseQueryProperties(DatabaseQueryProperties template)Copy/clone constructor for the database query.
-
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.StringgetQuery()Return the code for the query.StringgetQueryId()Return the identifier that is used in the column formula.StringgetQueryTargetGUID()Returns the identity of the query target.inthashCode()Return has code based on properties.voidsetQuery(String query)Set up code for query.voidsetQueryId(String queryId)Set the identifier that is used in the column formula.voidsetQueryTargetGUID(String queryTargetGUID)Set up the identity of the query target.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
DatabaseQueryProperties
public DatabaseQueryProperties()
Default constructor
-
DatabaseQueryProperties
public DatabaseQueryProperties(DatabaseQueryProperties template)
Copy/clone constructor for the database query.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getQueryId
public String getQueryId()
Return the identifier that is used in the column formula.- Returns:
- string identifier
-
setQueryId
public void setQueryId(String queryId)
Set the identifier that is used in the column formula.- Parameters:
queryId- string identifier
-
setQuery
public void setQuery(String query)
Set up code for query.- Parameters:
query- String logic
-
getQuery
public String getQuery()
Return the code for the query.- Returns:
- String logic
-
setQueryTargetGUID
public void setQueryTargetGUID(String queryTargetGUID)
Set up the identity of the query target.- Parameters:
queryTargetGUID- schema attribute GUID
-
getQueryTargetGUID
public String getQueryTargetGUID()
Returns the identity of the query target.- Returns:
- schema attribute GUID
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-