Example usage for org.springframework.beans PropertyAccessor PROPERTY_KEY_SUFFIX

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

Introduction

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

Prototype

String PROPERTY_KEY_SUFFIX

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

Click Source Link

Document

Marker that indicates the end 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);// ww  w  .  ja  v  a 2 s  .  c  om
}

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);//ww  w .j  a  v  a  2  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);//from www.  j  a  va 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);//from   w  w  w. ja v  a2s  .  c om
}