| 
 | OOoRunner test harness | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
util
Class  DBTools.DataSourceInfo
java.lang.Object | +--util.DBTools.DataSourceInfo
- Enclosing class:
- DBTools
- public class DBTools.DataSourceInfo- extends Object
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.
- See Also:
- com.sun.star.sdb.DataSource
| Field Summary | |
|  PropertyValue[] | InfoRepresentation of 'Info'property. | 
|  Boolean | IsPasswordRequiredRepresentation of 'IsPasswordRequired'property. | 
|  Boolean | IsReadOnlyRepresentation of 'IsReadOnly'property. | 
|  String | NameRepresentation of 'Name'property. | 
|  String | PasswordRepresentation of 'Password'property. | 
|  Boolean | SuppressVersionColumnsRepresentation of 'SuppressVersionColumns'property. | 
|  String[] | TableFilterRepresentation of 'TableFilter'property. | 
|  String[] | TableTypeFilterRepresentation of 'TableTypeFilter'property. | 
|  String | URLRepresentation of 'URL'property. | 
|  String | UserRepresentation 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.DataSourceservice
 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 | 
Name
public String Name
- Representation of 'Name'property.
URL
public String URL
- Representation of 'URL'property.
Info
public PropertyValue[] Info
- Representation of 'Info'property.
User
public String User
- Representation of 'User'property.
Password
public String Password
- Representation of 'Password'property.
IsPasswordRequired
public Boolean IsPasswordRequired
- Representation of 'IsPasswordRequired'property.
SuppressVersionColumns
public Boolean SuppressVersionColumns
- Representation of 'SuppressVersionColumns'property.
IsReadOnly
public Boolean IsReadOnly
- Representation of 'IsReadOnly'property.
TableFilter
public String[] TableFilter
- Representation of 'TableFilter'property.
TableTypeFilter
public String[] TableTypeFilter
- Representation of 'TableTypeFilter'property.
| Constructor Detail | 
DBTools.DataSourceInfo
public DBTools.DataSourceInfo()
- Creates an empty instance.
DBTools.DataSourceInfo
public DBTools.DataSourceInfo(Object dataSource)
- Creates an instance laying upon specified DataSource.- Parameters:
- dataSource- All source properties are copied into class fields.
 
| Method Detail | 
printInfo
public void printInfo(PrintWriter out)
- Prints datasource info.- Parameters:
- out- Stream to which information is printed.
 
getDataSourceService
public Object getDataSourceService()
- Creates new com.sun.star.sdb.DataSourceservice instance and copies all fields (which are not null) to appropriate service properties.- Returns:
- com.sun.star.sdb.DataSourceservice.
 
| 
 | OOoRunner test harness | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

