📄 lizard.java
字号:
package test.hibernate;
/**
* @author Administrator
*
* @hibernate.joined-subclass
* table="LIZARDS"
* @hibernate.joined-subclass-key
* column="ANIMAL_ID"
*/
public class Lizard extends Reptile {
private float bodyTemperature;
/**
* Constructor for Lizard.
*/
public Lizard() {
super();
}
/**
* @hibernate.property
* not-null="true"
* @return float
*/
public float getBodyTemperature() {
return bodyTemperature;
}
/**
* Sets the bodyTemperature.
* @param bodyTemperature The bodyTemperature to set
*/
public void setBodyTemperature(float bodyTemperature) {
this.bodyTemperature = bodyTemperature;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -