Class DataSetProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.AssetProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.DataAssetProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.DataSetProperties
DataSetProperties is a class for representing a generic data set.
-
Constructor Summary
ConstructorDescriptionDefault constructorDataSetProperties
(DataSetProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the formula that generates the data set from its source assets.Return the format of the expression provided in the formula attribute.int
hashCode()
Return hash code based on properties.void
setFormula
(String formula) Set up formula that generates the data set from its source assets.void
setFormulaType
(String formulaType) Set up the format of the expression provided in the formula attribute.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.DataAssetProperties
getDeployedImplementationType, getIsReferenceAsset, setDeployedImplementationType, setIsReferenceAsset
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.AssetProperties
getTechnicalDescription, getTechnicalName, getVersionIdentifier, setTechnicalDescription, setTechnicalName, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
DataSetProperties
public DataSetProperties()Default constructor -
DataSetProperties
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getFormula
Return the formula that generates the data set from its source assets. This formula may have references to query ids that are stored in the DataContentForDataSet relationship.- Returns:
- string encoded formula
-
setFormula
Set up formula that generates the data set from its source assets. This formula may have references to query ids that are stored in the DataContentForDataSet relationship.- Parameters:
formula
- string encoded formula
-
getFormulaType
Return the format of the expression provided in the formula attribute.- Returns:
- string name
-
setFormulaType
Set up the format of the expression provided in the formula attribute.- Parameters:
formulaType
- string name
-
toString
Standard toString method.- Overrides:
toString
in classDataAssetProperties
- 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:
equals
in classDataAssetProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classDataAssetProperties
- Returns:
- int
-