Class DynamicQueryImpl

  • All Implemented Interfaces:
    DynamicQuery

    public class DynamicQueryImpl
    extends java.lang.Object
    implements DynamicQuery
    Object represents Dynamic Query (predefined)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String description  
      java.lang.String label  
      java.util.Map<java.lang.String,​java.lang.Object> parameters  
    • Constructor Summary

      Constructors 
      Constructor Description
      DynamicQueryImpl​(java.lang.String label, java.lang.String flexibleQuery, java.util.Map<java.lang.String,​java.lang.Object> parameters)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addQueryParameter​(java.lang.String paramName, java.lang.Object paramValue)
      Adds the query parameter.
      java.lang.String getDescription()
      Gets the description.
      java.lang.String getFexibleQuery()
      Gets the fexible query.
      java.lang.String getLabel()
      Gets the label.
      java.util.Map<java.lang.String,​java.lang.Object> getParameters()
      Gets the parameters.
      void removeQueryParameter​(java.lang.String paramName)
      Removes the query parameter.
      void setDescription​(java.lang.String description)
      Sets the description.
      void setLabel​(java.lang.String label)
      Sets the label.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • label

        public java.lang.String label
      • description

        public java.lang.String description
      • parameters

        public java.util.Map<java.lang.String,​java.lang.Object> parameters
    • Constructor Detail

      • DynamicQueryImpl

        public DynamicQueryImpl​(java.lang.String label,
                                java.lang.String flexibleQuery,
                                java.util.Map<java.lang.String,​java.lang.Object> parameters)
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: DynamicQuery
        Gets the description.
        Specified by:
        getDescription in interface DynamicQuery
        Returns:
        the description
      • setDescription

        public void setDescription​(java.lang.String description)
        Description copied from interface: DynamicQuery
        Sets the description.
        Specified by:
        setDescription in interface DynamicQuery
        Parameters:
        description - the new description
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.Object> getParameters()
        Description copied from interface: DynamicQuery
        Gets the parameters.
        Specified by:
        getParameters in interface DynamicQuery
        Returns:
        the parameters
      • getLabel

        public java.lang.String getLabel()
        Description copied from interface: DynamicQuery
        Gets the label.
        Specified by:
        getLabel in interface DynamicQuery
        Returns:
        the label
      • setLabel

        public void setLabel​(java.lang.String label)
        Description copied from interface: DynamicQuery
        Sets the label.
        Specified by:
        setLabel in interface DynamicQuery
        Parameters:
        label - the new label
      • getFexibleQuery

        public java.lang.String getFexibleQuery()
        Description copied from interface: DynamicQuery
        Gets the fexible query.
        Specified by:
        getFexibleQuery in interface DynamicQuery
        Returns:
        the fexible query
      • addQueryParameter

        public void addQueryParameter​(java.lang.String paramName,
                                      java.lang.Object paramValue)
        Description copied from interface: DynamicQuery
        Adds the query parameter.
        Specified by:
        addQueryParameter in interface DynamicQuery
        Parameters:
        paramName - the param name
        paramValue - the param value
      • removeQueryParameter

        public void removeQueryParameter​(java.lang.String paramName)
        Description copied from interface: DynamicQuery
        Removes the query parameter.
        Specified by:
        removeQueryParameter in interface DynamicQuery
        Parameters:
        paramName - the param name