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 StringReturn the default tag for a gom element.Get the XML to be embedded for the element@Nullable SelectConvenience method: Returns the select statementvoidsetEmbeddedXml(String xml) Set the given XML as element contentMethods inherited from class de.espirit.firstspirit.access.store.templatestore.gom.AbstractGomElement
getGomElementTag, getIncludeConfiguration, hasRepresentation, setGomElementTag, setIncludeConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractGomElementReturn the default tag for a gom element.- Specified by:
getDefaultTagin classAbstractGomElement- Returns:
- The elements default tag.
-
getEmbeddedXml
Description copied from interface:GomEmbeddedXmlGet the XML to be embedded for the element- Specified by:
getEmbeddedXmlin interfaceGomEmbeddedXml- Returns:
- The XML to embed
-
setEmbeddedXml
Description copied from interface:GomEmbeddedXmlSet the given XML as element content- Specified by:
setEmbeddedXmlin 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
-