| |
|
| java.lang.Object org.mandarax.sql.OneColumnMapping
OneColumnMapping | public class OneColumnMapping implements SQLObjectRelationalMapping(Code) | | Object relational mapping where the object is just the value of the
one (and probably only) column. This is suitable for queries like
SELECT NAME FROM CUSTOMERS WHERE ID=1 .
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.6 |
OneColumnMapping | public OneColumnMapping()(Code) | | Constructor.
|
OneColumnMapping | public OneColumnMapping(Class clazz)(Code) | | Constructor.
Parameters: clazz - a target type |
equals | public boolean equals(Object obj)(Code) | | Compare objects.
Parameters: obj - another object a boolean |
getTargetType | public Class getTargetType()(Code) | | Get the target class.
a class |
hashCode | public int hashCode()(Code) | | Get the hash code.
the hash code |
setTargetType | public void setTargetType(Class clazz)(Code) | | Set the target class.
Parameters: clazz - a class |
|
|
|