public class SqlFragment extends Node implements ParameterContainer
Constructor and Description |
---|
SqlFragment() |
Modifier and Type | Method and Description |
---|---|
void |
addEmbeddedParameter(ParameterSpecification specification)
Adds a parameter specification for a parameter encountered within this node.
|
ParameterSpecification[] |
getEmbeddedParameters()
Retrieve all embedded parameter specifications.
|
FromElement |
getFromElement() |
boolean |
hasEmbeddedParameters()
Determine whether this node contains embedded parameters.
|
boolean |
hasFilterCondition() |
void |
setFromElement(FromElement fromElement) |
void |
setJoinFragment(JoinFragment joinFragment) |
getColumn, getFilename, getLine, getRenderText, getTextLength, initialize, initialize
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setText
public void setJoinFragment(JoinFragment joinFragment)
public boolean hasFilterCondition()
public void setFromElement(FromElement fromElement)
public FromElement getFromElement()
public void addEmbeddedParameter(ParameterSpecification specification)
ParameterContainer
addEmbeddedParameter
in interface ParameterContainer
specification
- The generated specification.public boolean hasEmbeddedParameters()
ParameterContainer
ParameterContainer.getEmbeddedParameters()
is allowed to return null if this method returns false.hasEmbeddedParameters
in interface ParameterContainer
public ParameterSpecification[] getEmbeddedParameters()
ParameterContainer
getEmbeddedParameters
in interface ParameterContainer
ParameterContainer.hasEmbeddedParameters()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.