public class BaseNestableEventUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseNestableEventUtil.MapIndexedPropPair |
Constructor and Description |
---|
BaseNestableEventUtil() |
public static Map<String,Object> checkedCastUnderlyingMap(EventBean theEvent) throws PropertyAccessException
PropertyAccessException
public static Object[] checkedCastUnderlyingObjectArray(EventBean theEvent) throws PropertyAccessException
PropertyAccessException
public static Object handleNestedValueArrayWithMap(Object value, int index, MapEventPropertyGetter getter)
public static boolean handleNestedValueArrayWithMapExists(Object value, int index, MapEventPropertyGetter getter)
public static Object handleNestedValueArrayWithMapFragment(Object value, int index, MapEventPropertyGetter getter, EventAdapterService eventAdapterService, EventType fragmentType)
public static Object handleNestedValueArrayWithObjectArray(Object value, int index, ObjectArrayEventPropertyGetter getter)
public static boolean handleNestedValueArrayWithObjectArrayExists(Object value, int index, ObjectArrayEventPropertyGetter getter)
public static Object handleNestedValueArrayWithObjectArrayFragment(Object value, int index, ObjectArrayEventPropertyGetter getter, EventType fragmentType, EventAdapterService eventAdapterService)
public static Object handleCreateFragmentMap(Object value, EventType fragmentEventType, EventAdapterService eventAdapterService)
public static Object handleCreateFragmentObjectArray(Object value, EventType fragmentEventType, EventAdapterService eventAdapterService)
public static BaseNestableEventUtil.MapIndexedPropPair getIndexedAndMappedProps(String[] properties)
public static boolean isExistsIndexedValue(Object value, int index)
public static EventBean getFragmentNonPojo(EventAdapterService eventAdapterService, Object fragmentUnderlying, EventType fragmentEventType)
public static Object getFragmentArray(EventAdapterService eventAdapterService, Object value, EventType fragmentEventType)
public static Object getBeanArrayValue(BeanEventPropertyGetter nestedGetter, Object value, int index)
public static Object getFragmentPojo(Object result, BeanEventType eventType, EventAdapterService eventAdapterService)
public static Object getArrayPropertyValue(EventBean[] wrapper, int index, EventPropertyGetter nestedGetter)
public static Object getArrayPropertyFragment(EventBean[] wrapper, int index, EventPropertyGetter nestedGetter)
public static Object getArrayPropertyUnderlying(EventBean[] wrapper, int index)
public static Object getArrayPropertyAsUnderlyingsArray(Class underlyingType, EventBean[] wrapper)