blob: a01c18dc5198987faead070f5f00274b5e534bfd (
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.card;
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);
}
}
|