org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.mapping
Class MappingTripleIterator

java.lang.Object
  extended by org.lexevs.paging.AbstractPageableIterator<ResolvedConceptReference>
      extended by org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.mapping.MappingTripleIterator
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<ResolvedConceptReference>, java.util.Iterator<ResolvedConceptReference>

public class MappingTripleIterator
extends AbstractPageableIterator<ResolvedConceptReference>

See Also:
Serialized Form

Nested Class Summary
protected  class MappingTripleIterator.MappingAbsoluteCodingSchemeVersionReferences
           
 
Nested classes/interfaces inherited from class org.lexevs.paging.AbstractPageableIterator
AbstractPageableIterator.NextDecorator<T>, AbstractPageableIterator.Pager<T>
 
Constructor Summary
MappingTripleIterator()
           
MappingTripleIterator(java.lang.String uri, java.lang.String version, java.lang.String relationsContainerName, java.util.List<MappingExtension.MappingSortOption> sortOptionList)
           
 
Method Summary
protected  java.util.List<? extends ResolvedConceptReference> doPage(int currentPosition, int pageSize)
          Returns a page of results.
 
Methods inherited from class org.lexevs.paging.AbstractPageableIterator
decorateNext, doExecutePage, getGlobalPosition, getPageSize, hasNext, isDecorateNext, isPageNeeded, iterator, next, page, pageIfNecessary, remove, setDecorateNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingTripleIterator

public MappingTripleIterator()

MappingTripleIterator

public MappingTripleIterator(java.lang.String uri,
                             java.lang.String version,
                             java.lang.String relationsContainerName,
                             java.util.List<MappingExtension.MappingSortOption> sortOptionList)
                      throws LBParameterException
Throws:
LBParameterException
Method Detail

doPage

protected java.util.List<? extends ResolvedConceptReference> doPage(int currentPosition,
                                                                    int pageSize)
Description copied from class: AbstractPageableIterator
Returns a page of results. NOTE: 'pageSize' is not binding -- it is the suggested page size. Implementing classes may return more or less than the suggested 'pageSize' parameter, although it is generally recommended to abide by the 'pageSize' parameter when possible. A null or empty list returned from this method will signify that the underlying results are exhausted and paging should halt.

Specified by:
doPage in class AbstractPageableIterator<ResolvedConceptReference>
Parameters:
currentPosition - the current position
pageSize - the page size
Returns:
the list

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.