public class RenameProperty extends Object
| Constructor | Description |
|---|---|
RenameProperty(String name) |
Create a rename property to resolve the column name to the property name.
|
RenameProperty(org.simpleflatmapper.util.Function<String,String> renameFunction) |
Create a rename property to resolve the column name to the property name.
|
| Modifier and Type | Method | 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.