java.lang.Object
com.almis.awe.model.entities.queries.Query
All Implemented Interfaces:
Copyable, XMLNode, Serializable
Direct Known Subclasses:
MaintainQuery

public class Query extends Object implements XMLNode, Copyable
Query Class Used to parse the files Queries.xml with XStream Generates and launches a query statement
Author:
Pablo GARCIA - 28/JUN/2010
See Also:
  • Constructor Details

    • Query

      public Query()
  • Method Details

    • getVariableDefinition

      public Variable getVariableDefinition(String variableId)
      Returns a variable definition
      Parameters:
      variableId - Variable identifier
      Returns:
      Selected definition
    • isCacheable

      public boolean isCacheable()
      Returns if is distinct
      Returns:
      Is distinct
    • isDistinct

      public boolean isDistinct()
      Returns if is distinct
      Returns:
      Is distinct
    • isPaginationManaged

      public boolean isPaginationManaged()
      Returns if is paginationManaged
      Returns:
      Is paginationManaged
    • isPostProcessed

      public boolean isPostProcessed()
      Returns if is post processed
      Returns:
      Is postProcessed
    • isPublic

      public boolean isPublic()
      Returns if is list
      Returns:
      Is list
    • getElementKey

      public String getElementKey()
      Specified by:
      getElementKey in interface XMLNode
      Returns:
      the elementKey
    • getFieldList

      public List<Field> getFieldList()
      Retrieve field list
      Returns:
      field list
    • copy

      public Query copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Specified by:
      copy in interface Copyable
      Returns:
      element copy
    • toString

      public String toString()
      Overrides:
      toString in class Object