1
1
using System ;
2
2
using System . Data ;
3
-
4
3
using NHibernate . Engine ;
5
4
using NHibernate . Type ;
6
5
@@ -41,19 +40,19 @@ public interface ICompositeUserType
41
40
/// <param name="component">an instance of class mapped by this "type"</param>
42
41
/// <param name="property"></param>
43
42
/// <returns>the property value</returns>
44
- object GetPropertyValue ( object component , int property ) ;
43
+ object GetPropertyValue ( object component , int property ) ;
45
44
46
45
/// <summary>
47
46
/// Set the value of a property
48
47
/// </summary>
49
48
/// <param name="component">an instance of class mapped by this "type"</param>
50
49
/// <param name="property"></param>
51
50
/// <param name="value">the value to set</param>
52
- void SetPropertyValue ( object component , int property , object value ) ;
51
+ void SetPropertyValue ( object component , int property , object value ) ;
53
52
54
53
/// <summary>
55
- /// The class returned by NullSafeGet().
56
- /// </summary>
54
+ /// The class returned by NullSafeGet().
55
+ /// </summary>
57
56
System . Type ReturnedClass { get ; }
58
57
59
58
/// <summary>
@@ -63,7 +62,7 @@ public interface ICompositeUserType
63
62
/// <param name="x"></param>
64
63
/// <param name="y"></param>
65
64
/// <returns></returns>
66
- bool Equals ( Object x , Object y ) ;
65
+ bool Equals ( Object x , Object y ) ;
67
66
68
67
/// <summary>
69
68
/// Retrieve an instance of the mapped class from a IDataReader. Implementors
@@ -74,7 +73,7 @@ public interface ICompositeUserType
74
73
/// <param name="session"></param>
75
74
/// <param name="owner">the containing entity</param>
76
75
/// <returns></returns>
77
- object NullSafeGet ( IDataReader dr , string [ ] names , ISessionImplementor session , object owner ) ;
76
+ object NullSafeGet ( IDataReader dr , string [ ] names , ISessionImplementor session , object owner ) ;
78
77
79
78
/// <summary>
80
79
/// Write an instance of the mapped class to a prepared statement.
@@ -85,14 +84,14 @@ public interface ICompositeUserType
85
84
/// <param name="value"></param>
86
85
/// <param name="index"></param>
87
86
/// <param name="session"></param>
88
- void NullSafeSet ( IDbCommand cmd , object value , int index , ISessionImplementor session ) ;
87
+ void NullSafeSet ( IDbCommand cmd , object value , int index , ISessionImplementor session ) ;
89
88
90
89
/// <summary>
91
90
/// Return a deep copy of the persistent state, stopping at entities and at collections.
92
91
/// </summary>
93
92
/// <param name="value">generally a collection element or entity field</param>
94
93
/// <returns></returns>
95
- object DeepCopy ( object value ) ;
94
+ object DeepCopy ( object value ) ;
96
95
97
96
/// <summary>
98
97
/// Are objects of this type mutable?
@@ -107,7 +106,7 @@ public interface ICompositeUserType
107
106
/// <param name="value">the object to be cached</param>
108
107
/// <param name="session"></param>
109
108
/// <returns></returns>
110
- object Disassemble ( object value , ISessionImplementor session ) ;
109
+ object Disassemble ( object value , ISessionImplementor session ) ;
111
110
112
111
/// <summary>
113
112
/// Reconstruct an object from the cacheable representation.
@@ -117,6 +116,6 @@ public interface ICompositeUserType
117
116
/// <param name="session"></param>
118
117
/// <param name="owner"></param>
119
118
/// <returns></returns>
120
- object Assemble ( object cached , ISessionImplementor session , object owner ) ;
119
+ object Assemble ( object cached , ISessionImplementor session , object owner ) ;
121
120
}
122
121
}
0 commit comments