aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/cards/CardSetInformation.java
blob: 587c99af2729c61b06db22149d8ff15a41fd07e5 (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
package eu.equalparts.cardbase.cards;

public class CardSetInformation {

	private String name;
	private String code;
	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);
	}
}