Serialized Form


Package net.sourceforge.jdbdump.connect

Class net.sourceforge.jdbdump.connect.DatabaseBackupData extends DatabaseConnectionData implements Serializable

serialVersionUID: 1151109393033790164L

Class net.sourceforge.jdbdump.connect.DatabaseConnectionData extends java.util.Properties implements Serializable

serialVersionUID: 1295234520171150641L

Class net.sourceforge.jdbdump.connect.User extends java.util.Properties implements Serializable

serialVersionUID: 849771558466348087L

Serialized Fields

userData

java.util.Properties userData

Package net.sourceforge.jdbdump.dump

Class net.sourceforge.jdbdump.dump.Column extends java.lang.Object implements Serializable

serialVersionUID: 8100923642828414845L

Serialized Fields

name

java.lang.String name
The column's name.


type

java.lang.String type
Column's type name (e.g. 'varchar', 'timestamp', etc.).


length

int length
Column's length - number of characters for string types, number of digits for decimal types, irrelevant for most other types.


decimalDigits

int decimalDigits
Maximum number of digits after the dot or comma.


nullable

int nullable
Can it store null values - according to Java API docs for DatabaseMetaData:
 - columnNoNulls - might not allow NULL values
 - columnNullable - definitely allows NULL values
 - columnNullableUnknown - nullability unknown 
 


nullable2

java.lang.String nullable2
Can it store null values - according to Java API docs for DatabaseMetaData:
 - "NO" means column definitely does not allow NULL values;
 - "YES" means the column might allow NULL values.
 - An empty string means nobody knows.
 


defaultValue

java.lang.String defaultValue
The default column value, used when no value is given in an insert query.


remarks

java.lang.String remarks
Some non-standard keywords - e.g. "auto_increment" in MySQL.


constraint

Constraint constraint
A constraint assigned to this column, if it has one (e.g. that it is a primary key, etc.).

Class net.sourceforge.jdbdump.dump.Constraint extends java.lang.Object implements Serializable

serialVersionUID: 4284615059751156727L

Serialized Fields

fullText

java.lang.String fullText
Entire SQL expression used in create table command to add this constraint.


type

Constraint.ConstraintType type
Constraint type (see enum ConstraintType description).


name

java.lang.String name
Constraint's name (may be empty).

Class net.sourceforge.jdbdump.dump.Dump extends java.lang.Object implements Serializable

serialVersionUID: 8861226762920104092L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Reads a dump from a file using serialization and initializes it and its tables.

Throws:
java.io.IOException - if the object can't be read from the file
java.lang.ClassNotFoundException - if the saved object format doesn't match this class
Serialized Fields

tables

java.util.Vector<E> tables
A list of all tables in the database.

Class net.sourceforge.jdbdump.dump.Table extends java.lang.Object implements Serializable

serialVersionUID: -5780410768401074139L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Reads an object from a file using serialization and initializes it.

Throws:
java.io.IOException - if the object can't be read from the file
java.lang.ClassNotFoundException - if the saved object format doesn't match this class
Serialized Fields

name

java.lang.String name
Name of the table.


columns

java.util.Vector<E> columns
A list of table's columns.


constraints

java.util.Vector<E> constraints
A list of table's constraints (primary/foreign keys, etc.).



Copyright © 2005-2006 AGH International University of Science and Technology. All Rights Reserved.