Industry.java 656 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package com.cloudcross.ssp.advertiser.model;
  2. import com.cloudcross.ssp.web.widget.SelectorController.ISelector;
  3. public class Industry implements ISelector{
  4. private Long id;
  5. private String name;
  6. public Long getId() {
  7. return id;
  8. }
  9. public void setId(Long id) {
  10. this.id = id;
  11. }
  12. public String getName() {
  13. return name;
  14. }
  15. public void setName(String name) {
  16. this.name = name;
  17. }
  18. @Override
  19. public String getLabel() {
  20. // TODO Auto-generated method stub
  21. return this.name;
  22. }
  23. @Override
  24. public String getValue() {
  25. // TODO Auto-generated method stub
  26. return String.valueOf(this.id);
  27. }
  28. }