Interface STreeProperty

All Superinterfaces:
ScalarDataReader<Object>
All Known Subinterfaces:
STreePropertyAssoc, STreePropertyAssocMany, STreePropertyAssocOne
All Known Implementing Classes:
BeanProperty, BeanPropertyAssoc, BeanPropertyAssocMany, BeanPropertyAssocOne, BeanPropertyIdClass, BeanPropertyJsonBasic, BeanPropertyJsonMapper, BeanPropertyOrderColumn, BeanPropertySimpleCollection, DynamicPropertyAggregationFormulaMTO

public interface STreeProperty extends ScalarDataReader<Object>
A property in the SQL Tree.

A BeanProperty or a dynamically created property based on formula.

  • Method Details

    • name

      String name()
      Return the property name.
    • fullName

      String fullName()
      Return the full property name (for error messages).
    • isId

      boolean isId()
      Return true if the property is the Id.
    • isLobForPlatform

      boolean isLobForPlatform()
      Returns true, if this is a lob property from db-perspective.
    • isEmbedded

      boolean isEmbedded()
      Return true if the property is an embedded type.
    • isAggregation

      boolean isAggregation()
      Return true if the property is an aggregation.
    • isAggregationManyToOne

      default boolean isAggregationManyToOne()
      Return true if the property is an aggregation on a ManyToOne.
    • isFormula

      boolean isFormula()
      Return true if the property is a formula.
    • encryptKeyAsString

      String encryptKeyAsString()
      Return the encryption key as a string value (when the property is encrypted).
    • elPrefix

      String elPrefix()
      Return the Expression language prefix (join path).
    • scalarType

      ScalarType<?> scalarType()
      Return the underlying scalar type for the property (for findSingleAttribute).
    • buildRawSqlSelectChain

      void buildRawSqlSelectChain(String prefix, List<String> selectChain)
      For RawSql build the select chain.
    • load

      void load(SqlBeanLoad sqlBeanLoad)
      Load into the bean (from the DataReader/ResultSet).
    • loadIgnore

      void loadIgnore(DbReadContext ctx)
      Ignore the property (moving the column index position without reading).
    • appendSelect

      void appendSelect(DbSqlContext ctx, boolean subQuery)
      Append to the select clause.
    • appendFrom

      void appendFrom(DbSqlContext ctx, SqlJoinType joinType, String manyWhere)
      Append to the from clause.
    • extraIncludes

      default void extraIncludes(Set<String> predicateIncludes)