|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.pleso.framework.client.dal.db.types.DBString
public class DBString
Database String type
| Field Summary | |
|---|---|
static java.lang.String |
nullValue
|
| Constructor Summary | |
|---|---|
DBString()
|
|
DBString(java.lang.String initialValue)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getString()
|
java.lang.String |
getValue()
Returns string representation of current value, held in implementation. |
boolean |
isNull()
Checks whether value of instance equals null. |
boolean |
parseValue(java.lang.String value)
Parses string representation of value to represented type and assigns parsed value to self. |
void |
setNull()
Sets instance value to null. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String nullValue
| Constructor Detail |
|---|
public DBString()
public DBString(java.lang.String initialValue)
| Method Detail |
|---|
public java.lang.String getValue()
IDBValue
getValue in interface IDBValuepublic boolean parseValue(java.lang.String value)
IDBValuenull
implementation must try to set itself to null.
parseValue in interface IDBValuevalue - string representation of value
true if value parsed and assigned successfullypublic boolean isNull()
INullable
isNull in interface INullabletrue if instance value is nullpublic void setNull()
INullable
setNull in interface INullablepublic java.lang.String getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||