java游戏核心源代码 对于喜欢java游戏的可以看看 和有帮助的
源代码在线查看: ownedfolder.java
package contacts; import org.apache.commons.lang.builder.EqualsBuilder; import org.apache.commons.lang.builder.HashCodeBuilder; import org.apache.commons.lang.builder.ToStringBuilder; /** * @hibernate.subclass discriminator-value="Owned" */ public class OwnedFolder extends Folder { private String owner; /** * @hibernate.property column="OWNER" length="30" */ public String getOwner() { return owner; } public void setOwner(String owner) { this.owner = owner; } public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } public String toString() { return ToStringBuilder.reflectionToString(this); } }