From d96caaa14e9e869e85eecc6b760221ad0579f68e Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Thu, 26 Jun 2008 20:20:30 +0000
Subject: Apply patch from bug #1606 -- Documentation for Data/Null, Data/Base.
Thanks kerunix_Flan!
---
OpenSim/Data/Base/AppearanceTableMapper.cs | 44 ++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
(limited to 'OpenSim/Data/Base/AppearanceTableMapper.cs')
diff --git a/OpenSim/Data/Base/AppearanceTableMapper.cs b/OpenSim/Data/Base/AppearanceTableMapper.cs
index 60acfe0..7964880 100644
--- a/OpenSim/Data/Base/AppearanceTableMapper.cs
+++ b/OpenSim/Data/Base/AppearanceTableMapper.cs
@@ -32,6 +32,9 @@ using OpenSim.Framework;
namespace OpenSim.Data.Base
{
+ ///
+ ///
+ ///
public class AppearanceRowMapper : BaseRowMapper
{
public AppearanceRowMapper(BaseSchema schema, AvatarAppearance obj)
@@ -40,6 +43,9 @@ namespace OpenSim.Data.Base
}
}
+ ///
+ ///
+ ///
public class AppearanceTableMapper : BaseTableMapper
{
public AppearanceTableMapper(BaseDatabaseConnector database, string tableName)
@@ -186,28 +192,55 @@ namespace OpenSim.Data.Base
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool Add(Guid userID, AvatarAppearance appearance)
{
AppearanceRowMapper mapper = CreateRowMapper(appearance);
return Add(mapper);
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool Update(Guid userID, AvatarAppearance appearance)
{
AppearanceRowMapper mapper = CreateRowMapper(appearance);
return Update(appearance.Owner.UUID, mapper);
}
+ ///
+ ///
+ ///
+ ///
+ ///
protected AppearanceRowMapper CreateRowMapper(AvatarAppearance appearance)
{
return new AppearanceRowMapper(m_schema, appearance);
}
+ ///
+ ///
+ ///
+ ///
protected AppearanceRowMapper CreateRowMapper()
{
return CreateRowMapper(new AvatarAppearance());
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
protected AppearanceRowMapper FromReader(BaseDataReader reader, AvatarAppearance appearance)
{
AppearanceRowMapper mapper = CreateRowMapper(appearance);
@@ -215,6 +248,11 @@ namespace OpenSim.Data.Base
return mapper;
}
+ ///
+ ///
+ ///
+ ///
+ ///
public override AppearanceRowMapper FromReader(BaseDataReader reader)
{
AppearanceRowMapper mapper = CreateRowMapper();
@@ -222,6 +260,12 @@ namespace OpenSim.Data.Base
return mapper;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
public bool TryGetValue(Guid presenceID, out AvatarAppearance val)
{
AppearanceRowMapper mapper;
--
cgit v1.1