de.opitzconsulting.orcas.diff.ModelUtil Maven / Gradle / Ivy
The newest version!
package de.opitzconsulting.orcas.diff;
import java.util.ArrayList;
import java.util.List;
import de.opitzconsulting.origOrcasDsl.ColumnRef;
import de.opitzconsulting.origOrcasDsl.impl.ColumnRefImpl;
public class ModelUtil
{
public static List copyColumnRefs( Iterable pColumnRefs )
{
List lReturn = new ArrayList();
for( ColumnRef lColumnRef : pColumnRefs )
{
ColumnRef lCopyColumnRef = new ColumnRefImpl();
lCopyColumnRef.setColumn_name( lColumnRef.getColumn_name() );
lReturn.add( lCopyColumnRef );
}
return lReturn;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy