.getTime());
Timestamp ad = rs.getTimestamp("date_amended");
Calendar a = Calendar.getInstance();
a.setTimeInMillis(ad == null ? System.currentTimeMillis() : ad
.getTime());
return new DefaultPolicy(rs.getInt("id"), rs.getString("policy_name"),
rs.getString("policy_description"),
rs.getInt("policy_type_id"), c, a, rs.getInt("realm_id"));
}