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

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

There is a newer version: 0.9.0
Show newest version
/*
 * This file is generated by jOOQ.
*/
package cn.vertxup.graphic.domain.tables.interfaces;


import java.io.Serializable;
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 IGEdge extends Serializable {

    /**
     * Setter for DB_ETERNAL.G_EDGE.KEY. 「key」- 拓扑图边的ID
     */
    public IGEdge setKey(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.KEY. 「key」- 拓扑图边的ID
     */
    public String getKey();

    /**
     * Setter for DB_ETERNAL.G_EDGE.NAME. 「name」- 边的名称
     */
    public IGEdge setName(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.NAME. 「name」- 边的名称
     */
    public String getName();

    /**
     * Setter for DB_ETERNAL.G_EDGE.TYPE. 「type」- 拓扑图边的类型,描述关系本质
     */
    public IGEdge setType(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.TYPE. 「type」- 拓扑图边的类型,描述关系本质
     */
    public String getType();

    /**
     * Setter for DB_ETERNAL.G_EDGE.SOURCE_KEY. 「sourceKey」- 拓扑图开始节点
     */
    public IGEdge setSourceKey(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.SOURCE_KEY. 「sourceKey」- 拓扑图开始节点
     */
    public String getSourceKey();

    /**
     * Setter for DB_ETERNAL.G_EDGE.TARGET_KEY. 「targetKey」- 拓扑图结束节点
     */
    public IGEdge setTargetKey(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.TARGET_KEY. 「targetKey」- 拓扑图结束节点
     */
    public String getTargetKey();

    /**
     * Setter for DB_ETERNAL.G_EDGE.GRAPHIC_ID. 「graphicId」- 当前关联拓扑图ID
     */
    public IGEdge setGraphicId(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.GRAPHIC_ID. 「graphicId」- 当前关联拓扑图ID
     */
    public String getGraphicId();

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

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

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

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

    /**
     * Setter for DB_ETERNAL.G_EDGE.RECORD_DATA. 「recordData」- 组中存储的数据信息
     */
    public IGEdge setRecordData(String value);

    /**
     * Getter for DB_ETERNAL.G_EDGE.RECORD_DATA. 「recordData」- 组中存储的数据信息
     */
    public String getRecordData();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    default IGEdge fromJson(io.vertx.core.json.JsonObject json) {
        setKey(json.getString("KEY"));
        setName(json.getString("NAME"));
        setType(json.getString("TYPE"));
        setSourceKey(json.getString("SOURCE_KEY"));
        setTargetKey(json.getString("TARGET_KEY"));
        setGraphicId(json.getString("GRAPHIC_ID"));
        setUi(json.getString("UI"));
        setRecordKey(json.getString("RECORD_KEY"));
        setRecordData(json.getString("RECORD_DATA"));
        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());
        json.put("TYPE",getType());
        json.put("SOURCE_KEY",getSourceKey());
        json.put("TARGET_KEY",getTargetKey());
        json.put("GRAPHIC_ID",getGraphicId());
        json.put("UI",getUi());
        json.put("RECORD_KEY",getRecordKey());
        json.put("RECORD_DATA",getRecordData());
        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