|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeList
Provides access to a list of attributes.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
java.lang.Object getAttribute(int index)
index
- an integer in the range 0
to getAttributeCount() - 1
.index
.java.lang.Object getAttribute(java.lang.String name)
name
- an attribute name.name
.JboException
,
- a runtime exception, if name
is unknown.void setAttribute(int index, java.lang.Object value)
index
- the attribute's index.value
- the value to be assigned to the attribute.void setAttribute(java.lang.String name, java.lang.Object value)
name
- the attribute's name.value
- the value to be assigned to the attribute.JboException
,
- a runtime exception, i if name
is unknown.int getAttributeCount()
int getAttributeIndexOf(java.lang.String name)
name
- the attribute's name.0
to getAttributeCount() - 1
. If the named attribute is not found, it returns -1.java.lang.String[] getAttributeNames()
java.lang.Object[] getAttributeValues()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |