All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ferris.bible.store.StoreItem Maven / Gradle / Ivy

Go to download

Ferris Bible Common is a project which contains commonly shared coded for all of the other bible projects.

The newest version!
package org.ferris.bible.store;

import java.io.Serializable;

/**
 * JavaBean holding the daily bible reading data.
 */
public class StoreItem implements Serializable
{
	private static final long serialVersionUID = 3804353813763899929L;
	
	private int year,month,day;
	private String reading;
	
	/**
	 * Creates a new StoreItem.
	 * @param dailyReadings
	 * @param summary
	 * @param contents
	 */
	public StoreItem(int year, int month, int day, String reading)
	{
		super();
		setYear(year);
		setMonth(month);
		setDay(day);
		setReading(reading);
	}

	public int getYear() {
		return year;
	}

	public int getMonth() {
		return month;
	}

	public int getDay() {
		return day;
	}

	public String getReading() {
		return reading;
	}

	/**
	 * @param year the year to set.
	 */
	private void setYear(int year) {
		this.year = year;
	}

	/**
	 * @param month the month to set.
	 */
	private void setMonth(int month) {
		this.month = month;
	}

	/**
	 * @param day the day to set.
	 */
	private void setDay(int day) {
		this.day = day;
	}

	/**
	 * @param reading the reading to set.
	 */
	private void setReading(String reading) {
		this.reading = reading;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy