A B C D F G I N O P Q R T U _ 

A

ABORT - Static variable in class com.tjeannin.provigen.model.Constraint.OnConflict
When an applicable constraint violation occurs, the ABORT resolution algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error and backs out any changes made by the current SQL statement; but changes caused by prior SQL statements within the same transaction are preserved and the transaction remains active.
addConstraint(String, String, String) - Method in class com.tjeannin.provigen.helper.TableBuilder
Adds the specified constraint to the created table.
addMissingColumns(SQLiteDatabase, Class) - Static method in class com.tjeannin.provigen.helper.TableUpdater
Adds missing table columns for the given contract class.

B

BLOB - Static variable in class com.tjeannin.provigen.annotation.Column.Type
 

C

Column - Annotation Type in com.tjeannin.provigen.annotation
Identifies a field of a contract class that corresponds to a column in the database.
The value attribute should be one of the following: Column.Type.INTEGER Column.Type.BLOB Column.Type.REAL Column.Type.TEXT
Column.Type - Class in com.tjeannin.provigen.annotation
 
Column.Type() - Constructor for class com.tjeannin.provigen.annotation.Column.Type
 
com.tjeannin.provigen - package com.tjeannin.provigen
 
com.tjeannin.provigen.annotation - package com.tjeannin.provigen.annotation
 
com.tjeannin.provigen.helper - package com.tjeannin.provigen.helper
 
com.tjeannin.provigen.model - package com.tjeannin.provigen.model
 
conflictClause - Variable in class com.tjeannin.provigen.model.Constraint
 
Constraint - Class in com.tjeannin.provigen.model
 
Constraint(String, String, String) - Constructor for class com.tjeannin.provigen.model.Constraint
 
Constraint.OnConflict - Class in com.tjeannin.provigen.model
 
Constraint.OnConflict() - Constructor for class com.tjeannin.provigen.model.Constraint.OnConflict
 
ContentUri - Annotation Type in com.tjeannin.provigen.annotation
Defines the ContentUri that should be used to query the ContentProvider.
The last path segment will be used for the database table name.
The authority of this ContentUri will be used for the ContentProvider's authority.
Contract - Class in com.tjeannin.provigen.model
 
Contract(Class) - Constructor for class com.tjeannin.provigen.model.Contract
 
contractClasses() - Method in class com.tjeannin.provigen.ProviGenProvider
This method should return the list of contract classes that the ProviGenProvider will use.
ContractField - Class in com.tjeannin.provigen.model
 
ContractField(String, String) - Constructor for class com.tjeannin.provigen.model.ContractField
 
createTable(SQLiteDatabase) - Method in class com.tjeannin.provigen.helper.TableBuilder
Creates the table in the database.

D

delete(Uri, String, String[]) - Method in class com.tjeannin.provigen.ProviGenProvider
 

F

FAIL - Static variable in class com.tjeannin.provigen.model.Constraint.OnConflict
When an applicable constraint violation occurs, the FAIL resolution algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error.
findMatchingContract(Uri) - Method in class com.tjeannin.provigen.ProviGenProvider
 

G

getAuthority() - Method in class com.tjeannin.provigen.model.Contract
 
getFields() - Method in class com.tjeannin.provigen.model.Contract
 
getIdField() - Method in class com.tjeannin.provigen.model.Contract
 
getSQL() - Method in class com.tjeannin.provigen.helper.TableBuilder
 
getTable() - Method in class com.tjeannin.provigen.model.Contract
 
getType(Uri) - Method in class com.tjeannin.provigen.ProviGenProvider
 

I

Id - Annotation Type in com.tjeannin.provigen.annotation
Identifies a field of a contract class that should be used as a primary key in the database.
IGNORE - Static variable in class com.tjeannin.provigen.model.Constraint.OnConflict
When an applicable constraint violation occurs, the IGNORE resolution algorithm skips the one row that contains the constraint violation and continues processing subsequent rows of the SQL statement as if nothing went wrong.
insert(Uri, ContentValues) - Method in class com.tjeannin.provigen.ProviGenProvider
 
INTEGER - Static variable in class com.tjeannin.provigen.annotation.Column.Type
 

N

name - Variable in class com.tjeannin.provigen.model.ContractField
 
NOT_NULL - Static variable in class com.tjeannin.provigen.model.Constraint
A NOT NULL constraint may only be attached to a column definition, not specified as a table constraint.

O

onCreate(SQLiteDatabase) - Method in class com.tjeannin.provigen.ProviGenOpenHelper
 
onCreate() - Method in class com.tjeannin.provigen.ProviGenProvider
 
onUpgrade(SQLiteDatabase, int, int) - Method in class com.tjeannin.provigen.ProviGenOpenHelper
 
openHelper(Context) - Method in class com.tjeannin.provigen.ProviGenProvider
This method should return an instance of a SQLiteOpenHelper.

P

ProviGenBaseContract - Interface in com.tjeannin.provigen
Base interface for a ProviGenProvider contract.
ProviGenOpenHelper - Class in com.tjeannin.provigen
A simple implementation of a SQLiteOpenHelper that: Create a table for each supplied contract when the database is created for the first time. Add missing table columns when the database version is increased.
ProviGenOpenHelper(Context, String, SQLiteDatabase.CursorFactory, int, Class[]) - Constructor for class com.tjeannin.provigen.ProviGenOpenHelper
Create a helper object to create, open, and/or manage a database.
ProviGenProvider - Class in com.tjeannin.provigen
Behaves as a ContentProvider for the given contract class.
ProviGenProvider() - Constructor for class com.tjeannin.provigen.ProviGenProvider
 

Q

query(Uri, String[], String, String[], String) - Method in class com.tjeannin.provigen.ProviGenProvider
 

R

REAL - Static variable in class com.tjeannin.provigen.annotation.Column.Type
 
REPLACE - Static variable in class com.tjeannin.provigen.model.Constraint.OnConflict
When a UNIQUE constraint violation occurs, the REPLACE algorithm deletes pre-existing rows that are causing the constraint violation prior to inserting or updating the current row and the command continues executing normally.
ROLLBACK - Static variable in class com.tjeannin.provigen.model.Constraint.OnConflict
When an applicable constraint violation occurs, the ROLLBACK resolution algorithm aborts the current SQL statement with an SQLITE_CONSTRAINT error and rolls back the current transaction.

T

TableBuilder - Class in com.tjeannin.provigen.helper
Facilitate the creation of an database table from a contract class.
TableBuilder(Class) - Constructor for class com.tjeannin.provigen.helper.TableBuilder
 
TableUpdater - Class in com.tjeannin.provigen.helper
Facilitate the update of an database table from a contract class.
TableUpdater() - Constructor for class com.tjeannin.provigen.helper.TableUpdater
 
targetColumn - Variable in class com.tjeannin.provigen.model.Constraint
 
TEXT - Static variable in class com.tjeannin.provigen.annotation.Column.Type
 
type - Variable in class com.tjeannin.provigen.model.Constraint
 
type - Variable in class com.tjeannin.provigen.model.ContractField
 

U

UNIQUE - Static variable in class com.tjeannin.provigen.model.Constraint
A UNIQUE constraint is similar to a PRIMARY KEY constraint, except that a single table may have any number of UNIQUE constraints.
update(Uri, ContentValues, String, String[]) - Method in class com.tjeannin.provigen.ProviGenProvider
 

_

_ID - Static variable in interface com.tjeannin.provigen.ProviGenBaseContract
The unique ID for a row.
A B C D F G I N O P Q R T U _ 

Copyright © 2012–2014. All rights reserved.