1 package test.hibernate;2 3 /**4 * @author Administrator5 *6 * @hibernate.joined-subclass7 * table="LIZARDS"8 * @hibernate.joined-subclass-key9 * column="ANIMAL_ID"10 */11 public class Lizard extends Reptile {12 13 private float bodyTemperature;14 15 /**16 * Constructor for Lizard.17 */18 public Lizard() {19 super();20 }21 22 /**23 * @hibernate.property24 * not-null="true"25 * @return float26 */27 public float getBodyTemperature() {28 return bodyTemperature;29 }30 31 /**32 * Sets the bodyTemperature.33 * @param bodyTemperature The bodyTemperature to set34 */35 public void setBodyTemperature(float bodyTemperature) {36 this.bodyTemperature = bodyTemperature;37 }38 39 }40