com.holonplatform.core.beans

## Interface BeanDataTarget<T>

- Type Parameters:
    `T` - Bean type
  All Superinterfaces:
    DataMappable, DataTarget<T>, Expression, Path<T>, Path.FinalPath<T>, Serializable, TypedExpression<T>

      public interface BeanDataTarget<T>
      extends DataTarget<T>

  A `DataTarget` which uses a bean class a path type.

  The data target path name is the bean class simple name.

  If the bean class property set provides a `DataMappable.PATH` configuration property value (for example detected from the `DataPath` annotation at bean introspection time), such data path will be provided as `DataMappable.getDataPath()`.

  Since:
    5.1.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.datastore.DataTarget

      `DataTarget.DataTargetResolver<T extends DataTarget>, DataTarget.DataTargetSupport<C extends DataTarget.DataTargetSupport<C>>`

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Path.FinalPath

      `Path.FinalPath.FinalPathBuilder<T>`

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Path

      `Path.Builder<T,B extends Path.Builder<T,B>>, Path.FinalPath<T>, Path.PathBuilder<T>`

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException`

  - ### Field Summary

    - ### Fields inherited from interface com.holonplatform.core.Path

      `PATH_HIERARCHY_SEPARATOR`

    - ### Fields inherited from interface com.holonplatform.core.DataMappable

      `DEFAULT_CONFIG_PROPERTY_PREFIX, PATH`

  - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> BeanDataTarget<T>` | `of(Class<? extends T> beanClass)` Create a new `BeanDataTarget` using given bean class.

    - ### Methods inherited from interface com.holonplatform.core.datastore.DataTarget

      `named, of, property, property, property, property, property, property, property`

    - ### Methods inherited from interface com.holonplatform.core.Path.FinalPath

      `getParent, of`

    - ### Methods inherited from interface com.holonplatform.core.Path

      `fullName, fullName, getName, isRootPath, relativeName, relativeName, stream`

    - ### Methods inherited from interface com.holonplatform.core.TypedExpression

      `getTemporalType, getType, isCollectionExpression, isConverterExpression`

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

    - ### Methods inherited from interface com.holonplatform.core.DataMappable

      `getDataPath, isDataMappable`

- - ### Method Detail

    - #### of

          static <T> BeanDataTarget<T> of(Class<? extends T> beanClass)

      Create a new `BeanDataTarget` using given bean class.
      Type Parameters:
        `T` - Bean type
      Parameters:
        `beanClass` - The bean class (not null)
      Returns:
        A new `BeanDataTarget` on given bean class

Copyright © 2019 The Holon Platform. All rights reserved.