1
0

RegionStore.hbm.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
  3. <class name="OpenSim.Region.Environment.Scenes.SceneObjectPart, OpenSim.Region.Environment" table="Prims" lazy="false">
  4. <id name="UUID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  5. <generator class="assigned" />
  6. </id>
  7. <property name="ParentID" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate"/>
  8. <property name="ParentUUID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  9. <property name="RegionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  10. <property name="CreationDate" type="System.Int32" />
  11. <property name="Name" type="String" length="255" />
  12. <property name="Text" type="String" length="255" />
  13. <property name="Description" type="String" length="255" />
  14. <property name="SitName" type="String" length="255" />
  15. <property name="TouchName" type="String" length="255" />
  16. <property name="Color" type="OpenSim.Data.NHibernate.ColorUserType, OpenSim.Data.NHibernate" />
  17. <property name="ObjectFlags" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  18. <property name="CreatorID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  19. <property name="OwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  20. <property name="GroupID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  21. <property name="LastOwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate" />
  22. <property name="LinkNum" type="System.Int32" />
  23. <property name="OwnerMask" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  24. <property name="NextOwnerMask" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  25. <property name="GroupMask" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  26. <property name="EveryoneMask" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  27. <property name="BaseMask" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  28. <property name="Material" type="Byte" />
  29. <property name="ScriptAccessPin" type="System.Int32" />
  30. <property name="TextureAnimation" type="binary" />
  31. <property name="ParticleSystem" type="binary" />
  32. <property name="ClickAction" type="Byte" />
  33. <property name="OffsetPosition" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  34. <column name="PositionX" />
  35. <column name="PositionY" />
  36. <column name="PositionZ" />
  37. </property>
  38. <property name="GroupPosition" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  39. <column name="GroupPositionX" />
  40. <column name="GroupPositionY" />
  41. <column name="GroupPositionZ" />
  42. </property>
  43. <property name="Velocity" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  44. <column name="VelocityX" />
  45. <column name="VelocityY" />
  46. <column name="VelocityZ" />
  47. </property>
  48. <property name="AngularVelocity" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  49. <column name="AngularVelocityX" />
  50. <column name="AngularVelocityY" />
  51. <column name="AngularVelocityZ" />
  52. </property>
  53. <property name="Acceleration" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  54. <column name="AccelerationX" />
  55. <column name="AccelerationY" />
  56. <column name="AccelerationZ" />
  57. </property>
  58. <property name="SitTargetPositionLL" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  59. <column name="SitTargetOffsetX" />
  60. <column name="SitTargetOffsetY" />
  61. <column name="SitTargetOffsetZ" />
  62. </property>
  63. <property name="RotationOffset" type="OpenSim.Data.NHibernate.QuaternionUserType, OpenSim.Data.NHibernate" >
  64. <column name="RotationX" />
  65. <column name="RotationY" />
  66. <column name="RotationZ" />
  67. <column name="RotationW" />
  68. </property>
  69. <property name="SitTargetOrientationLL" type="OpenSim.Data.NHibernate.QuaternionUserType, OpenSim.Data.NHibernate" >
  70. <column name="SitTargetOrientX" />
  71. <column name="SitTargetOrientY" />
  72. <column name="SitTargetOrientZ" />
  73. <column name="SitTargetOrientW" />
  74. </property>
  75. <component name="Shape">
  76. <property name="Scale" type="OpenSim.Data.NHibernate.Vector3UserType, OpenSim.Data.NHibernate" >
  77. <column name="ScaleX" />
  78. <column name="ScaleY" />
  79. <column name="ScaleZ" />
  80. </property>
  81. <property name="PCode" type="System.Byte" />
  82. <property name="PathBegin" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  83. <property name="PathEnd" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  84. <property name="PathScaleX" type="System.Byte" />
  85. <property name="PathScaleY" type="System.Byte" />
  86. <property name="PathShearX" type="System.Byte" />
  87. <property name="PathShearY" type="System.Byte" />
  88. <property name="PathSkew" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  89. <property name="PathCurve" type="System.Byte" />
  90. <property name="PathRadiusOffset" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  91. <property name="PathRevolutions" type="System.Byte" />
  92. <property name="PathTaperX" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  93. <property name="PathTwist" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  94. <property name="ProfileBegin" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  95. <property name="ProfileEnd" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  96. <property name="ProfileCurve" type="System.Byte" />
  97. <property name="ProfileHollow" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  98. <property name="TextureEntry" column="Texture" type="binary" />
  99. <property name="ExtraParams" type="binary" />
  100. <property name="State" type="System.Byte" />
  101. </component>
  102. </class>
  103. <class name="OpenSim.Data.NHibernate.Terrain, OpenSim.Data.NHibernate" table="Terrain" lazy="false">
  104. <id name="RegionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  105. <generator class="assigned" />
  106. </id>
  107. <!-- <property name="MapData" type="OpenSim.Data.NHibernate.BlobType, OpenSim.Data.NHibernate" /> -->
  108. <property name="MapData" type="binary" />
  109. </class>
  110. <class name="OpenSim.Framework.TaskInventoryItem, OpenSim.Framework" table="PrimItems" lazy="false">
  111. <id name="ItemID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  112. <generator class="assigned" />
  113. </id>
  114. <property name="ParentPartID" column="PrimID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  115. <property name="AssetID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  116. <property name="ParentID" column="ParentFolderID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  117. <property name="CreatorID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  118. <property name="OwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  119. <property name="GroupID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  120. <property name="LastOwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  121. <property name="CurrentPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  122. <property name="BasePermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  123. <property name="EveryonePermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  124. <property name="GroupPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  125. <property name="NextPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  126. <property name="Name" type="String" length="255" />
  127. <property name="Description" type="String" length="255" />
  128. <property name="CreationDate" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  129. <property name="Flags" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  130. <property name="InvType" type="System.Int32" />
  131. </class>
  132. <class name="OpenSim.Data.RegionProfileData, OpenSim.Data" table="Regions" lazy="false">
  133. <id name="Uuid" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  134. <generator class="assigned" />
  135. </id>
  136. <property name="RegionHandle" index="region_handle" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  137. <property name="RegionName" index="region_name" type="String" length="32"/>
  138. <property name="RegionRecvKey" type="String" length="128"/>
  139. <property name="RegionSendKey" type="String" length="128"/>
  140. <property name="RegionSecret" type="String" length="128"/>
  141. <property name="RegionDataURI" type="String" length="255"/>
  142. <property name="ServerIP" type="String" length="64"/>
  143. <property name="ServerPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  144. <property name="ServerURI" type="String" length="255"/>
  145. <property name="RegionLocX" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  146. <property name="RegionLocY" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  147. <property name="RegionLocZ" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  148. <property name="EastOverrideHandle" index="overrideHandles" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  149. <property name="WestOverrideHandle" index="overrideHandles" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  150. <property name="SouthOverrideHandle" index="overrideHandles" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  151. <property name="NorthOverrideHandle" index="overrideHandles" type="OpenSim.Data.NHibernate.UInt64Type, OpenSim.Data.NHibernate" />
  152. <property name="RegionAssetURI" type="String" length="255"/>
  153. <property name="RegionAssetRecvKey" type="String" length="128"/>
  154. <property name="RegionAssetSendKey" type="String" length="128"/>
  155. <property name="RegionUserURI" type="String" length="255"/>
  156. <property name="RegionUserRecvKey" type="String" length="128"/>
  157. <property name="RegionUserSendKey" type="String" length="128"/>
  158. <property name="ServerHttpPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  159. <property name="ServerRemotingPort" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  160. <property name="RegionMapTextureID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  161. <property name="Owner_uuid" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  162. <property name="OriginUUID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  163. </class>
  164. </hibernate-mapping>