Insert all the data into database.
More...
Insert all the data into database.
- Author
- Xia Yu
- Version
- 1.0
void com.sanmixy.io.DataStorage.deviceStore |
( |
) | |
|
Insert the device data into database.
- Exceptions
-
IOException | Create a device object, and initial all the attributes, then save it by using device DAO object |
void com.sanmixy.io.DataStorage.doublePartCirStore |
( |
BufferedReader |
br) | |
|
Insert the rules between two parts into database.
- Exceptions
-
NumberFormatException,IOException | |
- Parameters
-
br | (BufferedReader) Create the DoublePartCir object, and initial all the attributes, then ues the DAO object to save it. |
void com.sanmixy.io.DataStorage.headPartStore |
( |
BufferedReader |
br) | |
|
Insert the rules of head nodes in a part sequence.
- Parameters
-
- Exceptions
-
NumberFormatException,IOException | Scan data from files, and create the object that you want to save. Use the setter to initial all the attributes,And then use the dao object to save it. |
< Create a dao object with beanFactory object
void com.sanmixy.io.DataStorage.partStore |
( |
) | |
|
Scan data from xml files and insert into PART table.
void com.sanmixy.io.DataStorage.pentaPartCirStore |
( |
BufferedReader |
br) | |
|
Insert the rules among five parts into database.
- Exceptions
-
NumberFormatException,IOException | |
- Parameters
-
br | (BufferedReader) Create the PentaPartCir object, and initial all the attributes, then ues the DAO object to save it. |
void com.sanmixy.io.DataStorage.quadraPartCirStore |
( |
BufferedReader |
br) | |
|
Insert the rules among four parts into database.
- Exceptions
-
NumberFormatException,IOException | |
- Parameters
-
br | (BufferedReader) Create the QuadraPartCir object, and initial all the attributes, then ues the DAO object to save it. |
void com.sanmixy.io.DataStorage.triplePartCirStore |
( |
BufferedReader |
br) | |
|
Insert the rules among three parts into database.
- Exceptions
-
NumberFormatException,IOException | |
- Parameters
-
br | (BufferedReader) Create the TriplePartCir object, and initial all the attributes, then ues the DAO object to save it. |
void com.sanmixy.io.DataStorage.twinsStore |
( |
String |
temp) | |
|
Insert twin data into database.
- Exceptions
-
- Parameters
-
temp | Create a xml reader, and get the twin data of a part which is giving in the parameter, then save all the twins by DAO object. |
void com.sanmixy.io.DataStorage.twinsStore |
( |
) | |
|
Insert twin data into database.
- Exceptions
-
- Parameters
-
temp | Create a xml reader, and get the twin data of a part, then save all the twins by DAO object. |
The documentation for this class was generated from the following file:
- BioFunctionalDesigner/src/com/sanmixy/io/DataStorage.java