Class DatabaseQueryProperties

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getQuery()
      Return the code for the query.
      java.lang.String getQueryId()
      Return the identifier that is used in the column formula.
      java.lang.String getQueryTargetGUID()
      Returns the identity of the query target.
      int hashCode()
      Return hash code based on properties.
      void setQuery​(java.lang.String query)
      Set up code for query.
      void setQueryId​(java.lang.String queryId)
      Set the identifier that is used in the column formula.
      void setQueryTargetGUID​(java.lang.String queryTargetGUID)
      Set up the identity of the query target.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 java.lang.String getQueryId()
        Return the identifier that is used in the column formula.
        Returns:
        string identifier
      • setQueryId

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

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

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

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

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

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

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