java.lang.Object
org.dellroad.querystream.jpa.ExprRef<X>
- Type Parameters:
X- stream item type
- All Implemented Interfaces:
Ref<X,jakarta.persistence.criteria.Expression<X>>
A
Ref that's known to be an Expression.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.Expression<X>Bind the given value to this reference.jakarta.persistence.criteria.Expression<X>get()Get the bound value.booleanisBound()Determine if this instance is bound.toString()voidunbind()Unbind the bound value, if any.
-
Constructor Details
-
ExprRef
public ExprRef()Create an instance with no name. -
ExprRef
Create an instance with the given name.The name is only used for debugging purposes.
- Parameters:
name- reference name, or null for none
-
-
Method Details
-
bind
public jakarta.persistence.criteria.Expression<X> bind(jakarta.persistence.criteria.Expression<X> value) Description copied from interface:RefBind the given value to this reference. -
get
Description copied from interface:RefGet the bound value. -
unbind
public void unbind()Description copied from interface:RefUnbind the bound value, if any. -
isBound
public boolean isBound()Description copied from interface:RefDetermine if this instance is bound. -
toString
-