dcaf4647370ef5e1958d5b1004f35265b27402c1.svn-base 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.sysmodel.collectmodel.xmlmodel.able;
  2. import java.util.ArrayList;
  3. import com.sysmodel.collectmodel.xmlmodel.able.Action;
  4. import com.sysmodel.collectmodel.xmlmodel.able.PageHead;
  5. import com.sysmodel.collectmodel.xmlmodel.impl.HiddenFieldImpl;
  6. import com.sysmodel.collectmodel.xmlmodel.impl.ReportFieldImpl;
  7. import com.sysmodel.datamodel.xmlmodel.impl.MdpAttributeImpl;
  8. public interface FormCollection{
  9. /**
  10. * @return 获得采集页面在XML中定义的编号
  11. */
  12. public String getPageid();
  13. /**
  14. * @return <form> enctype=""
  15. */
  16. public String getEnctype();
  17. /**
  18. * @return <form> action=""
  19. */
  20. public String getAction();
  21. /**
  22. * @return 获得表单修改的表的CLASSID编号字符串
  23. */
  24. public String getClassid();
  25. /**
  26. * @return 获得表单修改的表的CLASSID编号集合
  27. */
  28. String[] getClassidArry();
  29. /**
  30. * @return 获得采集标题定义的属性
  31. */
  32. public PageHead getPageHead();
  33. public Action getActionByType(String type);
  34. /**
  35. * 获得所有定义的采集录入字段集合
  36. *
  37. * @return
  38. */
  39. public ArrayList<ReportFieldImpl> getAllReportFields();
  40. /**
  41. * 表单所属模块
  42. *
  43. * @return
  44. */
  45. public String getType();
  46. /**
  47. * 表单备注
  48. *
  49. * @return
  50. */
  51. public String getDescription();
  52. /**
  53. * 获得所有隐藏插入的对象集合
  54. *
  55. * @return
  56. */
  57. public ArrayList<HiddenFieldImpl> getAlHiddenFields();
  58. public PageRoot getPageRoot();
  59. public PageBody getPageBody();
  60. public ReportFieldImpl getReportFieldByName(FormCollection FormCollection, String oName);
  61. public ArrayList<ReportFieldImpl> getReportFieldByControlType(FormCollection FormCollection,
  62. String controlType);
  63. public ArrayList<MdpAttributeImpl> getReportFieldContrastAttribute(
  64. FormCollection FormCollection, String controlType);
  65. public ArrayList<MdpAttributeImpl> getAllReportFieldContrastAttribute(
  66. FormCollection FormCollection, String controlType);
  67. public Object clone();
  68. }