Class DerivedSchemaTypeQueryTargetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.DerivedSchemaTypeQueryTargetProperties
DerivedSchemaTypeQueryTargetProperties defines a query on a schema element that returns all or part of the value for a
derived schema type.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
typeName -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Returns the stored qualified name of the associated information supply chain.getQuery()Return the query string for this element.Return the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.Return the name of the query language used in the query.inthashCode()Create a hash code for this element type.voidsetISCQualifiedName(String iscQualifiedName) Set up the fully qualified name of the associated information supply chain.voidSet up the query string for this element.voidsetQueryId(String queryId) Set up the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.voidsetQueryType(String queryType) Set up the name of the query language used in the query.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipBeanProperties
getExtendedProperties, getTypeName, setExtendedProperties, setTypeNameMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, setEffectiveFrom, setEffectiveTo
-
Constructor Details
-
DerivedSchemaTypeQueryTargetProperties
public DerivedSchemaTypeQueryTargetProperties()Default constructor -
DerivedSchemaTypeQueryTargetProperties
Copy/clone constructor.- Parameters:
template- template schema query to copy.
-
-
Method Details
-
getQueryId
Return the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.- Returns:
- String query identifier
-
setQueryId
Set up the query id - this is used to identify where the results of this query should be plugged into the other queries or the formula for the parent derived schema element.- Parameters:
queryId- String query identifier
-
getQuery
Return the query string for this element. The query string may have placeholders for values returned by queries that have a lower queryId than this element.- Returns:
- String query
-
setQuery
Set up the query string for this element. The query string may have placeholders for values returned by queries that have a lower queryId than this element.- Parameters:
query- String query
-
getQueryType
Return the name of the query language used in the query.- Returns:
- queryType String
-
setQueryType
Set up the name of the query language used in the query.- Parameters:
queryType- String name
-
setISCQualifiedName
Set up the fully qualified name of the associated information supply chain.- Parameters:
iscQualifiedName- String name
-
getISCQualifiedName
Returns the stored qualified name of the associated information supply chain.- Returns:
- qualifiedName
-
toString
Standard toString method.- Overrides:
toStringin classRelationshipBeanProperties- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipBeanProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Create a hash code for this element type.- Overrides:
hashCodein classRelationshipBeanProperties- Returns:
- int hash code
-