Windturbine.hbm.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0"?>
  2. <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
  3. "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
  4. <!--
  5. Mapping file autogenerated by MyEclipse - Hibernate Tools
  6. -->
  7. <hibernate-mapping>
  8. <class name="inbasis.domain.windfarm.Windturbine" table="windturbine">
  9. <id name="id" type="java.lang.Long">
  10. <column name="ID" precision="22" scale="0" />
  11. <generator class="assigned" />
  12. </id>
  13. <property name="wtnum" type="java.lang.Long">
  14. <column name="WTNUM" length="28" not-null="true" />
  15. </property>
  16. <property name="ownerwf" type="java.lang.Long">
  17. <column name="OWNERWF" length="28" not-null="true" />
  18. </property>
  19. <property name="ownerproject" type="java.lang.Long">
  20. <column name="OWNERPROJECT" length="28" not-null="true" />
  21. </property>
  22. <property name="ownerline" type="java.lang.Long">
  23. <column name="OWNERLINE" length="28" not-null="true" />
  24. </property>
  25. <property name="ordernum" type="java.lang.Long">
  26. <column name="ORDERNUM" length="28" not-null="true" />
  27. </property>
  28. <property name="wtwfnum" type="java.lang.String">
  29. <column name="WTWFNUM" length="50" not-null="true" />
  30. </property>
  31. <property name="wtgridnum" type="java.lang.String">
  32. <column name="WTGRIDNUM" length="50" />
  33. </property>
  34. <property name="vendor" type="java.lang.String">
  35. <column name="VENDOR" length="50" not-null="true" />
  36. </property>
  37. <property name="model" type="java.lang.String">
  38. <column name="MODEL" length="50" not-null="true" />
  39. </property>
  40. <property name="ratedpower" type="java.lang.Double">
  41. <column name="RATEDPOWER" length="15" not-null="true" />
  42. </property>
  43. <property name="ratedwinspe" type="java.lang.Double">
  44. <column name="RATEDWINSPE" length="15" not-null="true" />
  45. </property>
  46. <property name="ratedvoltage" type="java.lang.Double">
  47. <column name="RATEDVOLTAGE" length="15" />
  48. </property>
  49. <property name="ratedrev" type="java.lang.Double">
  50. <column name="RATEDREV" length="15" />
  51. </property>
  52. <property name="cutinwinspe" type="java.lang.Double">
  53. <column name="CUTINWINSPE" length="15" not-null="true" />
  54. </property>
  55. <property name="cutoutwinspe" type="java.lang.Double">
  56. <column name="CUTOUTWINSPE" length="15" not-null="true" />
  57. </property>
  58. <property name="maxwinspe" type="java.lang.Double">
  59. <column name="MAXWINSPE" length="15" />
  60. </property>
  61. <property name="lowertemp" type="java.lang.Double">
  62. <column name="LOWERTEMP" length="15" />
  63. </property>
  64. <property name="hightemp" type="java.lang.Double">
  65. <column name="HIGHTEMP" length="15" />
  66. </property>
  67. <property name="lowerrev" type="java.lang.Double">
  68. <column name="LOWERREV" length="15" />
  69. </property>
  70. <property name="highrev" type="java.lang.Double">
  71. <column name="HIGHREV" length="15" />
  72. </property>
  73. <property name="roterdiameter" type="java.lang.Double">
  74. <column name="ROTERDIAMETER" length="15" not-null="true" />
  75. </property>
  76. <property name="hubheight" type="java.lang.Double">
  77. <column name="HUBHEIGHT" length="15" not-null="true" />
  78. </property>
  79. <property name="releasedate" type="java.util.Date">
  80. <column name="RELEASEDATE" length="0" />
  81. </property>
  82. <property name="installdate" type="java.util.Date">
  83. <column name="INSTALLDATE" length="0" />
  84. </property>
  85. <property name="testdate" type="java.util.Date">
  86. <column name="TESTDATE" length="0" />
  87. </property>
  88. <property name="opdate" type="java.util.Date">
  89. <column name="OPDATE" length="0" not-null="true" />
  90. </property>
  91. <property name="location" type="java.lang.String">
  92. <column name="LOCATION" length="100" />
  93. </property>
  94. <property name="wflocation" type="java.lang.String">
  95. <column name="WFLOCATION" length="100" />
  96. </property>
  97. <property name="wtid" type="java.lang.String">
  98. <column name="WTID" length="50" />
  99. </property>
  100. </class>
  101. </hibernate-mapping>