java.lang.Object
net.odoframework.beans.ObjectToMap<Source>
public class ObjectToMap<Source> extends Object
-
Constructor Summary
Constructors Constructor Description ObjectToMap(boolean strict, Supplier<Source> newInstanceConstructor)ObjectToMap(boolean strict, MapToObjectRegistry registry, Supplier<Source> newInstanceConstructor)ObjectToMap(Supplier<Source> newInstanceConstructor) -
Method Summary
Modifier and Type Method Description ObjectToMap<Source>binding(String name, ConvertingPropertyBinding<Source,?,?> binding)SourcefromTarget(Map<String,?> instance)Supplier<Source>getNewInstanceConstructor()booleanisStrict()ObjectToMapnewInstanceConstructor(Supplier<Source> source)Map<String,?>toTarget(Source instance)
-
Constructor Details
-
ObjectToMap
public ObjectToMap(boolean strict, MapToObjectRegistry registry, Supplier<Source> newInstanceConstructor) -
ObjectToMap
-
ObjectToMap
-
-
Method Details
-
binding
-
newInstanceConstructor
-
getNewInstanceConstructor
-
fromTarget
-
toTarget
-
isStrict
public boolean isStrict()
-