Package org.apache.torque.util
Klasse ColumnValues
java.lang.Object
org.apache.torque.util.ColumnValues
- Alle implementierten Schnittstellen:
Map<Column,JdbcTypedValue>
A class containing values for database columns.
The insertion order of the entries is preserved.
- Version:
- $Id: ColumnValues.java 1840416 2018-09-09 15:10:22Z tv $
-
Verschachtelte Klassen - Übersicht
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungConstructor with no contained column values.ColumnValues(String dbName) Constructor with no contained column values.ColumnValues(Map<Column, JdbcTypedValue> columnValues) Constructor.ColumnValues(Map<Column, JdbcTypedValue> columnValues, String dbName) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()Returns the name of the database handle to use for connection opening.booleanisEmpty()keySet()put(Column key, JdbcTypedValue value) voidputAll(Map<? extends Column, ? extends JdbcTypedValue> t) intsize()toString()values()Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Konstruktordetails
-
ColumnValues
public ColumnValues()Constructor with no contained column values.- Löst aus:
NullPointerException- if table is null.
-
ColumnValues
Constructor with no contained column values.- Parameter:
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.- Löst aus:
NullPointerException- if table is null.
-
ColumnValues
Constructor.- Parameter:
columnValues- the column values, or null.- Löst aus:
NullPointerException- if table is null.
-
ColumnValues
Constructor.- Parameter:
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.- Löst aus:
NullPointerException- if table is null.
-
-
Methodendetails
-
getDbName
Returns the name of the database handle to use for connection opening.- Gibt zurück:
- the database name, or null to use the default database handle for the table.
-
size
public int size()- Angegeben von:
sizein SchnittstelleMap<Column,JdbcTypedValue>
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmptyin SchnittstelleMap<Column,JdbcTypedValue>
-
containsKey
- Angegeben von:
containsKeyin SchnittstelleMap<Column,JdbcTypedValue>
-
containsValue
- Angegeben von:
containsValuein SchnittstelleMap<Column,JdbcTypedValue>
-
get
- Angegeben von:
getin SchnittstelleMap<Column,JdbcTypedValue>
-
put
- Angegeben von:
putin SchnittstelleMap<Column,JdbcTypedValue>
-
remove
- Angegeben von:
removein SchnittstelleMap<Column,JdbcTypedValue>
-
putAll
- Angegeben von:
putAllin SchnittstelleMap<Column,JdbcTypedValue>
-
clear
public void clear()- Angegeben von:
clearin SchnittstelleMap<Column,JdbcTypedValue>
-
keySet
- Angegeben von:
keySetin SchnittstelleMap<Column,JdbcTypedValue>
-
values
- Angegeben von:
valuesin SchnittstelleMap<Column,JdbcTypedValue>
-
entrySet
- Angegeben von:
entrySetin SchnittstelleMap<Column,JdbcTypedValue>
-
toString
-