mirror of
https://github.com/hmalik144/Android-Cucumber-BDD-Sample.git
synced 2026-01-31 02:41:37 +00:00
28 lines
549 B
Java
28 lines
549 B
Java
package com.codemate.booklibrary.data;
|
|
|
|
import java.util.Date;
|
|
|
|
public class Book {
|
|
private final String title;
|
|
private final String author;
|
|
private final Date publishDate;
|
|
|
|
public Book(String title, String author, Date publishDate) {
|
|
this.title = title;
|
|
this.author = author;
|
|
this.publishDate = publishDate;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public String getAuthor() {
|
|
return author;
|
|
}
|
|
|
|
public Date getPublishDate() {
|
|
return publishDate;
|
|
}
|
|
}
|