|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aiyc.server.standalone.db.homes.EntityHome<Fingerprint>
com.aiyc.server.standalone.db.homes.FingerprintHome
public class FingerprintHome
| 字段摘要 |
|---|
| 从类 com.aiyc.server.standalone.db.homes.EntityHome 继承的字段 |
|---|
area, db, deleteSQL, insertSQL, log, primaryKeyId, selectSQL, TableColNames, updateSQL |
| 构造方法摘要 | |
|---|---|
FingerprintHome()
|
|
| 方法摘要 | |
|---|---|
Fingerprint |
add(Fingerprint fprint)
Add an entity to the database. |
int |
fillInStatement(PreparedStatement ps,
Fingerprint t,
int fromIndex)
Fills entity values into the PreparedStatement starting at
fromIndex |
protected List<Fingerprint> |
get(String constraint)
Gets entities from database matching a constraint |
List<Fingerprint> |
getAll()
Get all entities |
List<Fingerprint> |
getAll(String mapId)
|
Fingerprint |
getById(Integer id)
get the fingerprint by its Fingerprint primary key |
List<Fingerprint> |
getByLocationId(Integer id)
get the fingerprints by its Fingerprint location id |
Fingerprint |
getByMeasurementId(Integer id)
get the fingerprint by its Fingerprint measurement id |
int |
getCount()
get the total number of Fingerprints |
int |
getCount(Integer locationId)
Gets the number of fingerprints for a Location id |
int |
getCount(Location location)
Gets the number of fingerprints for a Location |
protected int |
getCount(String constraint)
Gets the total number of fingerprints matching a constraint |
protected String |
getOrder()
|
protected String |
getSelectSQL()
|
protected String[] |
getTableCols()
|
protected String |
getTableIdCol()
|
protected String |
getTableName()
|
protected Fingerprint |
parseResultRow(ResultSet rs)
|
Fingerprint |
parseResultRow(ResultSet rs,
int fromIndex)
fromIndex has no effect |
protected boolean |
remove(String constraint)
Removes entities from database matching a constraint |
| 从类 com.aiyc.server.standalone.db.homes.EntityHome 继承的方法 |
|---|
add, executeInsertUpdate, fillInStatement, fillInStatement, fillInStatement, get, get, getArea, getById, getByName, getDeleteSQL, getGeneratedKey, getInsertSQL, getPreparedStatement, getPrimaryKeyId, getTableColNames, getUpdateSQL, implode, remove, remove, removeAll, setArea, update, update |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public FingerprintHome()
| 方法详细信息 |
|---|
protected String getTableIdCol()
EntityHome<Fingerprint> 中的 getTableIdColEntityHome.getTableIdCol()protected String[] getTableCols()
EntityHome<Fingerprint> 中的 getTableColsEntityHome.getTableCols()protected String getTableName()
EntityHome<Fingerprint> 中的 getTableNameEntityHome.getTableName()
protected Fingerprint parseResultRow(ResultSet rs)
throws SQLException
EntityHome<Fingerprint> 中的 parseResultRowrs - ResultSet
SQLExceptionEntityHome.parseResultRow(ResultSet)
public Fingerprint parseResultRow(ResultSet rs,
int fromIndex)
throws SQLException
EntityHome<Fingerprint> 中的 parseResultRowrs - ResultSetfromIndex - index from where the parsing starts
SQLExceptionEntityHome.parseResultRow(ResultSet, int)public List<Fingerprint> getAll()
EntityHome 复制的描述
IEntityHome<Fingerprint,Integer> 中的 getAllEntityHome<Fingerprint> 中的 getAllList of all entitiesEntityHome.getAll()public List<Fingerprint> getAll(String mapId)
EntityHome.getAll()protected String getSelectSQL()
EntityHome<Fingerprint> 中的 getSelectSQLEntityHome.getSelectSQL()protected List<Fingerprint> get(String constraint)
EntityHome 复制的描述
EntityHome<Fingerprint> 中的 getconstraint - SQL WHERE constraint
List of entities matching the constraintprotected String getOrder()
EntityHome<Fingerprint> 中的 getOrderEntityHome.getOrder()public int getCount(Integer locationId)
Location id
constraint - SQL WHERE constraint
public int getCount(Location location)
Location
constraint - SQL WHERE constraint
protected int getCount(String constraint)
constraint - SQL WHERE constraint
public int getCount()
public Fingerprint add(Fingerprint fprint)
EntityHome 复制的描述
IEntityHome<Fingerprint,Integer> 中的 addEntityHome<Fingerprint> 中的 addfprint - Entity
EntityHome.add(com.aiyc.server.standalone.db.IEntity)public Fingerprint getById(Integer id)
Fingerprint primary key
IEntityHome<Fingerprint,Integer> 中的 getByIdEntityHome<Fingerprint> 中的 getByIdid - primary key
Fingerprintpublic List<Fingerprint> getByLocationId(Integer id)
Fingerprint location id
id - primary key
Fingerprintpublic Fingerprint getByMeasurementId(Integer id)
Fingerprint measurement id
id - primary key
Fingerprint
public int fillInStatement(PreparedStatement ps,
Fingerprint t,
int fromIndex)
throws SQLException
EntityHome 复制的描述PreparedStatement starting at
fromIndex
EntityHome<Fingerprint> 中的 fillInStatementps - PreparedStatementt - Entity
SQLExceptionEntityHome.fillInStatement(PreparedStatement, com.aiyc.server.standalone.db.IEntity, int)protected boolean remove(String constraint)
EntityHome 复制的描述
EntityHome<Fingerprint> 中的 removeconstraint - SQL WHERE constraint
EntityHome.remove(com.aiyc.server.standalone.db.IEntity)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||