public class RenameProperty extends Object implements org.simpleflatmapper.reflect.meta.DisallowSelfReference
| Constructor and Description |
|---|
RenameProperty(org.simpleflatmapper.util.Function<String,String> renameFunction)
Create a rename property to resolve the column name to the property name.
|
RenameProperty(String name)
Create a rename property to resolve the column name to the property name.
|
| Modifier and Type | Method and Description |
|---|---|
<K extends FieldKey<K>> |
apply(K key) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public RenameProperty(org.simpleflatmapper.util.Function<String,String> renameFunction)
renameFunction - the function that transform the incoming/outgoing name to the actual object property name.public RenameProperty(String name)
name - to the actual object property name.Copyright © 2018. All rights reserved.