All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.vertxup.graphic.domain.tables.interfaces.IGNode Maven / Gradle / Ivy

/*
 * This file is generated by jOOQ.
*/
package cn.vertxup.graphic.domain.tables.interfaces;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import javax.annotation.Generated;


/**
 * This class is generated by jOOQ.
 */
@Generated(
    value = {
        "http://www.jooq.org",
        "jOOQ version:3.10.8"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public interface IGNode extends Serializable {

    /**
     * Setter for DB_ETERNAL.G_NODE.KEY. 「key」- 节点ID
     */
    public IGNode setKey(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.KEY. 「key」- 节点ID
     */
    public String getKey();

    /**
     * Setter for DB_ETERNAL.G_NODE.NAME. 「name」- 节点呈现名称
     */
    public IGNode setName(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.NAME. 「name」- 节点呈现名称
     */
    public String getName();

    /**
     * Setter for DB_ETERNAL.G_NODE.X. 「x」- 当前节点在图上的x坐标
     */
    public IGNode setX(BigDecimal value);

    /**
     * Getter for DB_ETERNAL.G_NODE.X. 「x」- 当前节点在图上的x坐标
     */
    public BigDecimal getX();

    /**
     * Setter for DB_ETERNAL.G_NODE.Y. 「y」- 当前节点在图上的y坐标
     */
    public IGNode setY(BigDecimal value);

    /**
     * Getter for DB_ETERNAL.G_NODE.Y. 「y」- 当前节点在图上的y坐标
     */
    public BigDecimal getY();

    /**
     * Setter for DB_ETERNAL.G_NODE.UI. 「ui」- ui配置专用
     */
    public IGNode setUi(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.UI. 「ui」- ui配置专用
     */
    public String getUi();

    /**
     * Setter for DB_ETERNAL.G_NODE.GRAPHIC_ID. 「graphicId」- 它所关联的图实例ID
     */
    public IGNode setGraphicId(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.GRAPHIC_ID. 「graphicId」- 它所关联的图实例ID
     */
    public String getGraphicId();

    /**
     * Setter for DB_ETERNAL.G_NODE.RECORD_DATA. 「recordData」- 该节点存储的数据信息
     */
    public IGNode setRecordData(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.RECORD_DATA. 「recordData」- 该节点存储的数据信息
     */
    public String getRecordData();

    /**
     * Setter for DB_ETERNAL.G_NODE.RECORD_KEY. 「recordKey」- 记录主键
     */
    public IGNode setRecordKey(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.RECORD_KEY. 「recordKey」- 记录主键
     */
    public String getRecordKey();

    /**
     * Setter for DB_ETERNAL.G_NODE.RECORD_COMPONENT. 「recordComponent」- 记录处理组件
     */
    public IGNode setRecordComponent(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.RECORD_COMPONENT. 「recordComponent」- 记录处理组件
     */
    public String getRecordComponent();

    /**
     * Setter for DB_ETERNAL.G_NODE.RECORD_CLASS. 「recordClass」- 记录绑定Pojo类型
     */
    public IGNode setRecordClass(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.RECORD_CLASS. 「recordClass」- 记录绑定Pojo类型
     */
    public String getRecordClass();

    /**
     * Setter for DB_ETERNAL.G_NODE.SIGMA. 「sigma」- 统一标识
     */
    public IGNode setSigma(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.SIGMA. 「sigma」- 统一标识
     */
    public String getSigma();

    /**
     * Setter for DB_ETERNAL.G_NODE.LANGUAGE. 「language」- 使用的语言
     */
    public IGNode setLanguage(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.LANGUAGE. 「language」- 使用的语言
     */
    public String getLanguage();

    /**
     * Setter for DB_ETERNAL.G_NODE.ACTIVE. 「active」- 是否启用
     */
    public IGNode setActive(Boolean value);

    /**
     * Getter for DB_ETERNAL.G_NODE.ACTIVE. 「active」- 是否启用
     */
    public Boolean getActive();

    /**
     * Setter for DB_ETERNAL.G_NODE.METADATA. 「metadata」- 附加配置数据
     */
    public IGNode setMetadata(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.METADATA. 「metadata」- 附加配置数据
     */
    public String getMetadata();

    /**
     * Setter for DB_ETERNAL.G_NODE.CREATED_AT. 「createdAt」- 创建时间
     */
    public IGNode setCreatedAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.G_NODE.CREATED_AT. 「createdAt」- 创建时间
     */
    public LocalDateTime getCreatedAt();

    /**
     * Setter for DB_ETERNAL.G_NODE.CREATED_BY. 「createdBy」- 创建人
     */
    public IGNode setCreatedBy(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.CREATED_BY. 「createdBy」- 创建人
     */
    public String getCreatedBy();

    /**
     * Setter for DB_ETERNAL.G_NODE.UPDATED_AT. 「updatedAt」- 更新时间
     */
    public IGNode setUpdatedAt(LocalDateTime value);

    /**
     * Getter for DB_ETERNAL.G_NODE.UPDATED_AT. 「updatedAt」- 更新时间
     */
    public LocalDateTime getUpdatedAt();

    /**
     * Setter for DB_ETERNAL.G_NODE.UPDATED_BY. 「updatedBy」- 更新人
     */
    public IGNode setUpdatedBy(String value);

    /**
     * Getter for DB_ETERNAL.G_NODE.UPDATED_BY. 「updatedBy」- 更新人
     */
    public String getUpdatedBy();

    // -------------------------------------------------------------------------
    // FROM and INTO
    // -------------------------------------------------------------------------

    /**
     * Load data from another generated Record/POJO implementing the common interface IGNode
     */
    public void from(cn.vertxup.graphic.domain.tables.interfaces.IGNode from);

    /**
     * Copy data into another generated Record/POJO implementing the common interface IGNode
     */
    public  E into(E into);

    default IGNode fromJson(io.vertx.core.json.JsonObject json) {
        setKey(json.getString("KEY"));
        setName(json.getString("NAME"));
        // Omitting unrecognized type java.math.BigDecimal for column X!
        // Omitting unrecognized type java.math.BigDecimal for column Y!
        setUi(json.getString("UI"));
        setGraphicId(json.getString("GRAPHIC_ID"));
        setRecordData(json.getString("RECORD_DATA"));
        setRecordKey(json.getString("RECORD_KEY"));
        setRecordComponent(json.getString("RECORD_COMPONENT"));
        setRecordClass(json.getString("RECORD_CLASS"));
        setSigma(json.getString("SIGMA"));
        setLanguage(json.getString("LANGUAGE"));
        setActive(json.getBoolean("ACTIVE"));
        setMetadata(json.getString("METADATA"));
        // Omitting unrecognized type java.time.LocalDateTime for column CREATED_AT!
        setCreatedBy(json.getString("CREATED_BY"));
        // Omitting unrecognized type java.time.LocalDateTime for column UPDATED_AT!
        setUpdatedBy(json.getString("UPDATED_BY"));
        return this;
    }


    default io.vertx.core.json.JsonObject toJson() {
        io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
        json.put("KEY",getKey());
        json.put("NAME",getName());
        // Omitting unrecognized type java.math.BigDecimal for column X!
        // Omitting unrecognized type java.math.BigDecimal for column Y!
        json.put("UI",getUi());
        json.put("GRAPHIC_ID",getGraphicId());
        json.put("RECORD_DATA",getRecordData());
        json.put("RECORD_KEY",getRecordKey());
        json.put("RECORD_COMPONENT",getRecordComponent());
        json.put("RECORD_CLASS",getRecordClass());
        json.put("SIGMA",getSigma());
        json.put("LANGUAGE",getLanguage());
        json.put("ACTIVE",getActive());
        json.put("METADATA",getMetadata());
        // Omitting unrecognized type java.time.LocalDateTime for column CREATED_AT!
        json.put("CREATED_BY",getCreatedBy());
        // Omitting unrecognized type java.time.LocalDateTime for column UPDATED_AT!
        json.put("UPDATED_BY",getUpdatedBy());
        return json;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy