public abstract class DValueBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
fieldName |
protected boolean |
finished |
protected DValue |
newDVal |
protected DType |
type |
protected List<DetailedError> |
valErrorList |
| Constructor and Description |
|---|
DValueBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDuplicateFieldError(String msg,
String fieldName) |
protected void |
addMissingFieldError(String msg,
String fieldName) |
protected void |
addNoDataError() |
protected void |
addNoDataError(String msg) |
DetailedError |
addOldErrorMsgZ(ErrorType errType,
String message) |
void |
addParsingError(String msg,
String inputText) |
void |
addParsingError(String msg,
String inputText,
String fieldName) |
protected void |
addRefError(String msg) |
protected void |
addUnknownFieldError(String msg) |
protected void |
addWrongTypeError(String s) |
abstract void |
buildFromString(String input) |
boolean |
finish() |
DValue |
getDValue() |
DType |
getType() |
List<DetailedError> |
getValidationErrors() |
protected abstract void |
onFinish() |
boolean |
wasSuccessful() |
protected List<DetailedError> valErrorList
protected boolean finished
protected DValue newDVal
protected DType type
public String fieldName
public abstract void buildFromString(String input)
public boolean finish()
protected abstract void onFinish()
public boolean wasSuccessful()
public List<DetailedError> getValidationErrors()
public DValue getDValue()
public DetailedError addOldErrorMsgZ(ErrorType errType, String message)
protected void addNoDataError(String msg)
protected void addWrongTypeError(String s)
protected void addNoDataError()
protected void addUnknownFieldError(String msg)
protected void addRefError(String msg)
public DType getType()
Copyright © 2020. All rights reserved.