/** * From a {@link IDescribableBean} to another {@link IDescribableBean} bean copy. * * @param <T> * Bean type. * @param from * the {@link IDescribableBean} source. Must not be null. * @param to * the target {@link IDescribableBean} to fill. Must not be null. */ public static <T extends Serializable> void copy(final IDescribableBean<T> from, final IDescribableBean<T> to) { NamedBean.copy(from, to); to.setDescription(from.getDescription()); }