org.richfaces.model.iterators

## Class BaseTupleIterator

- java.lang.Object
- - com.google.common.collect.UnmodifiableIterator<TreeDataModelTuple>
  - - org.richfaces.model.iterators.BaseTupleIterator

- All Implemented Interfaces:
    Iterator<TreeDataModelTuple>
  Direct Known Subclasses:
    ClassicTreeNodeTuplesIterator, IterableDataTuplesIterator, MapDataTuplesIterator

      public abstract class BaseTupleIterator
      extends com.google.common.collect.UnmodifiableIterator<TreeDataModelTuple>

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseTupleIterator(SequenceRowKey baseKey)`
    `BaseTupleIterator(SequenceRowKey baseKey, javax.faces.component.UIComponent component)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected TreeDataModelTuple` | `createTuple(SequenceRowKey key)`
    `protected SequenceRowKey` | `getBaseKey()`
    `protected javax.faces.component.UIComponent` | `getComponent()`
    `protected SequenceRowKey` | `getCompositeKey(Object modelKey)`
    `protected Object` | `getKey()`
    `protected Object` | `getWrappedKey()`
    `TreeDataModelTuple` | `next()`
    `protected abstract void` | `proceedToNext()`
    `protected void` | `setKeyAndData(Object rowKey, Object data)`

    - ### Methods inherited from class com.google.common.collect.UnmodifiableIterator

      `remove`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining, hasNext`

- - ### Constructor Detail

    - #### BaseTupleIterator

          public BaseTupleIterator(SequenceRowKey baseKey)

    - #### BaseTupleIterator

          public BaseTupleIterator(SequenceRowKey baseKey,
                                   javax.faces.component.UIComponent component)

  - ### Method Detail

    - #### proceedToNext

          protected abstract void proceedToNext()

    - #### getComponent

          protected javax.faces.component.UIComponent getComponent()

    - #### getBaseKey

          protected SequenceRowKey getBaseKey()

    - #### setKeyAndData

          protected void setKeyAndData(Object rowKey,
                                       Object data)

    - #### getKey

          protected Object getKey()

    - #### next

          public final TreeDataModelTuple next()

    - #### createTuple

          protected TreeDataModelTuple createTuple(SequenceRowKey key)

    - #### getWrappedKey

          protected Object getWrappedKey()

    - #### getCompositeKey

          protected SequenceRowKey getCompositeKey(Object modelKey)

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.