【Java开源代码栏目提醒】:网学会员鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“Custom.java”一文,供大家参考学习
//$Id: Custom.java 7275 2005-06-22 18:58:16Z oneovthafew $
package org.hibernate.test.legacy;
public class Custom implements Cloneable {
String id;
private String name;
public Object clone() {
try {
return super.clone();
}
catch (CloneNotSupportedException cnse) {
throw new RuntimeException();
}
}
void setName(String name) {
this.name = name;
}
String getName() {
return name;
}
}