|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.torque.util.ColumnValues
public class ColumnValues
A class containing values for database columns.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
ColumnValues()
Constructor with no contained column values. |
|
ColumnValues(Map<Column,JdbcTypedValue> columnValues)
Constructor. |
|
ColumnValues(Map<Column,JdbcTypedValue> columnValues,
TableMap table,
String dbName)
Constructor. |
|
ColumnValues(TableMap table,
String dbName)
Constructor with no contained column values. |
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<Column,JdbcTypedValue>> |
entrySet()
|
JdbcTypedValue |
get(Object key)
|
String |
getDbName()
Returns the name of the database handle to use for connection opening. |
boolean |
isEmpty()
|
Set<Column> |
keySet()
|
JdbcTypedValue |
put(Column key,
JdbcTypedValue value)
|
void |
putAll(Map<? extends Column,? extends JdbcTypedValue> t)
|
JdbcTypedValue |
remove(Object key)
|
int |
size()
|
String |
toString()
|
Collection<JdbcTypedValue> |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public ColumnValues()
NullPointerException
- if table is null.public ColumnValues(TableMap table, String dbName)
dbName
- the name of the database handle to use for connection
opening if needed, or null to use the default database handle
for the table.
NullPointerException
- if table is null.public ColumnValues(Map<Column,JdbcTypedValue> columnValues)
columnValues
- the column values, or null.
NullPointerException
- if table is null.public ColumnValues(Map<Column,JdbcTypedValue> columnValues, TableMap table, String dbName)
columnValues
- the column values, or null.dbName
- the name of the database handle to use for connection
opening if needed, or null to use the default database handle
for the table.
NullPointerException
- if table is null.Method Detail |
---|
public String getDbName()
public int size()
size
in interface Map<Column,JdbcTypedValue>
public boolean isEmpty()
isEmpty
in interface Map<Column,JdbcTypedValue>
public boolean containsKey(Object key)
containsKey
in interface Map<Column,JdbcTypedValue>
public boolean containsValue(Object value)
containsValue
in interface Map<Column,JdbcTypedValue>
public JdbcTypedValue get(Object key)
get
in interface Map<Column,JdbcTypedValue>
public JdbcTypedValue put(Column key, JdbcTypedValue value)
put
in interface Map<Column,JdbcTypedValue>
public JdbcTypedValue remove(Object key)
remove
in interface Map<Column,JdbcTypedValue>
public void putAll(Map<? extends Column,? extends JdbcTypedValue> t)
putAll
in interface Map<Column,JdbcTypedValue>
public void clear()
clear
in interface Map<Column,JdbcTypedValue>
public Set<Column> keySet()
keySet
in interface Map<Column,JdbcTypedValue>
public Collection<JdbcTypedValue> values()
values
in interface Map<Column,JdbcTypedValue>
public Set<Map.Entry<Column,JdbcTypedValue>> entrySet()
entrySet
in interface Map<Column,JdbcTypedValue>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |