1
2
3
4 package net.sourceforge.jsh3modtool.mod;
5
6 import java.net.URL;
7
8 /***
9 * Default implementation of the modauthor interface.
10 *
11 * @author redsolo
12 */
13 public class DefaultModAuthor implements ModAuthor
14 {
15 private String alias;
16 private String name;
17 private String emailAddress;
18 private URL website;
19
20 /***
21 * @param alias the alias of the author.
22 * @param name the full name of the author.
23 * @param emailAddress the email address to the author.
24 * @param website the website for the author.
25 */
26 public DefaultModAuthor(String alias, String name, String emailAddress,
27 URL website)
28 {
29 super();
30 this.alias = alias;
31 this.name = name;
32 this.emailAddress = emailAddress;
33 this.website = website;
34 }
35
36 public String getAlias()
37 {
38 return alias;
39 }
40
41 public String getName()
42 {
43 return name;
44 }
45
46 public String getEmail()
47 {
48 return emailAddress;
49 }
50
51 public URL getWebsite()
52 {
53 return website;
54 }
55 }