Package com.alibaba.otter.manager.biz.config.datacolumnpair.dal.dataobject

Examples of com.alibaba.otter.manager.biz.config.datacolumnpair.dal.dataobject.DataColumnPairGroupDO


    @Override
    public void create(ColumnGroup entityObj) {
        Assert.assertNotNull(entityObj);

        try {
            DataColumnPairGroupDO dataColumnPairGroupDo = modelToDo(entityObj);
            dataColumnPairGroupDao.insert(dataColumnPairGroupDo);
        } catch (RepeatConfigureException rcf) {
            throw rcf;
        } catch (Exception e) {
            logger.error("ERROR ## create dataColumnPairGroup has an exception!");
View Full Code Here


     *
     * @param dataColumnPair
     * @return DataMediaPairDO
     */
    private DataColumnPairGroupDO modelToDo(ColumnGroup columnGroup) {
        DataColumnPairGroupDO dataColumnPairGroupDo = new DataColumnPairGroupDO();
        dataColumnPairGroupDo.setId(columnGroup.getId());
        dataColumnPairGroupDo.setColumnPairContent(JsonUtils.marshalToString(columnGroup.getColumnPairs()));
        dataColumnPairGroupDo.setDataMediaPairId(columnGroup.getDataMediaPairId());
        dataColumnPairGroupDo.setGmtCreate(columnGroup.getGmtCreate());
        dataColumnPairGroupDo.setGmtModified(columnGroup.getGmtModified());

        return dataColumnPairGroupDo;
    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.manager.biz.config.datacolumnpair.dal.dataobject.DataColumnPairGroupDO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.