Interface BeanDescriptorMap

All Known Implementing Classes:
BeanDescriptorManager

public interface BeanDescriptorMap
Provides a method to find a BeanDescriptor.

Used during deployment of to resolve relationships between beans.

  • Method Summary

    Modifier and Type
    Method
    Description
    Return the Cache Manager.
    io.ebean.DatabaseBuilder.Settings
    Return the DatabaseConfig.
    Create a IdBinder for this bean property.
    descriptor(Class<T> entityType)
    Return the BeanDescriptor for a given class.
    io.ebean.config.EncryptKey
    encryptKey(String tableName, String columnName)
    Return the Encrypt key given the table and column name.
    boolean
    Return true if Jackson core is present on the classpath.
    boolean
    Return true if multiple values can be bound as Array or Table Value and hence share the same query plan.
    boolean
    Returns true, if the given table (or view) is managed by ebean (= an entity exists)
    Return the name of the server/database.
    io.ebean.config.NamingConvention
    Return the naming convention.
    io.ebean.core.type.ScalarType<?>
    scalarType(int jdbcType)
    Return the scalarType for the given JDBC type.
    io.ebean.core.type.ScalarType<?>
    Return the scalarType for the given logical type.
  • Method Details

    • name

      String name()
      Return the name of the server/database.
    • config

      io.ebean.DatabaseBuilder.Settings config()
      Return the DatabaseConfig.
    • cacheManager

      SpiCacheManager cacheManager()
      Return the Cache Manager.
    • namingConvention

      io.ebean.config.NamingConvention namingConvention()
      Return the naming convention.
    • isMultiValueSupported

      boolean isMultiValueSupported()
      Return true if multiple values can be bound as Array or Table Value and hence share the same query plan.
    • descriptor

      <T> BeanDescriptor<T> descriptor(Class<T> entityType)
      Return the BeanDescriptor for a given class.
    • encryptKey

      io.ebean.config.EncryptKey encryptKey(String tableName, String columnName)
      Return the Encrypt key given the table and column name.
    • createIdBinder

      IdBinder createIdBinder(BeanProperty id)
      Create a IdBinder for this bean property.
    • scalarType

      io.ebean.core.type.ScalarType<?> scalarType(int jdbcType)
      Return the scalarType for the given JDBC type.
    • scalarType

      io.ebean.core.type.ScalarType<?> scalarType(String cast)
      Return the scalarType for the given logical type.
    • isJacksonCorePresent

      boolean isJacksonCorePresent()
      Return true if Jackson core is present on the classpath.
    • isTableManaged

      boolean isTableManaged(String tableName)
      Returns true, if the given table (or view) is managed by ebean (= an entity exists)