View Javadoc
1   /**
2    *
3    */
4   package org.opentrafficsim.road.network.factory.vissim;
5   
6   import javax.xml.bind.annotation.XmlAttribute;
7   import javax.xml.bind.annotation.XmlElement;
8   import javax.xml.bind.annotation.XmlRootElement;
9   
10  /**
11   * @author p070518
12   */
13  @XmlRootElement
14  public class Customer {
15  
16      String name;
17  
18      int age;
19  
20      int id;
21  
22      public String getName() {
23          return name;
24      }
25  
26      @XmlElement
27      public void setName(String name) {
28          this.name = name;
29      }
30  
31      public int getAge() {
32          return age;
33      }
34  
35      @XmlElement
36      public void setAge(int age) {
37          this.age = age;
38      }
39  
40      public int getId() {
41          return id;
42      }
43  
44      @XmlAttribute
45      public void setId(int id) {
46          this.id = id;
47      }
48  
49  }