View Javadoc

1   package net.sourceforge.simplegamenet.framework.transport;
2   
3   import java.io.Serializable;
4   import net.sourceforge.simplegamenet.specs.to.Version;
5   
6   public class GameIdentification implements Serializable {
7   
8       private String name;
9       private Version version;
10      private String author;
11  
12      public GameIdentification(String name, Version version, String author) {
13          this.setName(name);
14          this.setVersion(version);
15          this.setAuthor(author);
16      }
17  
18      public String getName() {
19          return name;
20      }
21  
22      public void setName(String name) {
23          this.name = name;
24      }
25  
26      public Version getVersion() {
27          return version;
28      }
29  
30      public void setVersion(Version version) {
31          this.version = version;
32      }
33  
34      public String getAuthor() {
35          return author;
36      }
37  
38      public void setAuthor(String author) {
39          this.author = author;
40      }
41  
42  }