Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 2 | 1 | 0.992 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 156 | src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs |
2 | 21 | 277 | src/NHibernate/Cfg/XmlHbmBinding/RootClassBinder.cs |
| ||||
property.Generation = Convert(timestampSchema.generated); if (property.Generation == PropertyGeneration.Always || property.Generation == PropertyGeneration.Insert) { // generated properties can *never* be insertable... if (property.IsInsertable) // insertable simply because that is the user did not specify // anything; just override it property.IsInsertable = false; // properties generated on update can never be updateable... if (property.IsUpdateable && property.Generation == PropertyGeneration.Always) // updateable only because the user did not specify // anything; just override it property.IsUpdateable = false; } property.MetaAttributes = GetMetas(timestampSchema, inheritedMetas); LogMappedProperty(property); |
| ||||
property.Generation = Convert(versionSchema.generated); if (property.Generation == PropertyGeneration.Always || property.Generation == PropertyGeneration.Insert) { // generated properties can *never* be insertable... if (property.IsInsertable) // insertable simply because that is the user did not specify // anything; just override it property.IsInsertable = false; // properties generated on update can never be updateable... if (property.IsUpdateable && property.Generation == PropertyGeneration.Always) // updateable only because the user did not specify // anything; just override it property.IsUpdateable = false; } property.MetaAttributes = GetMetas(versionSchema, inheritedMetas); LogMappedProperty(property); |
| |||
property.Generation = Convert( [[#variable4decdd20]].generated); if (property.Generation == PropertyGeneration.Always || property.Generation == PropertyGeneration.Insert) { // generated properties can *never* be insertable... if (property.IsInsertable) // insertable simply because that is the user did not specify // anything; just override it property.IsInsertable = false; // properties generated on update can never be updateable... if (property.IsUpdateable && property.Generation == PropertyGeneration.Always) // updateable only because the user did not specify // anything; just override it property.IsUpdateable = false; } property.MetaAttributes = GetMetas( [[#variable4decdd20]], inheritedMetas); LogMappedProperty(property); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4decdd20]] | versionSchema |
1 | 2 | [[#4decdd20]] | timestampSchema |