private ConditionCol52 cloneConditionColumn(ConditionCol52 col) {
ConditionCol52 clone = null;
if ( col instanceof LimitedEntryConditionCol52 ) {
clone = new LimitedEntryConditionCol52();
DTCellValue52 dcv = cloneLimitedEntryValue( ((LimitedEntryCol) col).getValue() );
((LimitedEntryCol) clone).setValue( dcv );
} else {
clone = new ConditionCol52();
}
clone.setConstraintValueType( col.getConstraintValueType() );
clone.setFactField( col.getFactField() );
clone.setFieldType( col.getFieldType() );
clone.setHeader( col.getHeader() );
clone.setOperator( col.getOperator() );
clone.setValueList( col.getValueList() );
clone.setDefaultValue( new DTCellValue52( col.getDefaultValue() ) );
clone.setHideColumn( col.isHideColumn() );
clone.setParameters( col.getParameters() );
clone.setWidth( col.getWidth() );
clone.setBinding( col.getBinding() );
return clone;