org.odata4j.producer.jdbc
Class JdbcModel

java.lang.Object
  extended by org.odata4j.producer.jdbc.JdbcModel

public class JdbcModel
extends Object


Nested Class Summary
static class JdbcModel.JdbcColumn
           
static class JdbcModel.JdbcPrimaryKey
           
static class JdbcModel.JdbcSchema
           
static class JdbcModel.JdbcTable
           
 
Field Summary
 List<JdbcModel.JdbcSchema> schemas
           
 
Constructor Summary
JdbcModel()
           
 
Method Summary
static Predicate1<JdbcModel.JdbcColumn> columnNameEquals(String columnName)
           
 JdbcModel.JdbcTable findTable(String schemaName, String tableName)
           
 JdbcModel.JdbcColumn getOrCreateColumn(String schemaName, String tableName, String columnName)
           
 JdbcModel.JdbcSchema getOrCreateSchema(String schemaName)
           
 JdbcModel.JdbcTable getOrCreateTable(String schemaName, String tableName)
           
 JdbcModel.JdbcTable getTable(String schemaName, String tableName)
           
static Predicate1<JdbcModel.JdbcSchema> schemaNameEquals(String schemaName)
           
static Predicate1<JdbcModel.JdbcTable> tableNameEquals(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

schemas

public final List<JdbcModel.JdbcSchema> schemas
Constructor Detail

JdbcModel

public JdbcModel()
Method Detail

columnNameEquals

public static final Predicate1<JdbcModel.JdbcColumn> columnNameEquals(String columnName)

findTable

public JdbcModel.JdbcTable findTable(String schemaName,
                                     String tableName)

getOrCreateColumn

public JdbcModel.JdbcColumn getOrCreateColumn(String schemaName,
                                              String tableName,
                                              String columnName)

getOrCreateSchema

public JdbcModel.JdbcSchema getOrCreateSchema(String schemaName)

getOrCreateTable

public JdbcModel.JdbcTable getOrCreateTable(String schemaName,
                                            String tableName)

getTable

public JdbcModel.JdbcTable getTable(String schemaName,
                                    String tableName)

schemaNameEquals

public static final Predicate1<JdbcModel.JdbcSchema> schemaNameEquals(String schemaName)

tableNameEquals

public static final Predicate1<JdbcModel.JdbcTable> tableNameEquals(String tableName)


http://odata4j.org