Class ElPropertyChainBuilder

java.lang.Object
io.ebeaninternal.server.el.ElPropertyChainBuilder

public final 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 Details

    • ElPropertyChainBuilder

      public ElPropertyChainBuilder(boolean embedded, String expression)
      Create with the original expression.
  • Method Details

    • isContainsMany

      public boolean isContainsMany()
    • setContainsMany

      public void setContainsMany()
    • expression

      public String expression()
    • add

      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