aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/card/CardSetInformation.java
blob: d57015c1ea72b2b440c91438eb9f64392e0538e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package eu.equalparts.cardbase.card;

import com.fasterxml.jackson.annotation.JsonProperty;

public class CardSetInformation {

	@JsonProperty private String name;
	@JsonProperty private String code;
	@JsonProperty private String releaseDate;
	
	/**
	 * @return the set's name.
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the set code.
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @return the set's release date.
	 */
	public String getReleaseDate() {
		return releaseDate;
	}

	@Override
	public String toString() {
		return String.format("%1$-12s : %2$s", code, name, releaseDate);
	}
}