public class DataSetProperties extends DataAssetProperties
DataSetProperties is a class for representing a generic data set.
  • Constructor Details

    • DataSetProperties

      public DataSetProperties()
      Default constructor
    • DataSetProperties

      public DataSetProperties(DataSetProperties template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • 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
    • getFormulaType

      public String getFormulaType()
      Return the format of the expression provided in the formula attribute.
      Returns:
      string name
    • setFormulaType

      public void setFormulaType(String formulaType)
      Set up the format of the expression provided in the formula attribute.
      Parameters:
      formulaType - string name
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class DataAssetProperties
      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:
      equals in class DataAssetProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class DataAssetProperties
      Returns:
      int