/ws-tester-xor/ws-tester-xor-engine/src/main/java/com/googlecode/ws/tester/xor/engine/Element.java

http://ws-tester.googlecode.com/ · Java · 61 lines · 44 code · 11 blank · 6 comment · 0 complexity · c65de65403b87d36742dd511ec9f8ee9 MD5 · raw file

  1. package com.googlecode.ws.tester.xor.engine;
  2. /**
  3. * Created by IntelliJ IDEA.
  4. * User: pablo
  5. * Date: 2009-06-09
  6. * Time: 19:08:59
  7. */
  8. public class Element {
  9. private String namespaces;
  10. private String root;
  11. private String className;
  12. private String collection;
  13. public Element() {
  14. }
  15. public String getNamespaces() {
  16. return namespaces;
  17. }
  18. public void setNamespaces(String namespaces) {
  19. this.namespaces = namespaces;
  20. }
  21. public String getRoot() {
  22. return root;
  23. }
  24. public void setRoot(String root) {
  25. this.root = root;
  26. }
  27. public String getClassName() {
  28. return className;
  29. }
  30. public void setClassName(String className) {
  31. this.className = className;
  32. }
  33. public String getCollection() {
  34. return collection;
  35. }
  36. public void setCollection(String collection) {
  37. this.collection = collection;
  38. }
  39. @Override
  40. public String toString() {
  41. final StringBuilder sb = new StringBuilder();
  42. sb.append("Element");
  43. sb.append("{namespaces='").append(namespaces).append('\'');
  44. sb.append(", root='").append(root).append('\'');
  45. sb.append(", className='").append(className).append('\'');
  46. sb.append(", collection='").append(collection).append('\'');
  47. sb.append('}');
  48. return sb.toString();
  49. }
  50. }