java.lang.Object
de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
de.espirit.firstspirit.access.store.templatestore.gom.GomEmbeddedQuery
All Implemented Interfaces:
GomElement, GomEmbeddedXml, Serializable

@NonExtendable public class GomEmbeddedQuery extends AbstractGomElement implements GomEmbeddedXml
Implementation of an embedding GOM element for ORMapper Query objects
Since:
2.3
See Also:
  • Field Details

  • Constructor Details

    • GomEmbeddedQuery

      public GomEmbeddedQuery()
  • Method Details

    • getDefaultTag

      protected String getDefaultTag()
      Description copied from class: AbstractGomElement
      Return the default tag for a gom element.
      Specified by:
      getDefaultTag in class AbstractGomElement
      Returns:
      The elements default tag.
    • getEmbeddedXml

      public String getEmbeddedXml()
      Description copied from interface: GomEmbeddedXml
      Get the XML to be embedded for the element
      Specified by:
      getEmbeddedXml in interface GomEmbeddedXml
      Returns:
      The XML to embed
    • setEmbeddedXml

      public void setEmbeddedXml(String xml) throws ParsingError
      Description copied from interface: GomEmbeddedXml
      Set the given XML as element content
      Specified by:
      setEmbeddedXml in interface GomEmbeddedXml
      Parameters:
      xml - The embedded XML
      Throws:
      ParsingError - If the XML could not be processed by the embeddee
    • selectStatement

      @Nullable public @Nullable Select selectStatement()
      Convenience method: Returns the select statement
      Since:
      2.3