Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 5 | 2 | 0.983 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 160 | src/NHibernate/Engine/CascadingAction.cs |
2 | 9 | 182 | src/NHibernate/Engine/CascadingAction.cs |
3 | 8 | 204 | src/NHibernate/Engine/CascadingAction.cs |
4 | 8 | 225 | src/NHibernate/Engine/CascadingAction.cs |
5 | 9 | 250 | src/NHibernate/Engine/CascadingAction.cs |
| ||||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // delete does cascade to uninitialized collections return GetAllElementsIterator(session, collectionType, collection); } public override bool DeleteOrphans { // orphans should be deleted during delete get { return true; } } |
| ||||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // lock doesn't cascade to uninitialized collections return GetLoadedElementsIterator(session, collectionType, collection); } public override bool DeleteOrphans { //TODO: should orphans really be deleted during lock??? get { return false; } } |
| ||||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // refresh doesn't cascade to uninitialized collections return GetLoadedElementsIterator(session, collectionType, collection); } public override bool DeleteOrphans { get { return false; } } |
| ||||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // evicts don't cascade to uninitialized collections return GetLoadedElementsIterator(session, collectionType, collection); } public override bool DeleteOrphans { get { return false; } } |
| ||||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // saves / updates don't cascade to uninitialized collections return GetLoadedElementsIterator(session, collectionType, collection); } public override bool DeleteOrphans { // orphans should be deleted during save/update get { return true; } } |
| |||
public override IEnumerable GetCascadableChildrenIterator(IEventSource session, CollectionType collectionType, object collection) { // saves / updates don't cascade to uninitialized collections // delete does cascade to uninitialized collections // lock doesn't cascade to uninitialized collections // refresh doesn't cascade to uninitialized collections // evicts don't cascade to uninitialized collections return [[#variable55ad6900]](session, collectionType, collection); } public override bool DeleteOrphans { // orphans should be deleted during save/update // orphans should be deleted during delete //TODO: should orphans really be deleted during lock??? get { return [[#variable55ad6840]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55ad6900]] | GetLoadedElementsIterator |
1 | 2 | [[#55ad6900]] | GetAllElementsIterator |
1 | 3 | [[#55ad6900]] | GetLoadedElementsIterator |
1 | 4 | [[#55ad6900]] | GetLoadedElementsIterator |
1 | 5 | [[#55ad6900]] | GetLoadedElementsIterator |
2 | 1 | [[#55ad6840]] | true |
2 | 2 | [[#55ad6840]] | true |
2 | 3 | [[#55ad6840]] | false |
2 | 4 | [[#55ad6840]] | false |
2 | 5 | [[#55ad6840]] | false |