|
Oracle Application Server DMS API Reference 10g Release 3 (10.1.3.1.0) B28943-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.dms.table.Key
public class Key
Table
class uses Key
instances to uniquely identify Row
s. A Key
instance contains a set of the key column names and values.
Constructor Summary | |
---|---|
Key(java.util.Map keyMap) Creates an object. |
Method Summary | |
---|---|
boolean |
containsKey(java.lang.String name) Returns true if this Table contains the given key column. |
java.util.Enumeration |
enumerateKeys(boolean sorted) Enumerates the names of the key columns in this Table as String s. |
java.lang.String[] |
getKeys() Gets the names of the key columns in this Table as an array. |
java.lang.Object |
getKeyValue(java.lang.String key) Gets the value of the given key column. |
int |
keyCount() Gets the number of the key columns in this Table . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Key(java.util.Map keyMap)
keyMap
- key column values hashed by key column names.Method Detail |
---|
public java.lang.Object getKeyValue(java.lang.String key)
key
- the name of the key column.public int keyCount()
Table
.Table
.public java.lang.String[] getKeys()
Table
as an array.Table
as an array.enumerateKeys(boolean sorted)
public boolean containsKey(java.lang.String name)
true
if this Table
contains the given key column.name
- the name of the key column.true
if this Table
contains the given key column.public java.util.Enumeration enumerateKeys(boolean sorted)
Table
as String
s.sorted
- true
enumerates the names of the key columns in the acsending order.Enumeration
object for enumerating the names of the key columns in this Table
as String
s.getKeys()
|
Oracle Application Server DMS API Reference 10g Release 3 (10.1.3.1.0) B28943-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |