|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.torque.util.JdbcTypedValue
public class JdbcTypedValue
A value plus its JDBC type.
Constructor Summary | |
---|---|
JdbcTypedValue(Object value,
int jdbcType)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
getJdbcType()
Returns the JDBC type as in java.sql.Types . |
Object |
getValue()
Returns the value. |
int |
hashCode()
|
void |
setJdbcType(int jdbcType)
Sets the JDBC type as in java.sql.Types . |
void |
setValue(Object value)
Sets the value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JdbcTypedValue(Object value, int jdbcType)
jdbcType
- The JDBC type as in java.sql.Types
.value
- The value; may be null.Method Detail |
---|
public int getJdbcType()
java.sql.Types
.
public void setJdbcType(int jdbcType)
java.sql.Types
.
jdbcType
- the JDBC type of the value.public Object getValue()
public void setValue(Object value)
value
- the value, may be null.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |