@Retention(value=RUNTIME) @Target(value={TYPE,FIELD,METHOD}) @Documented public @interface DataPath
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.
public abstract String value
When the annotation is used with a BeanIntrospector
, this value is used as the DataMappable.PATH
configuration property value.
Copyright © 2018 The Holon Platform. All rights reserved.