| 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)Return is DataElement with such name exists in the data collection. |
Class | getDataElementType()Return type of DataElement stored in this data collection. |
final String | getDriverClassName()Return driver class name for DB connection. |
final String | getPassword()Return Password for DB connection. |
int | getSize()Return size of data collection. |
final String | getUrl()Return URL for DB connection. |
final String | getUser()Return User for DB connection. |
void | init()Called before any other method. |
boolean | isMutable()Returns true if this data collection is mutable. |
Iterator | iterator()Returns an iterator over the data elements in this collection. |
DataElement | put(DataElement element)Adds the specified data element to the collection. |
| Methods inherited from class ru.biosoft.access.AbstractDataCollection |
addDataCollectionListener, contains, get, getCompleteName, getInfo, getNameList, propagateElementChanged, propagateElementWillChange, remove, removeDataCollectionListener, 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.IllegalAccessException,
java.lang.InstantiationException
| Method Detail |
public void close()
throws java.lang.Exception
public boolean contains(String name)
public Class getDataElementType()
public final String getDriverClassName()
public final String getPassword()
public int getSize()
public final String getUrl()
public final String getUser()
public void init()
public boolean isMutable()
true if this data collection is mutable.
Check Connection is read only or not.public Iterator iterator()
public DataElement put(DataElement element)
throws java.lang.Exception
| Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class ru.biosoft.access.SQLTransformer
to Class java.sql.Connection
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||