* @param rset ResultSet
* @return ItemInstance * @throws SQLException
*/
private ItemInstance load0(ResultSet rset) throws SQLException
{
ItemInstance item = null;
if (rset.next())
{
int objectId = rset.getInt(1);
item = new ItemInstance(objectId);
item.setOwnerId(rset.getInt(2));
item.setItemId(rset.getInt(3));
item.setCount(rset.getLong(4));
item.setEnchantLevel(rset.getInt(5));
item.setLocName(rset.getString(6));
item.setLocData(rset.getInt(7));
item.setCustomType1(rset.getInt(8));
item.setCustomType2(rset.getInt(9));
item.setLifeTime(rset.getInt(10));
item.setCustomFlags(rset.getInt(11));
item.setAugmentationId(rset.getInt(12));
item.getAttributes().setFire(rset.getInt(13));
item.getAttributes().setWater(rset.getInt(14));
item.getAttributes().setWind(rset.getInt(15));
item.getAttributes().setEarth(rset.getInt(16));
item.getAttributes().setHoly(rset.getInt(17));
item.getAttributes().setUnholy(rset.getInt(18));
item.setAgathionEnergy(rset.getInt(19));
item.setVisualId(rset.getInt(20));
}
return item;
}