T - Data type of property.public abstract class PropertySerializer<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertySerializer.EnumSerializer
Serializer class for enumerations.
|
static class |
PropertySerializer.IterableSerializer
Serializer class for iterables.
|
| Modifier and Type | Field and Description |
|---|---|
static PropertySerializer<Boolean> |
BOOLEAN
Serializer for Boolean data type.
|
static PropertySerializer<Date> |
DATE
Serializer for Date data type.
|
static PropertySerializer<Double> |
DOUBLE
Serializer for Double data type.
|
static PropertySerializer<Integer> |
INTEGER
Serializer for Integer data type.
|
static PropertySerializer<Long> |
LONG
Serializer for Long data type.
|
static PropertySerializer<String> |
STRING
Serializer for String data type.
|
| Constructor and Description |
|---|
PropertySerializer() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
deserialize(String value)
Deserialize a string to an object instance.
|
String |
serialize(Object value)
Serialize an object instance to a string.
|
public static final PropertySerializer<String> STRING
public static final PropertySerializer<Integer> INTEGER
public static final PropertySerializer<Long> LONG
public static final PropertySerializer<Double> DOUBLE
public static final PropertySerializer<Boolean> BOOLEAN
public static final PropertySerializer<Date> DATE
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.