book.java

来自「JADE实例——多Agent系统展示(图书交易系统)」· Java 代码 · 共 36 行

JAVA
36
字号
// Class associated to the BOOK schema
package bookTrading.ontology;

import jade.content.Concept;
import jade.util.leap.List;

public class Book implements Concept {
	private String title;
	private List authors;
	private String editor;
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public List getAuthors() {
		return authors;
	}
	
	public void setAuthors(List authors) {
		this.authors = authors;
	}
	
	public String getEditor() {
		return editor;
	}
	
	public void setEditor(String editor) {
		this.editor = editor;
	}
}

⌨️ 快捷键说明

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