public interface DataFactory
| Modifier and Type | Field and Description |
|---|---|
static DataFactory |
DEFAULT
default instance.
|
static final DataFactory DEFAULT
AnyMap createAnyMap()
AnySeq createAnySeq()
Value createStringValue(String value)
value - the String to create the Value from.Value createBooleanValue(Boolean value)
value - the Boolean to create the Value from.Value createLongValue(Long value)
value - the Long to create the Value from.Value createLongValue(int value)
value - the int to create the Value from.Value createDoubleValue(Double value)
value - the Double to create the Value from.Value createDoubleValue(float value)
value - the float to create the Value from.Value createDateValue(Date value)
value - the Date to create the Value from.Value createDateTimeValue(Date value)
value - the DateTime to create the Value from.Value parseFromString(String value, String type)
value - The valuetype - The typeValue parseFromString(String value, Any.ValueType valueType)
value - The valuevalueType - The value's typeValue tryDateTimestampParsingFromString(String value)
value - The value to check for Date/Timestamp@Deprecated Value parseFromObject(Object object)
autoConvertValue(Object) insteadobject - The objectValue autoConvertValue(Object object)
object - The object, must be one of the simple typesAny cloneAny(Any source)
source - the sourceAnyMap cloneAnyMap(AnyMap source)
source - the sourceCopyright © 2019. All rights reserved.