org.odata4j.producer.jdbc
Class JdbcModelToMetadata

java.lang.Object
  extended by org.odata4j.producer.jdbc.JdbcModelToMetadata
All Implemented Interfaces:
Func1<JdbcModel,JdbcMetadataMapping>

public class JdbcModelToMetadata
extends Object
implements Func1<JdbcModel,JdbcMetadataMapping>


Constructor Summary
JdbcModelToMetadata()
           
 
Method Summary
 JdbcMetadataMapping apply(JdbcModel jdbcModel)
           
 String getContainerNamespace(String entityContainerName)
           
 EdmType getEdmType(int jdbcType, String columnTypeName, Integer columnSize)
           
 String getEntityContainerName(String schemaName)
           
 String getEntitySetName(String tableName)
           
 String getEntityTypeName(String tableName)
           
 String getModelNamespace()
           
 String getPropertyName(String columnName)
           
 String rename(String dbName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcModelToMetadata

public JdbcModelToMetadata()
Method Detail

apply

public JdbcMetadataMapping apply(JdbcModel jdbcModel)
Specified by:
apply in interface Func1<JdbcModel,JdbcMetadataMapping>

getContainerNamespace

public String getContainerNamespace(String entityContainerName)

getEdmType

public EdmType getEdmType(int jdbcType,
                          String columnTypeName,
                          Integer columnSize)

getEntityContainerName

public String getEntityContainerName(String schemaName)

getEntitySetName

public String getEntitySetName(String tableName)

getEntityTypeName

public String getEntityTypeName(String tableName)

getModelNamespace

public String getModelNamespace()

getPropertyName

public String getPropertyName(String columnName)

rename

public String rename(String dbName)


http://odata4j.org