Package com.walkfares.odsl.var.basic
Class VarVirtualList
java.lang.Object
com.walkfares.odsl.var.BaseVar
com.walkfares.odsl.var.basic.VarList
com.walkfares.odsl.var.basic.VarVirtualList
- All Implemented Interfaces:
ListProvider
,PagedListProvider
,Var
public class VarVirtualList extends VarList implements PagedListProvider
-
Constructor Summary
Constructors Constructor Description VarVirtualList()
-
Method Summary
Modifier and Type Method Description Var
_clone()
Var
get(int index)
List<Var>
getElements()
OpenDSLService
getService()
int
getTop()
boolean
hasMore()
Var
next()
void
nextPage()
Paging
paging()
void
read(ServiceGetListRequest request)
void
reset()
VarVirtualList
setService(OpenDSLService service)
VarVirtualList
setTop(int top)
int
size()
Methods inherited from class com.walkfares.odsl.var.basic.VarList
add, add, addAll, addAll, applyChanges, clear, from, get, getDescription, getId, getName, getSize, getType, matches, remove, set_Id, setDescription, setName, splitList, subList, toString, tryConvert
Methods inherited from class com.walkfares.odsl.var.BaseVar
add, getLinks, getTypeName, getUID, setLinks
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.walkfares.odsl.var.basic.ListProvider
add, add, clear, get, get
Methods inherited from interface com.walkfares.odsl.var.Var
applyChanges, DATE, DATE_NULL, DYNAMIC, getId, getReference, getType, getTypeName, getUID, isEmpty, LIST, SCALAR, set_Id, setId, tryConvert
-
Constructor Details
-
VarVirtualList
public VarVirtualList()
-
-
Method Details
-
read
-
next
- Specified by:
next
in interfacePagedListProvider
-
get
- Specified by:
get
in interfaceListProvider
- Overrides:
get
in classVarList
-
nextPage
public void nextPage() -
reset
public void reset()- Specified by:
reset
in interfacePagedListProvider
-
paging
- Specified by:
paging
in interfacePagedListProvider
-
hasMore
public boolean hasMore()- Specified by:
hasMore
in interfacePagedListProvider
-
getService
-
setService
-
getTop
public int getTop() -
setTop
-
getElements
- Specified by:
getElements
in interfaceListProvider
- Overrides:
getElements
in classVarList
-
size
public int size()- Specified by:
size
in interfaceListProvider
- Overrides:
size
in classVarList
-
_clone
-