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

net.redpipe.example.wiki.keycloakJooq.jooq.tables.pojos.Pages Maven / Gradle / Ivy

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


import javax.annotation.Generated;

import net.redpipe.example.wiki.keycloakJooq.jooq.tables.interfaces.IPages;


/**
 * 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 class Pages implements IPages {

    private static final long serialVersionUID = -1196967214;

    private Integer id;
    private String  name;
    private String  content;

    public Pages() {}

    public Pages(Pages value) {
        this.id = value.id;
        this.name = value.name;
        this.content = value.content;
    }

    public Pages(
        Integer id,
        String  name,
        String  content
    ) {
        this.id = id;
        this.name = name;
        this.content = content;
    }

    @Override
    public Integer getId() {
        return this.id;
    }

    @Override
    public Pages setId(Integer id) {
        this.id = id;
        return this;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public Pages setName(String name) {
        this.name = name;
        return this;
    }

    @Override
    public String getContent() {
        return this.content;
    }

    @Override
    public Pages setContent(String content) {
        this.content = content;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder("Pages (");

        sb.append(id);
        sb.append(", ").append(name);
        sb.append(", ").append(content);

        sb.append(")");
        return sb.toString();
    }

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

    /**
     * {@inheritDoc}
     */
    @Override
    public void from(IPages from) {
        setId(from.getId());
        setName(from.getName());
        setContent(from.getContent());
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public  E into(E into) {
        into.from(this);
        return into;
    }

    public Pages(io.vertx.core.json.JsonObject json) {
        fromJson(json);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy