public class DatabaseViewProperties extends DatabaseTableProperties
DatabaseViewProperties is a class for representing a relational database view.
  • Constructor Details

    • DatabaseViewProperties

      public DatabaseViewProperties()
      Default constructor
    • DatabaseViewProperties

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

    • getFormula

      public String getFormula()
      Return the formula used to combine the values of the queries. Each query is has a identifier and the formula has placeholders for these identifiers in it to show how the query results are combined.
      Returns:
      String formula
    • setFormula

      public void setFormula(String formula)
      Set up the formula used to combine the values of the queries. Each query is has a identifier and the formula has placeholders for these identifiers in it to show how the query results are combined.
      Parameters:
      formula - String formula
    • getQueries

      public List<DatabaseQueryProperties> getQueries()
      Return the list of individual query targets for a derived column.
      Returns:
      list of queries and their target element
    • setQueries

      public void setQueries(List<DatabaseQueryProperties> queries)
      Set up the list of individual query targets for a derived column.
      Parameters:
      queries - list of queries and their target element
    • toString

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

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