|
||||||||||
| 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.DBTime
public class DBTime
Database Time type
| Field Summary | |
|---|---|
static java.util.Date |
nullValue
|
| Constructor Summary | |
|---|---|
DBTime()
|
|
DBTime(java.util.Date initialValue)
|
|
| Method Summary | |
|---|---|
java.util.Date |
getTime()
|
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.util.Date nullValue
| Constructor Detail |
|---|
public DBTime()
public DBTime(java.util.Date 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.util.Date getTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||