Package org.javlo.data.source
Class TestDataSource
- java.lang.Object
-
- org.javlo.data.source.TestDataSource
-
- All Implemented Interfaces:
IDataSource
public class TestDataSource extends Object implements IDataSource
-
-
Constructor Summary
Constructors Constructor Description TestDataSource(GlobalContext globalContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Object>
getList()
Map<String,Object>
getMap()
boolean
isValid()
return true if the connection if ok and if you can use this instance for access data.
-
-
-
Constructor Detail
-
TestDataSource
public TestDataSource(GlobalContext globalContext)
-
-
Method Detail
-
getList
public Collection<Object> getList()
- Specified by:
getList
in interfaceIDataSource
-
getMap
public Map<String,Object> getMap()
- Specified by:
getMap
in interfaceIDataSource
-
isValid
public boolean isValid()
Description copied from interface:IDataSource
return true if the connection if ok and if you can use this instance for access data.- Specified by:
isValid
in interfaceIDataSource
- Returns:
-
-