Package io.jans.as.model.json
Class JsonApplier
- java.lang.Object
-
- io.jans.as.model.json.JsonApplier
-
public class JsonApplier extends java.lang.Object
- Version:
- April 25, 2022
- Author:
- Yuriy Zabrovarnyy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(java.lang.Object source, java.util.Map<java.lang.String,java.lang.String> parameters)
void
apply(java.lang.Object source, org.json.JSONObject target)
void
apply(org.json.JSONObject source, java.lang.Object target)
void
apply(org.json.JSONObject source, java.lang.Object target, PropertyDefinition property)
static JsonApplier
getInstance()
static java.util.List<java.lang.String>
getStringList(org.json.JSONArray jsonArray)
java.lang.Object
invokeReflectionGetter(java.lang.Object obj, java.lang.String variableName)
void
invokeReflectionSetter(java.lang.Object obj, java.lang.String propertyName, java.lang.Object variableValue)
void
transfer(java.lang.Object source, java.lang.Object target)
Transfer between two java objects
-
-
-
Method Detail
-
getInstance
public static JsonApplier getInstance()
-
apply
public void apply(java.lang.Object source, org.json.JSONObject target)
-
apply
public void apply(java.lang.Object source, java.util.Map<java.lang.String,java.lang.String> parameters)
-
apply
public void apply(org.json.JSONObject source, java.lang.Object target)
-
apply
public void apply(org.json.JSONObject source, java.lang.Object target, PropertyDefinition property)
-
transfer
public void transfer(java.lang.Object source, java.lang.Object target)
Transfer between two java objects
-
getStringList
public static java.util.List<java.lang.String> getStringList(org.json.JSONArray jsonArray)
-
invokeReflectionSetter
public void invokeReflectionSetter(java.lang.Object obj, java.lang.String propertyName, java.lang.Object variableValue)
-
invokeReflectionGetter
public java.lang.Object invokeReflectionGetter(java.lang.Object obj, java.lang.String variableName)
-
-