|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.DBTools.DataSourceInfo
It's just a structure with some useful methods for representing
com.sun.star.sdb.DataSource
service. All this
service's properties are stored in appropriate class fields.
Class also allows to construct its instances using service
information, and create new service instance upon class
fields.
com.sun.star.sdb.DataSource
Field Summary | |
PropertyValue[] |
Info
Representation of 'Info' property. |
Boolean |
IsPasswordRequired
Representation of 'IsPasswordRequired' property. |
Boolean |
IsReadOnly
Representation of 'IsReadOnly' property. |
String |
Name
Representation of 'Name' property. |
String |
Password
Representation of 'Password' property. |
Boolean |
SuppressVersionColumns
Representation of 'SuppressVersionColumns' property. |
String[] |
TableFilter
Representation of 'TableFilter' property. |
String[] |
TableTypeFilter
Representation of 'TableTypeFilter' property. |
String |
URL
Representation of 'URL' property. |
String |
User
Representation of 'User' property. |
Constructor Summary | |
DBTools.DataSourceInfo()
Creates an empty instance. |
|
DBTools.DataSourceInfo(Object dataSource)
Creates an instance laying upon specified DataSource. |
Method Summary | |
Object |
getDataSourceService()
Creates new com.sun.star.sdb.DataSource service
instance and copies all fields (which are not null) to
appropriate service properties. |
void |
printInfo(PrintWriter out)
Prints datasource info. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public String Name
'Name'
property.public String URL
'URL'
property.public PropertyValue[] Info
'Info'
property.public String User
'User'
property.public String Password
'Password'
property.public Boolean IsPasswordRequired
'IsPasswordRequired'
property.public Boolean SuppressVersionColumns
'SuppressVersionColumns'
property.public Boolean IsReadOnly
'IsReadOnly'
property.public String[] TableFilter
'TableFilter'
property.public String[] TableTypeFilter
'TableTypeFilter'
property.Constructor Detail |
public DBTools.DataSourceInfo()
public DBTools.DataSourceInfo(Object dataSource)
dataSource
- All source properties are copied into
class fields.Method Detail |
public void printInfo(PrintWriter out)
out
- Stream to which information is printed.public Object getDataSourceService()
com.sun.star.sdb.DataSource
service
instance and copies all fields (which are not null) to
appropriate service properties.com.sun.star.sdb.DataSource
service.
|
OOoRunner test harness | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |