parent.java
来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 38 行
JAVA
38 行
package org.hibernate.test.reattachment;
import java.util.Set;
import java.util.HashSet;
/**
* Parent entity
*
* @author Steve Ebersole
*/
public class Parent {
private String name;
private Set children = new HashSet();
public Parent() {
}
public Parent(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Set getChildren() {
return children;
}
public void setChildren(Set children) {
this.children = children;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?