| |
|
| java.lang.Object com.workingdogs.village.Value
Value | public class Value (Code) | | A Value represents a single cell in a database table. In other words,
it is the cross between a row and column and contains the
information held there.
author: Jon S. Stevens version: $Revision: 568 $ |
Constructor Summary | |
public | Value(ResultSet rs, int columnNumber, int type) |
Value | public Value(ResultSet rs, int columnNumber, int type) throws SQLException(Code) | | Creates a new Value object based on the ResultSet, columnNumber and
type
Parameters: rs - Parameters: columnNumber - Parameters: type - exception: SQLException - |
asString | public String asString()(Code) | | Returns the string representation of this object
a string |
columnNumber | int columnNumber()(Code) | | Gets the columnNumber which this value represents.
an int |
getValue | Object getValue()(Code) | | Gets the object from this Value
the object from this Value |
isBigDecimal | public boolean isBigDecimal()(Code) | | Is the value a isBigDecimal
true if BigDecimal |
isBoolean | public boolean isBoolean()(Code) | | Is the value a isBoolean
true if is Boolean |
isByte | public boolean isByte()(Code) | | Is the value a isByte
true if is Byte |
isBytes | public boolean isBytes()(Code) | | Is the value a isBytes
true if is byte[] |
isDate | public boolean isDate()(Code) | | Is the value a isDate
true if is java.sql.Date |
isDouble | public boolean isDouble()(Code) | | Is the value a isDouble
true if is Double |
isFloat | public boolean isFloat()(Code) | | Is the value a isFloat
true if is Float |
isInt | public boolean isInt()(Code) | | Is the value a isInt
true if is Integer |
isLong | public boolean isLong()(Code) | | Is the value a isLong
true if is Long |
isNull | public boolean isNull()(Code) | | Is the value a isNull
true if is null |
isShort | public boolean isShort()(Code) | | Is the value a isShort
true if is Short |
isString | public boolean isString()(Code) | | Is the value a isString
true if is String |
isTime | public boolean isTime()(Code) | | Is the value a isTime
true if is java.sql.Time |
isTimestamp | public boolean isTimestamp()(Code) | | Is the value a isTimestamp
true if is java.sql.Timestamp |
isUtilDate | public boolean isUtilDate()(Code) | | Is the value a isUtilDate
true if is java.util.Date |
setValue | void setValue(Object value)(Code) | | Sets the value of this object
Parameters: value - |
toString | public String toString()(Code) | | Returns the string representation of this object
a string |
type | public int type()(Code) | | Return the type of this value
the type of this value |
|
|
|