Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## sharin.sql.generator
Class EntityInfo

    java.lang.Object
      sharin.sql.generator.EntityInfo

    public class EntityInfo

extends Object

Constructor Summary
`EntityInfo(Class<?> entityClass)`
`EntityInfo(Class<?> entityClass, String tableName, Map<String,String> columnNameMap, String idColumnName)`

Method Summary
`String` | `getColumnName(String propertyName)`
`Class<?>` | `getEntityClass()`
`String` | `getIdColumnName()`
`String[]` | `getPropertyNames()`
`String` | `getTableName()`
`boolean` | `hasColumnName(String propertyName)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### EntityInfo

    public EntityInfo(Class<?> entityClass)

### EntityInfo

    public EntityInfo(Class<?> entityClass,
                      String tableName,
                      Map<String,String> columnNameMap,
                      String idColumnName)

Method Detail

### hasColumnName

    public boolean hasColumnName(String propertyName)

### getColumnName

    public String getColumnName(String propertyName)

### getEntityClass

    public Class<?> getEntityClass()

### getTableName

    public String getTableName()

### getIdColumnName

    public String getIdColumnName()

### getPropertyNames

    public String[] getPropertyNames()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SHU. All Rights Reserved.