Skip to content

Instantly share code, notes, and snippets.

@ludo1026
Last active December 31, 2015 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ludo1026/7914746 to your computer and use it in GitHub Desktop.
Save ludo1026/7914746 to your computer and use it in GitHub Desktop.
Tutorial Couchbase : Book
package org.tuto.couchbase;
public class Book {
private String id;
private String author;
private String title;
private String publisheer;
private String date;
@Override
public String toString() {
return "Book{" +
"id='" + id + '\'' +
", author='" + author + '\'' +
", title='" + title + '\'' +
", publisheer='" + publisheer + '\'' +
", date='" + date + '\'' +
'}';
}
public String getId() {
return id;
}
public Book setId(String id) {
this.id = id;
return this;
}
public String getAuthor() {
return author;
}
public Book setAuthor(String author) {
this.author = author;
return this;
}
public String getTitle() {
return title;
}
public Book setTitle(String title) {
this.title = title;
return this;
}
public String getPublisheer() {
return publisheer;
}
public Book setPublisheer(String publisheer) {
this.publisheer = publisheer;
return this;
}
public String getDate() {
return date;
}
public Book setDate(String date) {
this.date = date;
return this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment