Class ExportRecordField
- java.lang.Object
-
- com.helger.photon.exchange.bulkexport.ExportRecordField
-
- All Implemented Interfaces:
IExportRecordField
@Immutable public class ExportRecordField extends Object implements IExportRecordField
A single field for exporting.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExportRecordField(EExportDataType eFieldType, Object aValue)
-
Method Summary
-
-
-
Constructor Detail
-
ExportRecordField
protected ExportRecordField(@Nonnull EExportDataType eFieldType, @Nullable Object aValue)
-
-
Method Detail
-
getFieldType
@Nonnull public EExportDataType getFieldType()
- Specified by:
getFieldTypein interfaceIExportRecordField- Returns:
- The type of this field. Never
null.
-
getFieldValue
@Nullable public Object getFieldValue()
- Specified by:
getFieldValuein interfaceIExportRecordField- Returns:
- The value of this field. May be
null.
-
autoDetermineType
@Nonnull public static EExportDataType autoDetermineType(@Nullable Object aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable Object aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable String sValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable LocalDate aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable LocalTime aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable LocalDateTime aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable ZonedDateTime aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable OffsetDateTime aValue)
-
create
@Nonnull public static ExportRecordField create(boolean bValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable Boolean aValue)
-
create
@Nonnull public static ExportRecordField create(int nValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable Integer aValue)
-
create
@Nonnull public static ExportRecordField create(long nValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable Long aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable BigInteger aValue)
-
create
@Nonnull public static ExportRecordField create(double dValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable Double aValue)
-
create
@Nonnull public static ExportRecordField create(@Nullable BigDecimal aValue)
-
-