Example usage for org.springframework.beans PropertyAccessor PROPERTY_KEY_PREFIX

List of usage examples for org.springframework.beans PropertyAccessor PROPERTY_KEY_PREFIX

Introduction

In this page you can find the example usage for org.springframework.beans PropertyAccessor PROPERTY_KEY_PREFIX.

Prototype

String PROPERTY_KEY_PREFIX

To view the source code for org.springframework.beans PropertyAccessor PROPERTY_KEY_PREFIX.

Click Source Link

Document

Marker that indicates the start of a property key for an indexed or mapped property like "person.addresses[0]".

Usage

From source file:net.sf.juffrou.reflect.JuffrouTypeConverterDelegate.java

private String buildIndexedPropertyName(String propertyName, int index) {
    return (propertyName != null
            ? propertyName + PropertyAccessor.PROPERTY_KEY_PREFIX + index + PropertyAccessor.PROPERTY_KEY_SUFFIX
            : null);//  www  .  ja  va  2 s  .co  m
}

From source file:net.sf.juffrou.reflect.JuffrouTypeConverterDelegate.java

private String buildKeyedPropertyName(String propertyName, Object key) {
    return (propertyName != null
            ? propertyName + PropertyAccessor.PROPERTY_KEY_PREFIX + key + PropertyAccessor.PROPERTY_KEY_SUFFIX
            : null);//w  w  w.j  a  v  a2  s.  com
}

From source file:org.springframework.beans.TypeConverterDelegate.java

@Nullable
private String buildIndexedPropertyName(@Nullable String propertyName, int index) {
    return (propertyName != null
            ? propertyName + PropertyAccessor.PROPERTY_KEY_PREFIX + index + PropertyAccessor.PROPERTY_KEY_SUFFIX
            : null);// w w w .  j av a 2 s .  c o  m
}

From source file:org.springframework.beans.TypeConverterDelegate.java

@Nullable
private String buildKeyedPropertyName(@Nullable String propertyName, Object key) {
    return (propertyName != null
            ? propertyName + PropertyAccessor.PROPERTY_KEY_PREFIX + key + PropertyAccessor.PROPERTY_KEY_SUFFIX
            : null);//  www .jav  a  2s .  co m
}