| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ru.biosoft.access.DataElementSupport
|
+--ru.biosoft.access.AbstractDataCollection
|
+--ru.biosoft.access.SqlDataCollection
DataCollection which store all information in SQL DBMS.
| Field Summary | |
final static String | JDBC_DRIVER_PROPERTYProperty for storing class of jdbc driver. |
final static String | JDBC_PASSWORD_PROPERTYProperty for storing user password for connecting to the DBMS. |
final static String | JDBC_URL_PROPERTYProperty for storing driver specific URL for connecting to the DBMS. |
final static String | JDBC_USER_PROPERTYProperty for storing user name for connecting to the DBMS. |
final static String | TRANSFORMER_CLASS_PROPERTYProperty for storing class of that should be used for converting DataElements to/from DBMS. |
| Constructor Summary | |
SqlDataCollection(DataCollection parent, Properties properties)Standart constructor for creating data collection. | |
| Method Summary | |
void | close()Close connection to DBMS. |
boolean | contains(String name)Returns true if data collection contain element with the specified name. |
final Connection | getConnection()Return active connection. |
Class | getDataElementType()Return type of DataElement stored in this data collection. |
List | getNameList() |
int | getSize()Returns size of data collection. |
SqlTransformer | getTransformer() |
boolean | isMutable()Returns true if this data collection is mutable. |
Iterator | iterator()Returns an iterator over the data elements in this collection. |
| Methods inherited from class ru.biosoft.access.AbstractDataCollection |
addDataCollectionListener, contains, get, getCompleteName, getDescription, getInfo, isNotificationEnabled, isPropagationEnabled, propagateElementChanged, propagateElementWillChange, put, release, remove, removeDataCollectionListener, setNotificationEnabled, setPropagationEnabled, toString |
| Methods inherited from class ru.biosoft.access.DataElementSupport |
getName, getOrigin, registerConstructorWithBadEqual |
| Field Detail |
public final static String JDBC_DRIVER_PROPERTY
public final static String JDBC_PASSWORD_PROPERTY
public final static String JDBC_URL_PROPERTY
public final static String JDBC_USER_PROPERTY
public final static String TRANSFORMER_CLASS_PROPERTY
| Constructor Detail |
public SqlDataCollection(DataCollection parent, Properties properties)
throws java.lang.ClassNotFoundException,
java.sql.SQLException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
| Method Detail |
public void close()
throws java.lang.Exception
public boolean contains(String name)
public final Connection getConnection()
throws java.sql.SQLException
public Class getDataElementType()
public List getNameList()
public int getSize()
public SqlTransformer getTransformer()
public boolean isMutable()
true if this data collection is mutable.
Check Connection is read only or not.public Iterator iterator()
| Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.sql.Connection
to Class ru.biosoft.access.SqlTransformer
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||