org.odata4j.producer.jdbc
Class JdbcModelToMetadata
java.lang.Object
org.odata4j.producer.jdbc.JdbcModelToMetadata
- All Implemented Interfaces:
- Func1<JdbcModel,JdbcMetadataMapping>
public class JdbcModelToMetadata
- extends Object
- implements Func1<JdbcModel,JdbcMetadataMapping>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcModelToMetadata
public JdbcModelToMetadata()
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