1 22 package org.jboss.harness; 23 24 import java.io.Serializable ; 25 26 34 public class HABindingObject implements Serializable 35 { 36 static final long serialVersionUID = -5987617132918027769L; 37 38 private String m_name; 39 private String m_company; 40 private String m_location; 41 private String m_country; 42 private int m_year; 43 private boolean m_isManager; 44 45 public HABindingObject() 46 { 47 } 48 49 public void setName(String name) 50 { 51 m_name = name; 52 } 53 public String getName() 54 { 55 return m_name; 56 } 57 58 public void setCompany(String company) 59 { 60 m_company = company; 61 } 62 63 public String getCompany() 64 { 65 return m_company; 66 } 67 68 public void setLocation(String location) 69 { 70 m_location = location; 71 } 72 73 public String getLocation() 74 { 75 return m_location; 76 } 77 78 public void setCountry(String country) 79 { 80 m_country = country; 81 } 82 83 public String getCountry() 84 { 85 return m_country; 86 } 87 88 public void setYear(int year) 89 { 90 m_year = year; 91 } 92 93 public int getYear() 94 { 95 return m_year; 96 } 97 98 public void setManager(boolean isManager) 99 { 100 m_isManager = isManager; 101 } 102 103 public boolean isManager() 104 { 105 return m_isManager; 106 } 107 108 public String toString() 109 { 110 return("name=" + m_name + ", company=" + m_company + ", location=" + m_location 111 + ", country=" + m_country + ", year=" + m_year); 112 } 113 114 } 115 | Popular Tags |