Class DatabaseQueryProperties

  • All Implemented Interfaces:
    Serializable

    public class DatabaseQueryProperties
    extends Object
    implements Serializable
    DatabaseQueryProperties describes the properties of query that is used to derive a column in a database.
    See Also:
    Serialized Form
    • Constructor Detail

      • DatabaseQueryProperties

        public DatabaseQueryProperties()
        Default constructor
      • DatabaseQueryProperties

        public DatabaseQueryProperties​(DatabaseQueryProperties template)
        Copy/clone constructor for the database query.
        Parameters:
        template - template object to copy.
    • Method Detail

      • getQueryId

        public String getQueryId()
        Return the identifier that is used in the column formula.
        Returns:
        string identifier
      • setQueryId

        public void setQueryId​(String queryId)
        Set the identifier that is used in the column formula.
        Parameters:
        queryId - string identifier
      • setQuery

        public void setQuery​(String query)
        Set up code for query.
        Parameters:
        query - String logic
      • getQuery

        public String getQuery()
        Return the code for the query.
        Returns:
        String logic
      • setQueryTargetGUID

        public void setQueryTargetGUID​(String queryTargetGUID)
        Set up the identity of the query target.
        Parameters:
        queryTargetGUID - schema attribute GUID
      • getQueryTargetGUID

        public String getQueryTargetGUID()
        Returns the identity of the query target.
        Returns:
        schema attribute GUID
      • toString

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

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