net.pleso.framework.client.dal.db.types
Class DBStringTime

java.lang.Object
  extended by net.pleso.framework.client.dal.db.types.DBStringTime
All Implemented Interfaces:
IDBValue, INullable

public class DBStringTime
extends java.lang.Object
implements IDBValue, INullable

Database Time type internally implemented like String see StringTime


Field Summary
static StringTime nullValue
           
 
Constructor Summary
DBStringTime()
           
DBStringTime(StringTime initialValue)
           
 
Method Summary
 StringTime getStringDate()
           
 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

nullValue

public static final StringTime nullValue
Constructor Detail

DBStringTime

public DBStringTime()

DBStringTime

public DBStringTime(StringTime initialValue)
Method Detail

isNull

public boolean isNull()
Description copied from interface: INullable
Checks whether value of instance equals null.

Specified by:
isNull in interface INullable
Returns:
true if instance value is null

setNull

public void setNull()
Description copied from interface: INullable
Sets instance value to null.

Specified by:
setNull in interface INullable

getValue

public java.lang.String getValue()
Description copied from interface: IDBValue
Returns string representation of current value, held in implementation.

Specified by:
getValue in interface IDBValue
Returns:
string representation of value

parseValue

public boolean parseValue(java.lang.String value)
Description copied from interface: IDBValue
Parses string representation of value to represented type and assigns parsed value to self. If string value equals null implementation must try to set itself to null.

Specified by:
parseValue in interface IDBValue
Parameters:
value - string representation of value
Returns:
true if value parsed and assigned successfully

getStringDate

public StringTime getStringDate()


Copyright © 2006-2007 pleso.net crew All Rights Reserved.