public class fResponse extends DbValue
BIGINT_DESC, bNull, CHAR_DESC, CURRENCY_DESC, DATE_DESC, desc, DOUBLE_DESC, INTEGER_DESC, TIME_DESC
Constructor and Description |
---|
fResponse() |
fResponse(DbColDesc dbColDesc) |
fResponse(JsonObject job,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerFields) |
fResponse(JsonStructure job,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerFields) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a clone of this DbValue variable.
|
int |
compareTo(DbValue v,
boolean matchSQL)
Compares with the DbValue object.
|
boolean |
equals(DbValue v)
Determines if another DbValue object is of
equal value as this DbValue Object.
|
DbChar |
errorMessage() |
fResponse |
get()
TODO need a clear return type of get(), not just 'fResponse'
|
fJsonObject |
getBody() |
DbChar |
getHeaderProperty(DbChar key)
Retrieves header property with specified name
|
void |
set(DbValue v)
Sets the value with DbValue.
|
void |
set(java.sql.ResultSet rs,
int col)
Sets the value with the result set value specified by column index.
|
void |
setErrorMessage(java.lang.String msg) |
void |
setValue(java.lang.String v)
Set the value with a string.
|
void |
success(boolean successed) |
DbBit |
successed() |
java.lang.String |
toString()
Converts the value to string.
|
java.lang.String |
toStringValue() |
compareTo, compareTo, compareTo, equals, getColDesc, getDataTimeZone, getPrecision, getScale, getSqlType, isCurrency, isNull, makeDbValue, set, setColDesc, setfoo, setNull, setValue
public fResponse()
public fResponse(JsonObject job, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerFields)
public fResponse(JsonStructure job, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headerFields)
public fResponse(DbColDesc dbColDesc)
public DbChar getHeaderProperty(DbChar key)
key
- String, name of the propertypublic fJsonObject getBody()
public DbBit successed()
public void success(boolean successed)
public DbChar errorMessage()
public void setErrorMessage(java.lang.String msg)
public fResponse get()
public void set(java.sql.ResultSet rs, int col) throws java.sql.SQLException
DbValue
public java.lang.Object clone()
DbValue
public boolean equals(DbValue v)
DbValue
public void setValue(java.lang.String v)
DbValue
public int compareTo(DbValue v, boolean matchSQL)
DbValue
public java.lang.String toString()
DbValue
public java.lang.String toStringValue()
toStringValue
in class DbValue