1 18 package net.sf.uitags.testdata; 19 20 public class Country { 21 private int id; 22 private String name; 23 private Continent continent; 24 25 public Country(int id, String name) { 26 this.id = id; 27 this.name = name; 28 } 29 30 public void setId(int value) { this.id = value; } 31 public int getId() { return this.id; } 32 33 public void setName(String value) { this.name = value; } 34 public String getName() { return this.name; } 35 36 public void setContinent(Continent value) { this.continent = value; } 37 public Continent getContinent() { return this.continent; } 38 39 public String getContinentId() { return this.continent.getId(); } 40 } 41 | Popular Tags |