public final class DataColumn extends Object
Constructor and Description |
---|
DataColumn(String code) |
DataColumn(String code,
String format) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCode()
Returns this column's code.
|
String |
getFormat()
Returns this column's date or time format, if any.
|
int |
hashCode() |
void |
setFormat(String format)
Sets this column's date or time format.
|
com.fasterxml.jackson.databind.JsonNode |
toJson()
Returns this column in JSON representation.
|
public DataColumn(String code)
public String getCode()
public String getFormat()
public void setFormat(String format)
format
- the date or time format for this column, or null
to not use anypublic com.fasterxml.jackson.databind.JsonNode toJson()
Copyright © 2014. All rights reserved.