【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-ComputerBook.java,希望本篇文章对您学习有所帮助。
/* $Id$
*
* Copyright (c) DAKOSY AG and Riege Software. All rights reserved.
* Use is subject to license terms.
*/
package com.h3book.penguin.examples.domain.c7.inheritance.joined;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
/**
* Ge: Add docs
*
* @author <a href="mailto:
ComputerBook.java为[网学网-网友上传,谢谢支持]。">Jing Ge</a>
* @version $Revision$
*/
@Entity
@PrimaryKeyJoinColumn(name="oid")
public class ComputerBook extends Book {
private String technology;
private boolean withSource;
public String getTechnology() {
return technology;
}
public void setTechnology(String technology) {
this.technology = technology;
}
public boolean isWithSource() {
return withSource;
}
public void setWithSource(boolean withSource) {
this.withSource = withSource;
}
}
上一篇:
Computer.java
下一篇:
法律专业开题报告范文