接口 ParameterContainer
-
- 所有已知实现类:
ComponentJoin,EntityJoinFromElement,FromElement,ImpliedFromElement,MapKeyEntityFromElement,SqlFragment
@Deprecated public interface ParameterContainer
已过时。See entire discussion aboveCurrently this is needed in order to deal withFromElementswhich contain "hidden" JDBC parameters from applying filters. Would love for this to go away, but that would require that Hibernate's internaljoin handlingbe able to either:- render the same AST structures
- render structures capable of being converted to these AST structures
- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 voidaddEmbeddedParameter(ParameterSpecification specification)已过时。Adds a parameter specification for a parameter encountered within this node.ParameterSpecification[]getEmbeddedParameters()已过时。Retrieve all embedded parameter specifications.booleanhasEmbeddedParameters()已过时。Determine whether this node contains embedded parameters.voidsetText(String text)已过时。Set the renderable text of this node.
-
-
-
方法详细资料
-
setText
void setText(String text)
已过时。Set the renderable text of this node.- 参数:
text- The renderable text
-
addEmbeddedParameter
void addEmbeddedParameter(ParameterSpecification specification)
已过时。Adds a parameter specification for a parameter encountered within this node. We use the term 'embedded' here because of the fact that the parameter was simply encountered as part of the node's text; it does not exist as part of a subtree as it might in a true AST.- 参数:
specification- The generated specification.
-
hasEmbeddedParameters
boolean hasEmbeddedParameters()
已过时。Determine whether this node contains embedded parameters. The implication is thatgetEmbeddedParameters()is allowed to return null if this method returns false.- 返回:
- True if this node contains embedded parameters; false otherwise.
-
getEmbeddedParameters
ParameterSpecification[] getEmbeddedParameters()
已过时。Retrieve all embedded parameter specifications.- 返回:
- All embedded parameter specifications; may return null.
- 另请参阅:
hasEmbeddedParameters()
-
-