CloneSet149


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10610.990statement_list[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110119
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs
210259
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs
310371
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs
41065
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs
510146
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs
610267
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs
Clone Instance
1
Line Count
10
Source Line
119
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs

                        property.Name = idSchema.name;

                        if (property.Value.Type == null)
                                throw new MappingException("could not determine a property type for: " + property.Name);

                        property.PropertyAccessorName = idSchema.access ?? mappings.DefaultAccess;
                        property.Cascade = mappings.DefaultCascade;
                        property.IsUpdateable = true;
                        property.IsInsertable = true;
                        property.IsOptimisticLocked = true;


Clone Instance
2
Line Count
10
Source Line
259
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs

                        property.Name = keyManyToOneSchema.name;

                        if (property.Value.Type == null)
                                throw new MappingException("could not determine a property type for: " + property.Name);

                        property.PropertyAccessorName = keyManyToOneSchema.access ?? mappings.DefaultAccess;
                        property.Cascade = mappings.DefaultCascade;
                        property.IsUpdateable = true;
                        property.IsInsertable = true;
                        property.IsOptimisticLocked = true;


Clone Instance
3
Line Count
10
Source Line
371
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassCompositeIdBinder.cs

                        property.Name = keyPropertySchema.name;

                        if (property.Value.Type == null)
                                throw new MappingException("could not determine a property type for: " + property.Name);

                        property.PropertyAccessorName = keyPropertySchema.access ?? mappings.DefaultAccess;
                        property.Cascade = mappings.DefaultCascade;
                        property.IsUpdateable = true;
                        property.IsInsertable = true;
                        property.IsOptimisticLocked = true;


Clone Instance
4
Line Count
10
Source Line
65
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassIdBinder.cs

                                property.Name = idSchema.name;

                                if (property.Value.Type == null)
                                        throw new MappingException("could not determine a property type for: " + property.Name);

                                property.PropertyAccessorName = idSchema.access ?? mappings.DefaultAccess;
                                property.Cascade = mappings.DefaultCascade;
                                property.IsUpdateable = true;
                                property.IsInsertable = true;
                                property.IsOptimisticLocked = true;


Clone Instance
5
Line Count
10
Source Line
146
Source File
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs

                        property.Name = timestampSchema.name;

                        if (property.Value.Type == null)
                                throw new MappingException("could not determine a property type for: " + property.Name);

                        property.PropertyAccessorName = timestampSchema.access ?? mappings.DefaultAccess;
                        property.Cascade = mappings.DefaultCascade;
                        property.IsUpdateable = true;
                        property.IsInsertable = true;
                        property.IsOptimisticLocked = true;


Clone Instance
6
Line Count
10
Source Line
267
Source File
src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs

                        property.Name = versionSchema.name;

                        if (property.Value.Type == null)
                                throw new MappingException("could not determine a property type for: " + property.Name);

                        property.PropertyAccessorName = versionSchema.access ?? mappings.DefaultAccess;
                        property.Cascade = mappings.DefaultCascade;
                        property.IsUpdateable = true;
                        property.IsInsertable = true;
                        property.IsOptimisticLocked = true;


Clone AbstractionParameter Count: 1Parameter Bindings

property.Name = [[#variable4efca5c0]].name;
if (property.Value.Type == null)
   throw new MappingException("could not determine a property type for: " + property.Name);
property.PropertyAccessorName = [[#variable4efca5c0]].access ??
                               mappings.DefaultAccess;
property.Cascade = mappings.DefaultCascade;
property.IsUpdateable = true;
property.IsInsertable = true;
property.IsOptimisticLocked = true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4efca5c0]]
idSchema 
12[[#4efca5c0]]
timestampSchema 
13[[#4efca5c0]]
versionSchema 
14[[#4efca5c0]]
keyManyToOneSchema 
15[[#4efca5c0]]
keyPropertySchema 
16[[#4efca5c0]]
idSchema