public class ServiceSupport extends Object
Constructor and Description |
---|
ServiceSupport() |
Modifier and Type | Method and Description |
---|---|
static String |
buildCleanFieldName(DominoStore dsCurrent,
String strFieldName) |
static String |
buildCleanFieldName(JSONObject jsCurrent,
String strFieldName) |
static String |
buildCleanFieldNameCC(DominoStore dsCurrent,
String strFieldName) |
static String |
buildCleanFieldNameCC(JSONObject jsCurrent,
String strFieldName) |
static Collection<Field> |
getClassFields(Class<?> currentClass) |
static Method |
getGetterMethod(Class<?> objectClass,
String strFieldClean)
Returns the getter Method form objectClass.
|
static Method |
getSetterMethod(Class<?> objectClass,
String javaFieldName,
Class<? extends Object> typeClass) |
static String |
makeBooleanGetter(String strFieldClean) |
static String |
makeCamelCase(String strCurrent) |
static String |
makeGetter(DominoStore dsCurrent,
String strField) |
static String |
makeGetter(JSONObject dsCurrent,
String strField) |
static String |
makeGetter(String strFieldClean) |
static String |
makeSetter(DominoStore dsCurrent,
String strField) |
static String |
makeSetter(JSONObject dsCurrent,
String strField) |
static String |
makeSetter(String strFieldClean) |
public static String buildCleanFieldNameCC(DominoStore dsCurrent, String strFieldName)
public static String buildCleanFieldName(DominoStore dsCurrent, String strFieldName)
public static String buildCleanFieldNameCC(JSONObject jsCurrent, String strFieldName)
public static String buildCleanFieldName(JSONObject jsCurrent, String strFieldName)
public static String makeGetter(DominoStore dsCurrent, String strField)
public static String makeGetter(JSONObject dsCurrent, String strField)
public static String makeSetter(DominoStore dsCurrent, String strField)
public static String makeSetter(JSONObject dsCurrent, String strField)
public static Method getGetterMethod(Class<?> objectClass, String strFieldClean) throws SecurityException, NoSuchMethodException
objectClass
- strFieldClean
- NoSuchMethodException
NoSuchMethodException
SecurityException
public static Method getSetterMethod(Class<?> objectClass, String javaFieldName, Class<? extends Object> typeClass) throws SecurityException, NoSuchMethodException
public static Collection<Field> getClassFields(Class<?> currentClass)
Copyright © 2021. All Rights Reserved.