|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinfo.fingo.csv.CSVStatus
public class CSVStatus
Representation of CSV data validation result.
| Field Summary | |
|---|---|
static int |
CODE_ABOVE_MAX
Status code: value above maximum = 0x06 |
static int |
CODE_BAD_TYPE
Status code: bad typer = 0x04 |
static int |
CODE_NO_KEY
Status code: no key = 0x02 |
static int |
CODE_NO_VALUE
Status code: no required value found = 0x03 |
static int |
CODE_SUCCESS
Status code: cuccess = 0x00 |
static int |
CODE_UNDER_MIN
Status code: value under minimum = 0x05 |
static int |
CODE_UNKNOWN
Status code: unknow = 0x05 |
static int |
CODE_UNKNOWN_KEY
Status code: unknown key = 0x01 |
| Constructor Summary | |
|---|---|
CSVStatus()
Default constructor. |
|
CSVStatus(int code,
java.lang.String message,
java.lang.String field,
int line)
Full constructor. |
|
| Method Summary | |
|---|---|
int |
getCode()
Returns the code. |
java.lang.String |
getField()
Returns the field. |
int |
getLine()
Returns the line. |
java.lang.String |
getMessage()
Returns the message. |
boolean |
isSuccess()
Returns the success. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CODE_SUCCESS
public static final int CODE_UNKNOWN_KEY
public static final int CODE_NO_KEY
public static final int CODE_NO_VALUE
public static final int CODE_BAD_TYPE
public static final int CODE_UNDER_MIN
public static final int CODE_ABOVE_MAX
public static final int CODE_UNKNOWN
| Constructor Detail |
|---|
public CSVStatus()
CSVStatus.
public CSVStatus(int code,
java.lang.String message,
java.lang.String field,
int line)
CSVStatus.
code - the status codemessage - the result messagefield - the validation failure concerned field nameline - the number of invalid line| Method Detail |
|---|
public int getCode()
public java.lang.String getField()
public java.lang.String getMessage()
public int getLine()
public boolean isSuccess()
true, if successful
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||