1 package org.bsf.smartValueObject.demo; 2 3 import java.io.Serializable ; 4 5 10 public class SubsidiaryVO implements Serializable { 11 private Long id; 12 private String name; 13 private long workforce; 14 private CompanyVO companyVO; 15 16 17 public Long getId() { 18 return id; 19 } 20 21 public void setId(Long id) { 22 this.id = id; 23 } 24 25 26 public String getName() { 27 return name; 28 } 29 30 public void setName(String name) { 31 this.name = name; 32 } 33 34 35 public long getWorkforce() { 36 return workforce; 37 } 38 39 public void setWorkforce(long workforce) { 40 this.workforce = workforce; 41 } 42 43 44 public CompanyVO getCompanyVO() { 45 return this.companyVO; 46 } 47 48 public void setCompanyVO(CompanyVO c) { 49 this.companyVO = c; 50 } 51 52 public String toString() { 53 return "SubsidiaryVO: id=" + id + " name=" + name + " workforce=" + workforce; 54 } 55 } 56 | Popular Tags |