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

net.redpipe.example.wiki.keycloakJooq.jooq.tables.interfaces.IPages Maven / Gradle / Ivy

/*
 * This file is generated by jOOQ.
*/
package net.redpipe.example.wiki.keycloakJooq.jooq.tables.interfaces;


import io.github.jklingsporn.vertx.jooq.async.shared.VertxPojo;

import java.io.Serializable;

import javax.annotation.Generated;


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

    /**
     * Setter for public.pages.id.
     */
    public IPages setId(Integer value);

    /**
     * Getter for public.pages.id.
     */
    public Integer getId();

    /**
     * Setter for public.pages.name.
     */
    public IPages setName(String value);

    /**
     * Getter for public.pages.name.
     */
    public String getName();

    /**
     * Setter for public.pages.content.
     */
    public IPages setContent(String value);

    /**
     * Getter for public.pages.content.
     */
    public String getContent();

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

    /**
     * Load data from another generated Record/POJO implementing the common interface IPages
     */
    public void from(net.redpipe.example.wiki.keycloakJooq.jooq.tables.interfaces.IPages from);

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

    @Override
    default IPages fromJson(io.vertx.core.json.JsonObject json) {
        setId(json.getInteger("id"));
        setName(json.getString("name"));
        setContent(json.getString("content"));
        return this;
    }


    @Override
    default io.vertx.core.json.JsonObject toJson() {
        io.vertx.core.json.JsonObject json = new io.vertx.core.json.JsonObject();
        json.put("id",getId());
        json.put("name",getName());
        json.put("content",getContent());
        return json;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy