Class XMLLazyQuery

java.lang.Object
ca.phon.query.db.xml.XMLQuery
ca.phon.query.db.xml.XMLLazyQuery
All Implemented Interfaces:
Query, JAXBWrapper<QueryType>

public class XMLLazyQuery extends XMLQuery
Similar to XMLQuery, except loading of result set data is lazy (i.e., delayed as long as possible).
  • Method Details

    • getUUID

      public UUID getUUID()
      Description copied from interface: Query
      Gets the UUID used to uniquely identify this query.
      Specified by:
      getUUID in interface Query
      Overrides:
      getUUID in class XMLQuery
      Returns:
      the uuid
    • setUUID

      public void setUUID(UUID uuid)
      Description copied from interface: Query
      Sets the UUID used to uniquely identify this query.
      Specified by:
      setUUID in interface Query
      Overrides:
      setUUID in class XMLQuery
      Parameters:
      uuid - the uuid
    • getDate

      public LocalDateTime getDate()
      Description copied from interface: Query
      Gets the date of creation of this query.
      Specified by:
      getDate in interface Query
      Overrides:
      getDate in class XMLQuery
      Returns:
      the date
    • setDate

      public void setDate(LocalDateTime date)
      Description copied from interface: Query
      Sets the date of creation of this query.
      Specified by:
      setDate in interface Query
      Overrides:
      setDate in class XMLQuery
      Parameters:
      date - the date
    • isStarred

      public boolean isStarred()
      Description copied from interface: Query
      Gets whether or not this query is starred.
      Specified by:
      isStarred in interface Query
      Overrides:
      isStarred in class XMLQuery
      Returns:
      the starred state of this query
    • setStarred

      public void setStarred(boolean starred)
      Description copied from interface: Query
      Sets the starred status of this query.
      Specified by:
      setStarred in interface Query
      Overrides:
      setStarred in class XMLQuery
      Parameters:
      starred - the starred state for this query
    • getScript

      public Script getScript()
      Description copied from interface: Query
      Gets the script for this query.
      Specified by:
      getScript in interface Query
      Overrides:
      getScript in class XMLQuery
      Returns:
      the script
    • setScript

      public void setScript(Script script)
      Description copied from interface: Query
      Sets the script for this query.
      Specified by:
      setScript in interface Query
      Overrides:
      setScript in class XMLQuery
    • getTags

      public List<String> getTags()
      Description copied from interface: Query
      Gets the tags for this query.
      Specified by:
      getTags in interface Query
      Overrides:
      getTags in class XMLQuery
      Returns:
      the list of tags
    • getComments

      public String getComments()
      Description copied from interface: Query
      Gets the comments for this query.
      Specified by:
      getComments in interface Query
      Overrides:
      getComments in class XMLQuery
      Returns:
      the list of comments
    • setComments

      public void setComments(String comments)
      Description copied from interface: Query
      Sets comments for this query
      Specified by:
      setComments in interface Query
      Overrides:
      setComments in class XMLQuery