com.holonplatform.core.beans

## Annotation Type DataPath

-     @Retention(value=RUNTIME)
       @Target(value={TYPE,FIELD,METHOD})
       @Documented
      public @interface DataPath

  Annotation which can be used on bean classes to declare the data `DataMappable.PATH` mapping, i.e. the actual data element name when it is not the same as the bean class or the bean property name.

  When used on a bean class type with a `BeanIntrospector`, the `DataMappable.PATH` configuration property will be setted in the `BeanPropertySet` configuration. It will represent the persistence entity name of the actual data model. For example, in a relational data model could represent the table name.

  When used on a bean property or getter method with a `BeanIntrospector`, the `DataMappable.PATH` configuration property will be setted in the corresponding `PathProperty` configuration. It will represent the persistence property name of the actual data model. For example, in a relational data model could represent a table column name.

  Since:
    5.1.0

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `value` Get the data path mapping name.

- - ### Element Detail

    - #### value

          public abstract String value

      Get the data path mapping name.

      When the annotation is used with a `BeanIntrospector`, this value is used as the `DataMappable.PATH` configuration property value.

      Returns:
        The data path name

Copyright © 2019 The Holon Platform. All rights reserved.