Class DataContentForDataSetProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.DataContentForDataSetProperties
-
- All Implemented Interfaces:
Serializable
public class DataContentForDataSetProperties extends RelationshipProperties
DataContentForDataSetProperties defines a query on an asset that returns all or part of the values for a dataset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataContentForDataSetProperties()Default constructorDataContentForDataSetProperties(DataContentForDataSetProperties template)Copy/clone constructor.
-
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 query string for this element.StringgetQueryId()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.inthashCode()Create a hash code for this element type.voidsetQuery(String query)Set 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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
DataContentForDataSetProperties
public DataContentForDataSetProperties()
Default constructor
-
DataContentForDataSetProperties
public DataContentForDataSetProperties(DataContentForDataSetProperties template)
Copy/clone constructor.- Parameters:
template- template to copy.
-
-
Method Detail
-
getQueryId
public String 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
public void setQueryId(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.- Parameters:
queryId- String query identifier
-
getQuery
public String 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
public void setQuery(String query)
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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classRelationshipProperties- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Create a hash code for this element type.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int hash code
-
-