Class GomEmbeddedQuery
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
Implementation of an embedding GOM element for ORMapper Query objects
- Since:
- 2.3
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Return the default tag for a gom element.Get the XML to be embedded for the element@Nullable Select
Convenience method: Returns the select statementvoid
setEmbeddedXml
(String xml) Set the given XML as element contentMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface de.espirit.firstspirit.access.store.templatestore.gom.GomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfiguration
-
Field Details
-
TAG
The tag of this component- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
GomEmbeddedQuery
public GomEmbeddedQuery()
-
-
Method Details
-
getDefaultTag
Description copied from class:AbstractGomElement
Return the default tag for a gom element.- Specified by:
getDefaultTag
in classAbstractGomElement
- Returns:
- The elements default tag.
-
getEmbeddedXml
Description copied from interface:GomEmbeddedXml
Get the XML to be embedded for the element- Specified by:
getEmbeddedXml
in interfaceGomEmbeddedXml
- Returns:
- The XML to embed
-
setEmbeddedXml
Description copied from interface:GomEmbeddedXml
Set the given XML as element content- Specified by:
setEmbeddedXml
in interfaceGomEmbeddedXml
- Parameters:
xml
- The embedded XML- Throws:
ParsingError
- If the XML could not be processed by the embeddee
-
selectStatement
Convenience method: Returns the select statement- Since:
- 2.3
-