|
||||||||||
| 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.DBInteger
public class DBInteger
Database integer type
| Field Summary | |
|---|---|
static java.lang.Integer |
nullValue
|
| Constructor Summary | |
|---|---|
DBInteger()
|
|
DBInteger(java.lang.Integer initialValue)
|
|
| Method Summary | |
|---|---|
java.lang.Integer |
getInteger()
|
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.Integer nullValue
| Constructor Detail |
|---|
public DBInteger()
public DBInteger(java.lang.Integer initialValue)
| Method Detail |
|---|
public boolean isNull()
INullable
isNull in interface INullabletrue if instance value is nullpublic void setNull()
INullable
setNull in interface INullablepublic 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 java.lang.Integer getInteger()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||