net.pleso.framework.client.dal.db
Interface IDBValue

All Superinterfaces:
INullable
All Known Implementing Classes:
DBBigInt, DBBoolean, DBDate, DBFloat, DBHTMLString, DBInteger, DBString, DBStringTime, DBTime

public interface IDBValue
extends INullable

Represents database value with possibility to be converted to string and parsed from string. As IDBValue extends INullable it can hold typed null value.


Method Summary
 java.lang.String getValue()
          Returns string representation of current value, held in implementation.
 boolean parseValue(java.lang.String value)
          Parses string representation of value to represented type and assigns parsed value to self.
 
Methods inherited from interface net.pleso.framework.client.dal.db.INullable
isNull, setNull
 

Method Detail

parseValue

boolean parseValue(java.lang.String value)
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.

Parameters:
value - string representation of value
Returns:
true if value parsed and assigned successfully

getValue

java.lang.String getValue()
Returns string representation of current value, held in implementation.

Returns:
string representation of value


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