jxl操作excel(7)

2019-02-15 13:06

101. 102. 103. 104. 105. 106. 107. 108. }

public void setHomeplace(Area homeplace) { this.homeplace = homeplace; } }

Organization.java

用来存放员工所属的组织部门 Java代码

1. package com.lightgjc1.domain; 2.

3. import java.util.Set; 4.

5. public class Organization { 6.

7. private String id; 8.

9. private String code; 10.

11. private String fullName; 12.

13. private String shortName; 14.

15. private String manager; 16.

17. private String desc; 18.

19. //*-----1

20. private OrgType orgType; 21.

22. //*-----1

23. private Organization parent; 24.

25. //1-----*

26. private Set children; 27.

28. public String getId() { 29. return id;

30. } 31.

32. public void setId(String id) { 33. this.id = id; 34. } 35.

36. public String getCode() { 37. return code; 38. } 39.

40. public void setCode(String code) { 41. this.code = code; 42. } 43.

44. public String getFullName() { 45. return fullName; 46. } 47.

48. public void setFullName(String fullName) { 49. this.fullName = fullName; 50. } 51.

52. public String getShortName() { 53. return shortName; 54. } 55.

56. public void setShortName(String shortName) { 57. this.shortName = shortName; 58. } 59.

60. public String getManager() { 61. return manager; 62. } 63.

64. public void setManager(String manager) { 65. this.manager = manager; 66. } 67.

68. public String getDesc() { 69. return desc; 70. } 71.

72. public void setDesc(String desc) { 73. this.desc = desc;

74. } 75.

76. public OrgType getOrgType() { 77. return orgType; 78. } 79.

80. public void setOrgType(OrgType orgType) { 81. this.orgType = orgType; 82. } 83.

84. public Organization getParent() { 85. return parent; 86. } 87.

88. public void setParent(Organization parent) { 89. this.parent = parent; 90. } 91.

92. public Set getChildren() { 93. return children; 94. } 95.

96. public void setChildren(Set children) { 97. this.children = children; 98. } 99. 100. }

OrgType.java

用来存放员工所属组织部门的部门类型 Java代码

1. package com.lightgjc1.domain; 2.

3. public class OrgType { 4.

5. private String id; 6.

7. //如果使用数值类型作为主键,建议使用包装类 8. //private Integer id; 9. //private int id; 10.

11. private String code; 12.

13. private String name; 14.

15. public String getId() { 16. return id; 17. } 18.

19. public void setId(String id) { 20. this.id = id; 21. } 22.

23. public String getCode() { 24. return code; 25. } 26.

27. public void setCode(String code) { 28. this.code = code; 29. } 30.

31. public String getName() { 32. return name; 33. } 34.

35. public void setName(String name) { 36. this.name = name; 37. } 38. 39.}

Area.java

用来存放员工的籍贯信息 Java代码

1. package com.lightgjc1.domain; 2.

3. import java.util.Set; 4.

5. public class Area { 6.

7. private String id; 8.

9. private String code; 10.

11. private String name; 12.

13. private Area parent; 14.

15. private Set children; 16.

17. public String getId() { 18. return id; 19. } 20.

21. public void setId(String id) { 22. this.id = id; 23. } 24.

25. public String getCode() { 26. return code; 27. } 28.

29. public void setCode(String code) { 30. this.code = code; 31. } 32.

33. public String getName() { 34. return name; 35. } 36.

37. public void setName(String name) { 38. this.name = name; 39. } 40.

41. public Area getParent() { 42. return parent; 43. } 44.

45. public void setParent(Area parent) { 46. this.parent = parent; 47. } 48.

49. public Set getChildren() { 50. return children; 51. } 52.


jxl操作excel(7).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:电阻炉温度控制系统毕业设计

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: