CloneSet447


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
33250.970namespace_member_declarations
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1334
src/NHibernate/Dialect/Schema/AbstractForeignKeyMetadata.cs
2335
src/NHibernate/Dialect/Schema/AbstractIndexMetadata.cs
Clone Instance
1
Line Count
33
Source Line
4
Source File
src/NHibernate/Dialect/Schema/AbstractForeignKeyMetadata.cs

namespace NHibernate.Dialect.Schema
{
        public class AbstractForeignKeyMetadata : IForeignKeyMetadata
        {
                private string name;

                private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> ();

                public AbstractForeignKeyMetadata(DataRow rs)
                {
                }

                public string Name
                {
                        get { return name;
                            }
                        protected set { name = value;
                                      }
                }

                public void AddColumn(IColumnMetadata column)
                {
                        if (column != null) columns.Add(column);
                }

                public IColumnMetadata[] Columns
                {
                        get { return columns.ToArray();
                            }
                }

                public override string ToString()
                {
                        return "ForeignKeyMetadata(" + name + ')';
                }

        }
}


Clone Instance
2
Line Count
33
Source Line
5
Source File
src/NHibernate/Dialect/Schema/AbstractIndexMetadata.cs

namespace NHibernate.Dialect.Schema
{
        public abstract class AbstractIndexMetadata : IIndexMetadata
        {
                private String name;

                private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> ();

                public AbstractIndexMetadata(DataRow rs)
                {
                }

                public string Name
                {
                        get { return name;
                            }
                        protected set { name = value;
                                      }
                }

                public void AddColumn(IColumnMetadata column)
                {
                        if (column != null) columns.Add(column);
                }

                public IColumnMetadata[] Columns
                {
                        get { return columns.ToArray();
                            }
                }

                public override string ToString()
                {
                        return "IndexMatadata(" + name + ')';
                }

        }
}


Clone AbstractionParameter Count: 5Parameter Bindings

namespace NHibernate.Dialect.Schema
{
    [[#variable6e501ea0]]class [[#variable6e501de0]]: [[#variable6e501d80]]
   {
      private [[#variable6e501d20]]name;

      private readonly List<IColumnMetadata> columns = new List<IColumnMetadata> ();

      public [[#variable6e501de0]](DataRow rs)
      {
      }

      public string Name
      {
         get
         {
            return name;
         }
         protected set
         {
            name = value;
         }
      }

      public void AddColumn(IColumnMetadata column)
      {
         if (column != null)
            columns.Add(column);
      }

      public IColumnMetadata[] Columns
      {
         get
         {
            return columns.ToArray();
         }
      }

      public override string ToString()
      {
         return [[#variable6e501cc0]]+ name + ')';
      }

   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6e501ea0]]
public 
12[[#6e501ea0]]
public abstract 
21[[#6e501de0]]
AbstractForeignKeyMetadata 
22[[#6e501de0]]
AbstractIndexMetadata 
31[[#6e501d80]]
IForeignKeyMetadata 
32[[#6e501d80]]
IIndexMetadata 
41[[#6e501d20]]
string 
42[[#6e501d20]]
String 
51[[#6e501cc0]]
"ForeignKeyMetadata(" 
52[[#6e501cc0]]
"IndexMatadata("