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
-
- All Implemented Interfaces:
Serializable
public class DataSetProperties extends DataAssetProperties
DataSetProperties is a class for representing a generic data set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataSetProperties()Default constructorDataSetProperties(DataSetProperties 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.StringgetFormula()Return the formula that generates the data set from its source assets.inthashCode()Return hash code based on properties.voidsetFormula(String formula)Set up formula that generates the data set from its source assets.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.DataAssetProperties
getIsReferenceAsset, 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 Detail
-
DataSetProperties
public DataSetProperties()
Default constructor
-
DataSetProperties
public DataSetProperties(DataSetProperties template)
Copy/clone constructor.- Parameters:
template- object to copy
-
-
Method Detail
-
getFormula
public String 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
public void setFormula(String formula)
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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classDataAssetProperties- 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 classDataAssetProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return hash code based on properties.- Overrides:
hashCodein classDataAssetProperties- Returns:
- int
-
-