Class DatabaseColumnProperties

  • All Implemented Interfaces:
    java.io.Serializable

    public class DatabaseColumnProperties
    extends TabularColumnProperties
    DatabaseColumnProperties describes the properties of a database column. The database column may have a fixed value (inherited from tabular column or be derived by a formula.
    See Also:
    Serialized Form
    • Constructor Detail

      • DatabaseColumnProperties

        public DatabaseColumnProperties()
        Default constructor
      • DatabaseColumnProperties

        public DatabaseColumnProperties​(DatabaseColumnProperties template)
        Copy/clone constructor.
        Parameters:
        template - object to copy
    • Method Detail

      • getFormula

        public java.lang.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​(java.lang.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 java.util.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​(java.util.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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class TabularColumnProperties
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.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