Class PropertyValueConverter
- java.lang.Object
-
- org.neotropic.kuwaiba.visualization.api.properties.PropertyValueConverter
-
public class PropertyValueConverter extends Object
class used to transform the value of certain properties in the database format that are stored- Author:
- Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static DateTimeFormatter
DATE_FORMATTER
-
Constructor Summary
Constructors Constructor Description PropertyValueConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAsStringToPersist(AbstractProperty property)
static String
getListTypeAsStringToPersist(BusinessObjectLight value)
static String
getLocalDateAsStringToPersist(LocalDate value)
static String
getLocalDateTimeAsStringToPersist(LocalDateTime value)
static String
getMultipleListTypeAsStringToPersist(List<BusinessObjectLight> value)
-
-
-
Field Detail
-
DATE_FORMATTER
public static final DateTimeFormatter DATE_FORMATTER
-
-
Method Detail
-
getMultipleListTypeAsStringToPersist
public static String getMultipleListTypeAsStringToPersist(List<BusinessObjectLight> value)
-
getListTypeAsStringToPersist
public static String getListTypeAsStringToPersist(BusinessObjectLight value)
-
getLocalDateTimeAsStringToPersist
public static String getLocalDateTimeAsStringToPersist(LocalDateTime value)
-
getAsStringToPersist
public static String getAsStringToPersist(AbstractProperty property)
-
-