Package science.aist.jack.reflection
Class ObjectToPropertyMapTransformer
- java.lang.Object
-
- science.aist.jack.reflection.ObjectToPropertyMapTransformer
-
-
Constructor Summary
Constructors Constructor Description ObjectToPropertyMapTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
transformFrom(Object o)
Returns a Property Map for the given object, where the key is the name of the field and the value the value of the field
-
-
-
Method Detail
-
transformFrom
public Map<String,Object> transformFrom(Object o)
Returns a Property Map for the given object, where the key is the name of the field and the value the value of the field- Specified by:
transformFrom
in interfaceForwardTransformer<Object,Map<String,Object>>
- Parameters:
o
- the object- Returns:
- a property map
-
-