|
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.Object oracle.adfnmc.bindings.dbf.NotifyingIteratorBinding oracle.adfnmc.util.GenericTypeIteratorAdapter
public class GenericTypeIteratorAdapter
Field Summary | |
---|---|
protected BindingContainer |
bc
|
protected DataControl |
dc
|
protected java.lang.String |
id
|
protected int |
index
|
protected java.lang.String |
master
|
protected java.lang.String |
name
|
protected GenericType |
provider
|
Fields inherited from class oracle.adfnmc.bindings.dbf.NotifyingIteratorBinding |
---|
attributeUpdatedListeners, collectionChangedListeners, positionChangedListeners, providerChangedListeners, rangedPositionChangedListeners |
Constructor Summary | |
---|---|
GenericTypeIteratorAdapter()
|
|
GenericTypeIteratorAdapter(DataControl dc,
XmlAnyDefinition metadataDef,
BindingContainer bc,
GenericType provider)
|
Method Summary | |
---|---|
java.lang.Object |
createRow(boolean insert)
Row create/update/remove are not supported for this type. |
protected int |
findPosition(GenericType gt)
|
protected int |
findPosition(java.lang.Object o)
|
java.lang.Object |
first()
|
java.lang.Class |
getAttributeType(java.lang.String name)
Retrieve the given attribute's type. |
java.lang.Object |
getAttributeValue(java.lang.String name)
Retrieve the given attribute's value |
java.lang.Object |
getAttributeValueAtIndex(int index,
java.lang.String attributeName)
Retrieve the value of the attribute at the given index/name Please note, this does NOT change the current provider like setCurrentIndex() + getAttributeValue() would do. |
BindingContainer |
getBindingContainer()
|
GenericType |
getChildProvider(int i)
|
int |
getCurrentIndex()
|
java.lang.Object |
getCurrentRow()
|
java.lang.Object[] |
getCurrentValues()
|
DataControl |
getDataControl()
|
java.lang.Object |
getDataProvider()
Returns the data provider object wrapped by this iterator binding. |
java.lang.Object |
getDataProvider(java.lang.String name)
Retrieve the data provider for the associated child/bound element. |
java.lang.Object |
getDataProvider(java.lang.String namespace,
java.lang.String name)
Retrieve the data provider for the associated child/bound element. |
java.lang.Object |
getDataProvider(XmlAnyDefinition metadataDef)
Retrieve the data provider for the associated child/bound element. |
java.lang.Object |
getExtendedAttributeInfo(java.lang.Object infoKey,
java.lang.String attributeName)
Get the extended attribute information |
java.lang.String |
getId()
|
java.lang.String |
getMasterId()
|
XmlAnyDefinition |
getMetadataDefinition()
|
int |
getTotalRowCount()
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
boolean |
isUpdateable(java.lang.String name)
Is the given attribute updateable |
java.lang.Object |
last()
|
protected void |
log(Level level,
java.lang.String msg)
|
java.lang.Object |
next()
|
void |
positionChanged(int absoluteIndex)
Fires when the iterator position is changed to point to a different row. |
java.lang.Object |
previous()
|
void |
rangeRefreshed()
|
void |
refresh()
refresh the iterator |
java.lang.Object |
removeCurrentRow()
Row create/update/remove are not supported for this type. |
void |
rowInserted(java.lang.Object newRow)
|
void |
rowRemoved(java.lang.Object removedRow)
|
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
Set the 'name'd' attribute value. |
void |
setCurrentIndex(int i)
|
void |
setDataProvider(java.lang.Object value)
Sets the data provider object wrapped by this iterator binding. |
void |
setMetadataDefinition(XmlAnyDefinition def)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int index
protected java.lang.String name
protected java.lang.String id
protected DataControl dc
protected java.lang.String master
protected BindingContainer bc
protected GenericType provider
Constructor Detail |
---|
public GenericTypeIteratorAdapter()
public GenericTypeIteratorAdapter(DataControl dc, XmlAnyDefinition metadataDef, BindingContainer bc, GenericType provider)
Method Detail |
---|
public XmlAnyDefinition getMetadataDefinition()
getMetadataDefinition
in interface BasicIterator
public void setMetadataDefinition(XmlAnyDefinition def)
setMetadataDefinition
in interface BasicIterator
def
- The metadata definition object for this iterator bindingpublic java.lang.String getMasterId()
public java.lang.String getId()
public BindingContainer getBindingContainer()
getBindingContainer
in interface BasicIterator
public DataControl getDataControl()
getDataControl
in interface BasicIterator
public java.lang.Object getDataProvider()
BasicIterator
getDataProvider
in interface BasicIterator
public void setDataProvider(java.lang.Object value)
BasicIterator
setDataProvider
in interface BasicIterator
public java.lang.Object getDataProvider(java.lang.String name)
name
-
public java.lang.Object getDataProvider(java.lang.String namespace, java.lang.String name)
namespace
- name
-
public java.lang.Object getDataProvider(XmlAnyDefinition metadataDef)
getDataProvider
in interface BasicIterator
metadataDef
- The metadata definition for the accessor iterator
that binds to the named object contained in the object wrapped by this iterator binding.
public void refresh()
refresh
in interface BasicIterator
public boolean hasNext()
hasNext
in interface BasicIterator
public boolean hasPrevious()
hasPrevious
in interface BasicIterator
public void positionChanged(int absoluteIndex)
IteratorPositionListener
positionChanged
in interface IteratorPositionListener
public void rowInserted(java.lang.Object newRow)
public void rowRemoved(java.lang.Object removedRow)
public void rangeRefreshed()
public java.lang.Object first()
first
in interface BasicIterator
public java.lang.Object previous()
previous
in interface BasicIterator
public java.lang.Object next()
next
in interface BasicIterator
public java.lang.Object last()
last
in interface BasicIterator
public int getCurrentIndex()
getCurrentIndex
in interface BasicIterator
public GenericType getChildProvider(int i)
public void setCurrentIndex(int i)
setCurrentIndex
in interface BasicIterator
public int getTotalRowCount()
getTotalRowCount
in interface BasicIterator
public java.lang.Object getCurrentRow()
getCurrentRow
in interface BasicIterator
public java.lang.Object createRow(boolean insert)
createRow
in interface BasicIterator
insert
- true if the row
public java.lang.Object removeCurrentRow()
removeCurrentRow
in interface BasicIterator
public java.lang.Class getAttributeType(java.lang.String name)
getAttributeType
in interface BasicIterator
name
- of the attribute
public boolean isUpdateable(java.lang.String name)
isUpdateable
in interface BasicIterator
name
- of the attribute
public java.lang.Object getExtendedAttributeInfo(java.lang.Object infoKey, java.lang.String attributeName)
getExtendedAttributeInfo
in interface BasicIterator
infoKey
- attributeName
-
public java.lang.Object getAttributeValue(java.lang.String name)
getAttributeValue
in interface BasicIterator
name
- public void setAttributeValue(java.lang.String name, java.lang.Object value)
setAttributeValue
in interface BasicIterator
name
- of the attributevalue
- of the attributepublic java.lang.Object getAttributeValueAtIndex(int index, java.lang.String attributeName)
getAttributeValueAtIndex
in interface BasicIterator
index
- attributeName
-
public java.lang.Object[] getCurrentValues()
getCurrentValues
in interface BasicIterator
public java.lang.String toString()
toString
in class java.lang.Object
protected int findPosition(GenericType gt)
protected int findPosition(java.lang.Object o)
protected void log(Level level, java.lang.String msg)
|
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 |