Class PropertyHelper

java.lang.Object
org.apache.unomi.persistence.spi.PropertyHelper

public class PropertyHelper extends Object
Helper method for properties
  • Constructor Details

    • PropertyHelper

      public PropertyHelper()
  • Method Details

    • setProperty

      public static boolean setProperty(Object target, String propertyName, Object propertyValue, String setPropertyStrategy)
    • convertToList

      public static List<Object> convertToList(Object value)
    • getInteger

      public static Integer getInteger(Object value)
    • getLong

      public static Long getLong(Object value)
    • getDouble

      public static Double getDouble(Object value)
    • getBooleanValue

      public static Boolean getBooleanValue(Object setPropertyValueBoolean)
    • getValueByTypeId

      public static Object getValueByTypeId(Object propertyValue, String valueTypeId)
    • compareValues

      public static boolean compareValues(Object propertyValue, Object beanPropertyValue)
    • flatten

      public static Map<String,Object> flatten(Map<String,Object> in)