Created
January 17, 2014 12:45
-
-
Save UmarIqbal/8472805 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package searchIndexer; | |
public class DocStructure { | |
private Long id; | |
private String title; | |
private String content; | |
public static final String ID = "id"; | |
public static final String TITLE = "title"; | |
public static final String CONTENT = "content"; | |
public DocStructure(Long id, String title, String content) { | |
this.id = id; | |
this.title = title; | |
this.content = content; | |
} | |
public Long getId() { | |
return id; | |
} | |
public String getTitle() { | |
return title; | |
} | |
public String getContent() { | |
return content; | |
} | |
@Override | |
public String toString() { | |
return "IndexItem{" + | |
"id=" + id + | |
", title='" + title + '\'' + | |
", content='" + content + '\'' + | |
'}'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment