A B C D F G I L M N P R S T U V

A

add(Column) - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Add a Column to the set.
add(ForeignKey) - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Adds a ForeignKey to the set.
add(SortedColumn) - Method in class com.jgpruitt.datamodeler.core.Index
Adds a SortedColumn to the Index
add(Index) - Method in class com.jgpruitt.datamodeler.core.IndexSet
Adds an Index to the set.
add(Schema) - Method in class com.jgpruitt.datamodeler.core.Model
Adds a Schema to the Model.
add(Table) - Method in class com.jgpruitt.datamodeler.core.Schema
Adds a Table to the Schema
add(Column) - Method in class com.jgpruitt.datamodeler.core.Table
Adds a Column to the Table
add(UniqueKey) - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Adds a UniqueKey to the set

B

BIT(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to BIT and the fixed-length.
BIT - Static variable in class com.jgpruitt.datamodeler.core.DataType
Fixed-length array of binary bits.

C

CHAR(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to CHAR and the fixed-length.
CHAR - Static variable in class com.jgpruitt.datamodeler.core.DataType
Fixed-length character string.
Column - Class in com.jgpruitt.datamodeler.core
This class models a column in a database table.
Column(String) - Constructor for class com.jgpruitt.datamodeler.core.Column
Constructor.
column - Variable in class com.jgpruitt.datamodeler.core.ColumnBuilder
 
column(String, boolean) - Method in class com.jgpruitt.datamodeler.core.IndexBuilder
Adds a Column to the Index.
column - Variable in class com.jgpruitt.datamodeler.core.SortedColumn
 
column() - Method in class com.jgpruitt.datamodeler.core.SortedColumn
Gets the Column
column(String) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Adds a Column to the Table
ColumnBuilder - Class in com.jgpruitt.datamodeler.core
Fluent Builder class used to create instances of the Column class.
ColumnBuilder(String, TableBuilder) - Constructor for class com.jgpruitt.datamodeler.core.ColumnBuilder
Constructor.
ColumnSet - Class in com.jgpruitt.datamodeler.core
ColumnSet is a collection of Columns in which each column must have a unique name.
ColumnSet() - Constructor for class com.jgpruitt.datamodeler.core.ColumnSet
Constructor.
com.jgpruitt.datamodeler.core - package com.jgpruitt.datamodeler.core
 
com.jgpruitt.datamodeler.dialects.sqlite - package com.jgpruitt.datamodeler.dialects.sqlite
 
com.jgpruitt.datamodeler.scripting - package com.jgpruitt.datamodeler.scripting
 
comment - Variable in class com.jgpruitt.datamodeler.core.Column
 
comment(String) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Assigns a comment to the Column for use in the data dictionary.
comment - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 
comment(String) - Method in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
Sets the comment on the ForeignKey
comment - Variable in class com.jgpruitt.datamodeler.core.Index
 
comment - Variable in class com.jgpruitt.datamodeler.core.PrimaryKey
 
comment - Variable in class com.jgpruitt.datamodeler.core.Schema
 
comment - Variable in class com.jgpruitt.datamodeler.core.Table
 
comment(String) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Sets the comment describing the Table
comment(String) - Method in class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
Sets the comment describing the ForeignKey
comment - Variable in class com.jgpruitt.datamodeler.core.UniqueKey
 
constrain(String, String...) - Method in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
Sets the constrained Table and Columns
constrain(String...) - Method in class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
Sets the Columns being constrained
constrainedColumns - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 
constrainedTable - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 
contains(String) - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Tests to see if a Column exists in the set by a particular name.
contains(Column) - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Tests to see if a Column is already in the set.
contains(String) - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Tests whether a ForeignKey is in the set by name.
contains(ForeignKey) - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Tests whether the ForeignKey is in the set.
contains(String) - Method in class com.jgpruitt.datamodeler.core.Index
Tests to see if the Index contains a SortedColumn with the given name
contains(SortedColumn) - Method in class com.jgpruitt.datamodeler.core.Index
Tests whether the given SortedColumn is in the set
contains(String) - Method in class com.jgpruitt.datamodeler.core.IndexSet
Tests whether the set contains an Index by the given name
contains(Index) - Method in class com.jgpruitt.datamodeler.core.IndexSet
Tests whether the given Index is in the set.
contains(String) - Method in class com.jgpruitt.datamodeler.core.Model
Tests whether the Model contains a Schema by the name given
contains(Schema) - Method in class com.jgpruitt.datamodeler.core.Model
Tests whether the Model contains the Schema given
contains(String) - Method in class com.jgpruitt.datamodeler.core.Schema
Tests whether the Schema contains a Table by the name given
contains(Table) - Method in class com.jgpruitt.datamodeler.core.Schema
Tests whether the Schema contains the table given
contains(String) - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Tests whether the set contains a UniqueKey by the given name
contains(UniqueKey) - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Tests whether the set contains a UniqueKey

D

dataType - Variable in class com.jgpruitt.datamodeler.core.Column
 
DataType - Class in com.jgpruitt.datamodeler.core
This class functions as an enumeration of ANSI-SQL data types available for use in models.
DataType() - Constructor for class com.jgpruitt.datamodeler.core.DataType
The constructor should only be called internally, or by sub-classes.
DATE() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to DATE.
DATE - Static variable in class com.jgpruitt.datamodeler.core.DataType
Date values.
DDLGenerator - Class in com.jgpruitt.datamodeler.dialects.sqlite
This class creates DDL scripts to create SQLite databases based on a model.
DDLGenerator(Model) - Constructor for class com.jgpruitt.datamodeler.dialects.sqlite.DDLGenerator
Constructor.
DECIMAL(int, int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to DECIMAL and sets the precision and scale.
DECIMAL - Static variable in class com.jgpruitt.datamodeler.core.DataType
Fixed-precision numbers.
done() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Returns the TableBuilder for the Table to which the Column belongs.
done() - Method in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
Gets the ModelBuilder
done() - Method in class com.jgpruitt.datamodeler.core.IndexBuilder
Gets the TableBuilder
done() - Method in class com.jgpruitt.datamodeler.core.ModelBuilder
Gets the Model that was constructed by the builder
done() - Method in class com.jgpruitt.datamodeler.core.SchemaBuilder
Gets the ModelBuilder
done() - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Gets the SchemaBuilder
done() - Method in class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
Gets the TableBuilder
DOUBLE() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to DOUBLE.
DOUBLE - Static variable in class com.jgpruitt.datamodeler.core.DataType
Floating-point numbers.

F

fkConstraints - Variable in class com.jgpruitt.datamodeler.core.Table
 
fkReferences - Variable in class com.jgpruitt.datamodeler.core.Table
 
FLOAT() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to FLOAT.
FLOAT - Static variable in class com.jgpruitt.datamodeler.core.DataType
Floating-point numbers.
ForeignKey - Class in com.jgpruitt.datamodeler.core
 
ForeignKey(String) - Constructor for class com.jgpruitt.datamodeler.core.ForeignKey
Constructor.
foreignKey - Variable in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
 
foreignKey(String) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Creates a ForeignKey constraint on the Table.
foreignKey - Variable in class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
 
ForeignKeyBuilder - Class in com.jgpruitt.datamodeler.core
Fluent Builder class for creating ForeignKeys.
ForeignKeyBuilder(String, ModelBuilder) - Constructor for class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
Constructor.
ForeignKeySet - Class in com.jgpruitt.datamodeler.core
ForeignKeySet is a collection of ForeignKeys in which each column must have a unique name.
ForeignKeySet() - Constructor for class com.jgpruitt.datamodeler.core.ForeignKeySet
Constructor.

G

get(int) - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Gets a Column from the set by the ordinal.
get(String) - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Gets a Column from the set by the Column name.
get(int) - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Gets a ForeignKey from the set by the ordinal.
get(String) - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Gets a ForeignKey from the set by the ForeignKey's name.
get(int) - Method in class com.jgpruitt.datamodeler.core.Index
Gets the SortedColumn at the given index
get(String) - Method in class com.jgpruitt.datamodeler.core.Index
Gets the SortedColumn by name
get(int) - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets the Index at the given index in the set.
get(String) - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets an Index from the set by the Index's name
get(int) - Method in class com.jgpruitt.datamodeler.core.Model
Gets a Schema from the Model by the index.
get(String) - Method in class com.jgpruitt.datamodeler.core.Model
Gets a Schema by the Schema's name
get(int) - Method in class com.jgpruitt.datamodeler.core.Schema
Gets a Table from the Schema by the index
get(String) - Method in class com.jgpruitt.datamodeler.core.Schema
Gets a Table from the Schema by the Table's name
get(int) - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Gets a UniqueKey from the set by index
get(String) - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Gets a UniqueKey from the set by name
getComment() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the comment.
getComment() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the comment describing this constraint.
getComment() - Method in class com.jgpruitt.datamodeler.core.Index
Gets the comment associated with this Index
getComment() - Method in class com.jgpruitt.datamodeler.core.PrimaryKey
Gets the comment describing the ForeignKey
getComment() - Method in class com.jgpruitt.datamodeler.core.Schema
Gets the comment describing the Schema
getComment() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the comment describing this Table
getComment() - Method in class com.jgpruitt.datamodeler.core.UniqueKey
Gets the comment describing the UniqueKey
getConstrainedColumns() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the ColumnSet that contains the Columns that are being constrained by this constraint.
getConstrainedTable() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the Table that is being constrained by this constraint.
getDataType() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the Column's DataType.
getForeignKeyConstraints() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the set of ForeignKey constraints on the Table
getForeignKeyReferences() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the set of ForeignKey constraints that reference this Table
getIncrement() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the increment.
getIndexes() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the set of Indexes on this Table
getLength() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the length.
getModel() - Method in class com.jgpruitt.datamodeler.core.Schema
Gets the Model to which this Schema belongs
getName() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the Column name.
getName() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the name of the constraint.
getName() - Method in class com.jgpruitt.datamodeler.core.Index
Gets the name of the Index.
getName() - Method in class com.jgpruitt.datamodeler.core.Model
Gets the name of the Model.
getName() - Method in class com.jgpruitt.datamodeler.core.PrimaryKey
Gets the name of the PrimaryKey
getName() - Method in class com.jgpruitt.datamodeler.core.Schema
Gets the name of the Schema.
getName() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the name of the Table
getName() - Method in class com.jgpruitt.datamodeler.core.UniqueKey
Gets the name of the UniqueKey
getPrecision() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the precision.
getPrimaryKey() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the Table's PrimaryKey constraint or null
getReferencedColumns() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the ColumnSet that contains the Columns that are being referenced by this constraint.
getReferencedTable() - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Gets the Table referenced by this constraint.
getScale() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the scale.
getSchema() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the Schema to which this Table belongs
getSeed() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the seed.
getTable() - Method in class com.jgpruitt.datamodeler.core.Column
Getter for the Table to which the Column belongs.
getTable() - Method in class com.jgpruitt.datamodeler.core.Index
Gets the Table being indexed by this Index
getTable() - Method in class com.jgpruitt.datamodeler.core.PrimaryKey
Gets the Table being constrained
getTable() - Method in class com.jgpruitt.datamodeler.core.UniqueKey
Gets the Table that this UniqueKey constrains
getTable() - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Gets the Table being constrained
getUniqueKeys() - Method in class com.jgpruitt.datamodeler.core.Table
Gets the set of UniqueKey constraints on the Table

I

increment - Variable in class com.jgpruitt.datamodeler.core.Column
 
Index - Class in com.jgpruitt.datamodeler.core
This class models a database index.
Index(String) - Constructor for class com.jgpruitt.datamodeler.core.Index
Constructor.
index - Variable in class com.jgpruitt.datamodeler.core.IndexBuilder
 
index(String) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Creates an Index on Columns of the Table
IndexBuilder - Class in com.jgpruitt.datamodeler.core
A Fluent Builder for Indexes
IndexBuilder(String, TableBuilder) - Constructor for class com.jgpruitt.datamodeler.core.IndexBuilder
Constructor.
IndexSet - Class in com.jgpruitt.datamodeler.core
IndexSet is a collection of Indexes in which each column must have a unique name.
IndexSet(Table) - Constructor for class com.jgpruitt.datamodeler.core.IndexSet
Constructor.
INT() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to INT.
INT - Static variable in class com.jgpruitt.datamodeler.core.DataType
Whole numbers.
isAscending - Variable in class com.jgpruitt.datamodeler.core.SortedColumn
 
isAscending() - Method in class com.jgpruitt.datamodeler.core.SortedColumn
Gets the sort order
isBIT() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the BIT instance?
isCHAR() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the CHAR instance?
isDATE() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the DATE instance?
isDECIMAL() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the DECIMAL instance?
isDOUBLE() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the DOUBLE instance?
isEmpty() - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Is the set empty?
isEmpty() - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Returns true if the set is empty.
isEmpty() - Method in class com.jgpruitt.datamodeler.core.Index
Returns true if the Index has no SortedColumns
isEmpty() - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets whether or not the set has no elements
isEmpty() - Method in class com.jgpruitt.datamodeler.core.Model
Returns true if the Model does not contain any Schemas
isEmpty() - Method in class com.jgpruitt.datamodeler.core.Schema
Tests whether the Schema contains any Tables
isEmpty() - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Returns true if the set has no UniqueKeys in it
isFLOAT() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the FLOAT instance?
isINT() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the INT instance?
isNCHAR() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the NCHAR instance?
isNullable - Variable in class com.jgpruitt.datamodeler.core.Column
 
isNullable() - Method in class com.jgpruitt.datamodeler.core.Column
Does the Column accept NULL values?
isNUMERIC() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the NUMERIC instance?
isNVARCHAR() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the NVARCHAR instance?
isREAL() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the REAL instance?
isSMALLINT() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the SMALLINT instance?
isTIME() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the TIME instance?
isTIMESTAMP() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the TIMESTAMP instance?
isTIMESTAMPTZ() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the TIMESTAMPTZ instance?
isTIMETZ() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the TIMETZ instance?
isVARCHAR() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the VARCHAR instance?
isVBIT() - Method in class com.jgpruitt.datamodeler.core.DataType
Is this the VBIT instance?
iterator() - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Gets an iterator.
iterator() - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Gets an Iterator over the ForeignKeys in the set
iterator() - Method in class com.jgpruitt.datamodeler.core.Index
Gets an Iterator over the SortedColumns in the Index
iterator() - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets an Iterator over the Indexes in the set.
iterator() - Method in class com.jgpruitt.datamodeler.core.Model
Gets an iterator over the Schemas in the Model
iterator() - Method in class com.jgpruitt.datamodeler.core.Schema
Gets a read-only Iterator over the Table in the Schema
iterator() - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Gets a read-only iterator over the UniqueKeys in the set
ixs - Variable in class com.jgpruitt.datamodeler.core.Table
 

L

length - Variable in class com.jgpruitt.datamodeler.core.Column
 
list - Variable in class com.jgpruitt.datamodeler.core.ColumnSet
 
list - Variable in class com.jgpruitt.datamodeler.core.ForeignKeySet
 
list - Variable in class com.jgpruitt.datamodeler.core.Index
 
list - Variable in class com.jgpruitt.datamodeler.core.IndexSet
 
list - Variable in class com.jgpruitt.datamodeler.core.Model
 
list - Variable in class com.jgpruitt.datamodeler.core.Schema
 
list - Variable in class com.jgpruitt.datamodeler.core.UniqueKeySet
 

M

Main - Class in com.jgpruitt.datamodeler.scripting
 
Main() - Constructor for class com.jgpruitt.datamodeler.scripting.Main
 
main(String[]) - Static method in class com.jgpruitt.datamodeler.scripting.Main
 
map - Variable in class com.jgpruitt.datamodeler.core.ColumnSet
 
map - Variable in class com.jgpruitt.datamodeler.core.ForeignKeySet
 
map - Variable in class com.jgpruitt.datamodeler.core.Index
 
map - Variable in class com.jgpruitt.datamodeler.core.IndexSet
 
map - Variable in class com.jgpruitt.datamodeler.core.Model
 
map - Variable in class com.jgpruitt.datamodeler.core.Schema
 
map - Variable in class com.jgpruitt.datamodeler.core.UniqueKeySet
 
Model - Class in com.jgpruitt.datamodeler.core
A Model is a collection of associated Schemas.
Model() - Constructor for class com.jgpruitt.datamodeler.core.Model
Constructor.
model - Variable in class com.jgpruitt.datamodeler.core.ModelBuilder
 
model - Variable in class com.jgpruitt.datamodeler.core.Schema
 
modelBuilder - Variable in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
 
ModelBuilder - Class in com.jgpruitt.datamodeler.core
A Fluent Builder class for constructing Model objects.
ModelBuilder() - Constructor for class com.jgpruitt.datamodeler.core.ModelBuilder
Constructor
modelBuilder - Variable in class com.jgpruitt.datamodeler.core.SchemaBuilder
 

N

name - Variable in class com.jgpruitt.datamodeler.core.Column
 
name - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 
name - Variable in class com.jgpruitt.datamodeler.core.Index
 
name - Variable in class com.jgpruitt.datamodeler.core.Model
 
name - Variable in class com.jgpruitt.datamodeler.core.PrimaryKey
 
name - Variable in class com.jgpruitt.datamodeler.core.Schema
 
name - Variable in class com.jgpruitt.datamodeler.core.Table
 
name - Variable in class com.jgpruitt.datamodeler.core.UniqueKey
 
NCHAR(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to NCHAR and the fixed-length.
NCHAR - Static variable in class com.jgpruitt.datamodeler.core.DataType
Fixed-length character string supporting international character sets.
NOTNULL() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column to disallow NULL values.
NULL() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column to allow NULL values.
NUMERIC(int, int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to NUMERIC and sets the precision and scale.
NUMERIC - Static variable in class com.jgpruitt.datamodeler.core.DataType
Fixed-precision numbers.
NVARCHAR(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to NVARCHAR and the variable-length.
NVARCHAR - Static variable in class com.jgpruitt.datamodeler.core.DataType
Variable-length character string supporting international character sets.

P

pk - Variable in class com.jgpruitt.datamodeler.core.Table
 
precision - Variable in class com.jgpruitt.datamodeler.core.Column
 
PrimaryKey - Class in com.jgpruitt.datamodeler.core
This class models a primary key constraint on a database table.
PrimaryKey(String) - Constructor for class com.jgpruitt.datamodeler.core.PrimaryKey
Constructor
primaryKey(String, String...) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Creates a PrimaryKey constraint on the Table

R

REAL() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to REAL.
REAL - Static variable in class com.jgpruitt.datamodeler.core.DataType
Floating-point numbers.
reference(String, String...) - Method in class com.jgpruitt.datamodeler.core.ForeignKeyBuilder
Sets the referenced Table and Columns
reference(String, String...) - Method in class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
Sets Table and Columns being referenced by the ForeignKey constraint
referencedColumns - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 
referencedTable - Variable in class com.jgpruitt.datamodeler.core.ForeignKey
 

S

scale - Variable in class com.jgpruitt.datamodeler.core.Column
 
schema(String) - Method in class com.jgpruitt.datamodeler.core.ModelBuilder
Adds a Schema by the given name to the Model and returns a SchemaBuilder for the new Schema.
Schema - Class in com.jgpruitt.datamodeler.core
A Schema is a collection of database Tables.
Schema(String) - Constructor for class com.jgpruitt.datamodeler.core.Schema
Constructor.
schema - Variable in class com.jgpruitt.datamodeler.core.SchemaBuilder
 
schema - Variable in class com.jgpruitt.datamodeler.core.Table
 
SchemaBuilder - Class in com.jgpruitt.datamodeler.core
A Fluent Builder class for constructing Schema objects
SchemaBuilder(String, ModelBuilder) - Constructor for class com.jgpruitt.datamodeler.core.SchemaBuilder
Constructor.
schemaBuilder - Variable in class com.jgpruitt.datamodeler.core.TableBuilder
 
seed - Variable in class com.jgpruitt.datamodeler.core.Column
 
setComment(String) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the comment.
setComment(String) - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Sets the comment describing this constraint for use in the data dictionary.
setComment(String) - Method in class com.jgpruitt.datamodeler.core.Index
Sets the comment associated with this Index
setComment(String) - Method in class com.jgpruitt.datamodeler.core.PrimaryKey
Sets the comment describing the ForeignKey
setComment(String) - Method in class com.jgpruitt.datamodeler.core.Schema
Sets the comment describing the Schema
setComment(String) - Method in class com.jgpruitt.datamodeler.core.Table
Sets the comment describing the Table
setComment(String) - Method in class com.jgpruitt.datamodeler.core.UniqueKey
Sets the comment describing the UniqueKey
setConstrainedTable(Table) - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Sets the Table that is being constrained by this constraint
setDataType(DataType) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the Column's DataType.
setIncrement(Integer) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the increment.
setLength(Integer) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the length.
setModel(Model) - Method in class com.jgpruitt.datamodeler.core.Schema
Sets the Model to which this Schema belongs
setName(String) - Method in class com.jgpruitt.datamodeler.core.Model
Sets the name of the Model.
setNullable(boolean) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the isNullable field.
setPrecision(Integer) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the precision.
setPrimaryKey(PrimaryKey) - Method in class com.jgpruitt.datamodeler.core.Table
Sets the PrimaryKey constraint for the Table
setReferencedTable(Table) - Method in class com.jgpruitt.datamodeler.core.ForeignKey
Sets the Table that is being referenced by this constraint.
setScale(Integer) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the scale.
setSchema(Schema) - Method in class com.jgpruitt.datamodeler.core.Table
Sets the Schema to which this Table belongs
setSeed(Integer) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the seed.
setTable(Table) - Method in class com.jgpruitt.datamodeler.core.Column
Setter for the Table to which the Column belongs.
setTable(Table) - Method in class com.jgpruitt.datamodeler.core.Index
Sets the Table being indexed by this Index
setTable(Table) - Method in class com.jgpruitt.datamodeler.core.PrimaryKey
Sets the Table being constrained by the constraint
setTable(Table) - Method in class com.jgpruitt.datamodeler.core.UniqueKey
Sets the Table that this UniqueKey constrains
size() - Method in class com.jgpruitt.datamodeler.core.ColumnSet
Gets the number of Columns in the set.
size() - Method in class com.jgpruitt.datamodeler.core.ForeignKeySet
Gets the number of elements in the set.
size() - Method in class com.jgpruitt.datamodeler.core.Index
Gets the number of SortedColumns in the Index
size() - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets the number of Indexes in the set.
size() - Method in class com.jgpruitt.datamodeler.core.Model
Gets the number of Schemas in the Model
size() - Method in class com.jgpruitt.datamodeler.core.Schema
Gets the number of Tables in the Schema
size() - Method in class com.jgpruitt.datamodeler.core.UniqueKeySet
Gets the number of UniqueKeys in the set
SMALLINT() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to SMALLINT.
SMALLINT - Static variable in class com.jgpruitt.datamodeler.core.DataType
Whole numbers.
SortedColumn - Class in com.jgpruitt.datamodeler.core
A SortedColumn is used to specify an ascending or descending sort order on a Column in an Index This class is immutable.
SortedColumn(Column, boolean) - Constructor for class com.jgpruitt.datamodeler.core.SortedColumn
Constructor

T

table - Variable in class com.jgpruitt.datamodeler.core.Column
 
table - Variable in class com.jgpruitt.datamodeler.core.Index
 
table - Variable in class com.jgpruitt.datamodeler.core.IndexSet
 
table() - Method in class com.jgpruitt.datamodeler.core.IndexSet
Gets the Table being indexed
table - Variable in class com.jgpruitt.datamodeler.core.PrimaryKey
 
table(String) - Method in class com.jgpruitt.datamodeler.core.SchemaBuilder
Adds a Table to the Schema
Table - Class in com.jgpruitt.datamodeler.core
This class models a database Table
Table(String) - Constructor for class com.jgpruitt.datamodeler.core.Table
Constructor.
table - Variable in class com.jgpruitt.datamodeler.core.TableBuilder
 
table - Variable in class com.jgpruitt.datamodeler.core.UniqueKey
 
table - Variable in class com.jgpruitt.datamodeler.core.UniqueKeySet
 
tableBuilder - Variable in class com.jgpruitt.datamodeler.core.ColumnBuilder
 
tableBuilder - Variable in class com.jgpruitt.datamodeler.core.IndexBuilder
 
TableBuilder - Class in com.jgpruitt.datamodeler.core
A Fluent Builder class for constructing Table objects
TableBuilder(String, SchemaBuilder) - Constructor for class com.jgpruitt.datamodeler.core.TableBuilder
Constructor
TableBuilder.ForeignKeyBuilder - Class in com.jgpruitt.datamodeler.core
A Fluent Builder class for constructing ForeignKey constraints
TableBuilder.ForeignKeyBuilder(String) - Constructor for class com.jgpruitt.datamodeler.core.TableBuilder.ForeignKeyBuilder
Constructor
TIME() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to TIME.
TIME - Static variable in class com.jgpruitt.datamodeler.core.DataType
Time values.
TIMESTAMP() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to TIMESTAMP.
TIMESTAMP - Static variable in class com.jgpruitt.datamodeler.core.DataType
Date and time.
TIMESTAMPTZ() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to TIMESTAMPTZ.
TIMESTAMPTZ - Static variable in class com.jgpruitt.datamodeler.core.DataType
Date and time with time-zone information.
TIMETZ() - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to TIMETZ.
TIMETZ - Static variable in class com.jgpruitt.datamodeler.core.DataType
Times with time-zone information.
toString() - Method in class com.jgpruitt.datamodeler.dialects.sqlite.DDLGenerator
Creates the DDL script based on the Model.

U

uks - Variable in class com.jgpruitt.datamodeler.core.Table
 
uniqueKey(String, String...) - Method in class com.jgpruitt.datamodeler.core.TableBuilder
Creates a UniqueKey constraint on Columns of the Table
UniqueKey - Class in com.jgpruitt.datamodeler.core
Models a unique key constraint on a database table
UniqueKey(String) - Constructor for class com.jgpruitt.datamodeler.core.UniqueKey
Constructor
UniqueKeySet - Class in com.jgpruitt.datamodeler.core
A collection of UniqueKeys on a Table
UniqueKeySet(Table) - Constructor for class com.jgpruitt.datamodeler.core.UniqueKeySet
Constructor

V

VARCHAR(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to VARCHAR and the variable-length.
VARCHAR - Static variable in class com.jgpruitt.datamodeler.core.DataType
Variable-length character string.
VBIT(int) - Method in class com.jgpruitt.datamodeler.core.ColumnBuilder
Sets the Column's DataType to VBIT and the variable-length.
VBIT - Static variable in class com.jgpruitt.datamodeler.core.DataType
Variable-length array of binary bits.

A B C D F G I L M N P R S T U V