PageRenderTime 46ms CodeModel.GetById 39ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/src/org/ictclas4j/bean/Sentence.java

http://ictclas4j.googlecode.com/
Java | 42 lines | 30 code | 11 blank | 1 comment | 0 complexity | 7b08ffa13cac6e08665546f2f4ed46f2 MD5 | raw file
 1package org.ictclas4j.bean;
 2
 3import org.apache.commons.lang.builder.ReflectionToStringBuilder;
 4
 5public class Sentence {
 6	private String content;
 7
 8	// ????????.????????????
 9	private boolean isSeg;
10
11	public Sentence(){
12		
13	}
14	public Sentence(String content){
15		this.content=content;
16	}
17	public Sentence(String content,boolean isSeg){
18		this.content=content;
19		this.isSeg=isSeg;
20	}
21 
22	public String getContent() {
23		return content;
24	}
25
26	public void setContent(String content) {
27		this.content = content;
28	}
29
30	public boolean isSeg() {
31		return isSeg;
32	}
33
34	public void setSeg(boolean isSeg) {
35		this.isSeg = isSeg;
36	}
37	public String toString() {
38
39		return ReflectionToStringBuilder.toString(this);
40
41	}
42}