Class NamedQuery


  • public class NamedQuery
    extends java.lang.Object
    Encapsulates a Nuix query string and an associated name.
    • Constructor Summary

      Constructors 
      Constructor Description
      NamedQuery()  
      NamedQuery​(java.lang.String name, java.lang.String query)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Gets the associated name
      java.lang.String getQuery()
      Gets the associated query
      void setName​(java.lang.String name)
      Sets the associated name
      void setQuery​(java.lang.String query)
      Sets the associated query
      • Methods inherited from class java.lang.Object

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

      • NamedQuery

        public NamedQuery()
      • NamedQuery

        public NamedQuery​(java.lang.String name,
                          java.lang.String query)
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the associated name
        Returns:
        The associated name
      • setName

        public void setName​(java.lang.String name)
        Sets the associated name
        Parameters:
        name - The name to associate
      • getQuery

        public java.lang.String getQuery()
        Gets the associated query
        Returns:
        The associated query
      • setQuery

        public void setQuery​(java.lang.String query)
        Sets the associated query
        Parameters:
        query - The query to associate