⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 book.java

📁 jdo 例子使用PrismTech类库 初步入门级使用 学习Java Data Objects的好例子
💻 JAVA
字号:
package iks.ethz.jpoxdemo.plain;

/**
 * 
 * @author ionut
 * 
 */
public class Book extends Product{

	protected String author = null;
	protected String isbn = null;
	protected String publisher = null;

	
	

	
	protected Book(){
		super();		
	}
	
	public Book(String name,
				String description,
				double price,
				String author,
				String isbn,
				String publisher){
	
	super(name, description, price);
	
	this.author = author;
	this.isbn = isbn;
	this.publisher = publisher;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -