|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.Key
public class Key
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
Constructor Summary | |
---|---|
Key(java.lang.Object[] values)
|
|
Key(java.lang.Object[] keyValues,
long sig,
java.lang.Object rowHandle)
Internal: em>Applications should not invoke this method. |
|
Key(java.lang.String sString,
AttributeDef[] keyAttrs)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object val)
|
boolean |
equalsIgnoreNull(java.lang.Object value)
|
java.lang.Object |
getAttribute(int index)
Selects the attribute at the given index. |
java.lang.Object |
getAttribute(java.lang.String name)
Selects the attribute with the given name. |
int |
getAttributeCount()
Counts the number of attributes. |
int |
getAttributeIndexOf(java.lang.String name)
Finds the index (0-based) of the named attribute. |
java.lang.String[] |
getAttributeNames()
Returns an array of attribute names in this list. |
java.lang.Object[] |
getAttributeValues()
Returns an array of attribute values in this list. |
java.lang.Object[] |
getKeyValues()
|
java.lang.Object |
getRowHandle()
Internal: em>Applications should not invoke this method. |
long |
getSignature()
Internal: em>Applications should not invoke this method. |
int |
hashCode()
|
boolean |
isNull()
|
static boolean |
isNullKeyValues(java.lang.Object[] keyValues)
Checks if the key values are null . |
void |
setAttribute(int index,
java.lang.Object value)
Sets the value of an attribute. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Set the value for the named attribute. |
java.lang.String |
toString()
|
java.lang.String |
toStringFormat(boolean bSignature)
Converts the Key to a String representation. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
Constructor Detail |
---|
public Key(java.lang.Object[] values)
public Key(java.lang.Object[] keyValues, long sig, java.lang.Object rowHandle)
public Key(java.lang.String sString, AttributeDef[] keyAttrs) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public java.lang.Object getAttribute(int index)
AttributeList
getAttribute
in interface AttributeList
index
- an integer in the range 0
to getAttributeCount() - 1
.
index
, or null if index out of rangepublic java.lang.Object getAttribute(java.lang.String name)
AttributeList
getAttribute
in interface AttributeList
name
- an attribute name.
name
, or null if name not foundpublic int getAttributeCount()
AttributeList
getAttributeCount
in interface AttributeList
public int getAttributeIndexOf(java.lang.String name)
AttributeList
getAttributeIndexOf
in interface AttributeList
name
- the attribute's name.
0
to getAttributeCount() - 1
.
If the named attribute is not found, it returns -1.public java.lang.String[] getAttributeNames()
AttributeList
getAttributeNames
in interface AttributeList
public java.lang.Object[] getAttributeValues()
AttributeList
getAttributeValues
in interface AttributeList
public void setAttribute(int index, java.lang.Object value)
AttributeList
setAttribute
in interface AttributeList
index
- the attribute's index.value
- the value to be assigned to the attribute.public void setAttribute(java.lang.String name, java.lang.Object value)
AttributeList
setAttribute
in interface AttributeList
name
- the attribute's name.value
- the value to be assigned to the attribute.public java.lang.Object[] getKeyValues()
public boolean isNull()
public static boolean isNullKeyValues(java.lang.Object[] keyValues)
null
.
true
if keyValues
is empty or if all its values are
null
.public boolean equalsIgnoreNull(java.lang.Object value)
public boolean equals(java.lang.Object val)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringFormat(boolean bSignature)
public int hashCode()
hashCode
in class java.lang.Object
public long getSignature()
public java.lang.Object getRowHandle()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |