RegionStore.hbm.xml 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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="PathTaperY" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  94. <property name="PathTwist" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
  95. <property name="ProfileBegin" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  96. <property name="ProfileEnd" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  97. <property name="ProfileCurve" type="System.Byte" />
  98. <property name="ProfileHollow" type="OpenSim.Data.NHibernate.UInt16Type, OpenSim.Data.NHibernate" />
  99. <property name="TextureEntry" column="Texture" type="binary" />
  100. <property name="ExtraParams" type="binary" />
  101. <property name="State" type="System.Byte" />
  102. </component>
  103. </class>
  104. <class name="OpenSim.Data.NHibernate.Terrain, OpenSim.Data.NHibernate" table="Terrain" lazy="false">
  105. <id name="RegionID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  106. <generator class="assigned" />
  107. </id>
  108. <!-- <property name="MapData" type="OpenSim.Data.NHibernate.BlobType, OpenSim.Data.NHibernate" /> -->
  109. <property name="MapData" type="binary" />
  110. </class>
  111. <class name="OpenSim.Framework.TaskInventoryItem, OpenSim.Framework" table="PrimItems" lazy="false">
  112. <id name="ItemID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate">
  113. <generator class="assigned" />
  114. </id>
  115. <property name="ParentPartID" column="PrimID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  116. <property name="AssetID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  117. <property name="ParentID" column="ParentFolderID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  118. <property name="CreatorID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  119. <property name="OwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  120. <property name="GroupID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  121. <property name="LastOwnerID" type="OpenSim.Data.NHibernate.UUIDUserType, OpenSim.Data.NHibernate"/>
  122. <property name="CurrentPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  123. <property name="BasePermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  124. <property name="EveryonePermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  125. <property name="GroupPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  126. <property name="NextPermissions" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  127. <property name="Name" type="String" length="255" />
  128. <property name="Description" type="String" length="255" />
  129. <property name="CreationDate" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  130. <property name="Flags" type="OpenSim.Data.NHibernate.UInt32Type, OpenSim.Data.NHibernate" />
  131. <property name="InvType" type="System.Int32" />
  132. </class>
  133. </hibernate-mapping>