Package io.ebeaninternal.server.el
Class ElPropertyChainBuilder
- java.lang.Object
-
- io.ebeaninternal.server.el.ElPropertyChainBuilder
-
public class ElPropertyChainBuilder extends Object
Utility object used to build a ElPropertyChain.Builds a ElPropertyChain based on a chain of properties with dot separators.
This can navigate an object graph based on dot notation such as order.customer.name.
-
-
Constructor Summary
Constructors Constructor Description ElPropertyChainBuilder(boolean embedded, String expression)
Create with the original expression.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElPropertyChainBuilder
add(ElPropertyValue element)
Add a ElGetValue element to the chain.ElPropertyChain
build()
Build the immutable ElGetChain from the build information.String
getExpression()
boolean
isContainsMany()
void
setContainsMany()
void
setEmbedded(boolean embedded)
Permits to set whole chain as embedded when the leaf is embedded
-
-
-
Constructor Detail
-
ElPropertyChainBuilder
public ElPropertyChainBuilder(boolean embedded, String expression)
Create with the original expression.
-
-
Method Detail
-
isContainsMany
public boolean isContainsMany()
-
setContainsMany
public void setContainsMany()
-
getExpression
public String getExpression()
-
add
public ElPropertyChainBuilder add(ElPropertyValue element)
Add a ElGetValue element to the chain.
-
build
public ElPropertyChain build()
Build the immutable ElGetChain from the build information.
-
setEmbedded
public void setEmbedded(boolean embedded)
Permits to set whole chain as embedded when the leaf is embedded
-
-