com.aiyc.server.standalone.db.homes
类 MapHome
java.lang.Object
com.aiyc.server.standalone.db.homes.EntityHome<Map>
com.aiyc.server.standalone.db.homes.MapHome
- 所有已实现的接口:
- IArea, IEntityHome<Map,Integer>
public class MapHome
- extends EntityHome<Map>
| 从类 com.aiyc.server.standalone.db.homes.EntityHome 继承的方法 |
add, add, executeInsertUpdate, fillInStatement, fillInStatement, fillInStatement, get, get, get, getAll, getArea, getById, getById, getByName, getDeleteSQL, getGeneratedKey, getInsertSQL, getOrder, getPreparedStatement, getPrimaryKeyId, getSelectSQL, getTableColNames, getUpdateSQL, implode, parseResultRow, remove, remove, removeAll, setArea, update, update |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCols
public static final String[] TableCols
TableName
public static final String TableName
- 另请参见:
- 常量字段值
MapHome
public MapHome()
getTableName
protected String getTableName()
- 指定者:
- 类
EntityHome<Map> 中的 getTableName
- 返回:
- Table name of entity
- 另请参见:
EntityHome.getTableName()
getTableIdCol
protected String getTableIdCol()
- 指定者:
- 类
EntityHome<Map> 中的 getTableIdCol
- 返回:
- Primary key column name
- 另请参见:
EntityHome.getTableIdCol()
getTableCols
protected String[] getTableCols()
- 指定者:
- 类
EntityHome<Map> 中的 getTableCols
- 返回:
- All table columns excluding the primary key column
- 另请参见:
EntityHome.getTableCols()
parseResultRow
public Map parseResultRow(ResultSet rs,
int fromIndex)
throws SQLException
- 从类
EntityHome 复制的描述
- This function restores an entity from a database row
- 指定者:
- 类
EntityHome<Map> 中的 parseResultRow
- 参数:
rs - ResultSetfromIndex - index from where the parsing starts
- 返回:
- Restored entity from database row
- 抛出:
SQLException- 另请参见:
EntityHome.parseResultRow(ResultSet, int)
remove
public boolean remove(String constraint)
- 从类
EntityHome 复制的描述
- Removes entities from database matching a constraint
- 覆盖:
- 类
EntityHome<Map> 中的 remove
- 参数:
constraint - SQL WHERE constraint
- 返回:
- True if successful
- 另请参见:
EntityHome.remove(String)
fillInStatement
public int fillInStatement(PreparedStatement ps,
Map t,
int fromIndex)
throws SQLException
- 从类
EntityHome 复制的描述
- Fills entity values into the
PreparedStatement starting at
fromIndex
- 指定者:
- 类
EntityHome<Map> 中的 fillInStatement
- 参数:
ps - PreparedStatementt - Entity
- 返回:
- number of filled in values
- 抛出:
SQLException- 另请参见:
EntityHome.fillInStatement(PreparedStatement, com.aiyc.server.standalone.db.IEntity, int)
Copyright © 2017. All Rights Reserved.