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

com.infomaximum.database.schema.dbstruct.DBObject Maven / Gradle / Ivy

The newest version!
package com.infomaximum.database.schema.dbstruct;

import net.minidev.json.JSONObject;

public abstract class DBObject {

    static final String JSON_PROP_ID = "id";

    private int id;

    DBObject(int id) {
        this.id = id;
    }

    void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    abstract JSONObject toJson();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy