@Test public void testClone() throws CloneNotSupportedException { IndexDesc copy = (IndexDesc) desc1.clone(); assertEquals(desc1, copy); assertEquals(desc3, copy); }
public Object clone() throws CloneNotSupportedException { IndexDesc desc = (IndexDesc) super.clone(); desc.name = name; desc.tableId = tableId; desc.column = (Column) column.clone(); desc.indexMethod = indexMethod; desc.isUnique = isUnique; desc.isClustered = isClustered; desc.isAscending = isAscending; return desc; }
IndexDesc implements ProtoObject<IndexDescProto>, Cloneable { public Object clone() throws CloneNotSupportedException { IndexDesc desc = (IndexDesc) super.clone(); desc.name = name; desc.tableId = tableId; desc.column = (Column) column.clone(); desc.indexMethod = indexMethod; desc.isUnique = isUnique; desc.isClustered = isClustered; desc.isAscending = isAscending; return desc; } }
IndexDesc implements ProtoObject<IndexDescProto>, Cloneable { public Object clone() throws CloneNotSupportedException { IndexDesc desc = (IndexDesc) super.clone(); desc.name = name; desc.tableId = tableId; desc.column = (Column) column.clone(); desc.indexMethod = indexMethod; desc.isUnique = isUnique; desc.isClustered = isClustered; desc.isAscending = isAscending; return desc; } IndexDesc();  IndexDesc(String name, String tableId, Column column, IndexMethod type,
      boolean isUnique, boolean isClustered, boolean isAscending);  IndexDesc(IndexDescProto proto); }
IndexDesc implements ProtoObject<IndexDescProto>, Cloneable { public Object clone() throws CloneNotSupportedException { IndexDesc desc = (IndexDesc) super.clone(); desc.name = name; desc.tableId = tableId; desc.column = (Column) column.clone(); desc.indexMethod = indexMethod; desc.isUnique = isUnique; desc.isClustered = isClustered; desc.isAscending = isAscending; return desc; } IndexDesc();  IndexDesc(String name, String tableId, Column column, IndexMethod type,
      boolean isUnique, boolean isClustered, boolean isAscending);  IndexDesc(IndexDescProto proto); String getName(); String getTableId(); Column getColumn(); IndexMethod getIndexMethod(); boolean isClustered(); boolean isUnique(); boolean isAscending(); @Override IndexDescProto getProto(); boolean equals(Object obj); int hashCode(); Object clone(); String toString(); }
IndexDesc implements ProtoObject<IndexDescProto>, Cloneable { public Object clone() throws CloneNotSupportedException { IndexDesc desc = (IndexDesc) super.clone(); desc.name = name; desc.tableId = tableId; desc.column = (Column) column.clone(); desc.indexMethod = indexMethod; desc.isUnique = isUnique; desc.isClustered = isClustered; desc.isAscending = isAscending; return desc; } IndexDesc();  IndexDesc(String name, String tableId, Column column, IndexMethod type,
      boolean isUnique, boolean isClustered, boolean isAscending);  IndexDesc(IndexDescProto proto); String getName(); String getTableId(); Column getColumn(); IndexMethod getIndexMethod(); boolean isClustered(); boolean isUnique(); boolean isAscending(); @Override IndexDescProto getProto(); boolean equals(Object obj); int hashCode(); Object clone(); String toString();  }