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

src.main.java.com.vincomobile.fw.basic.JSONTable Maven / Gradle / Ivy

There is a newer version: 5.1.0-RELEASE
Show newest version
package com.vincomobile.fw.basic;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * Created by yokiro on 04/11/2015.
 */
public class JSONTable {

    private String tableName;
    List> rows;

    public JSONTable(){
        this.rows = new ArrayList<>();
    }

    public JSONTable(String tableName){
        this.tableName = tableName;
        this.rows = new ArrayList<>();
    }

    public List> getRows(){
        return this.rows;
    }

    public void addRows(HashMap row){
        this.rows.add(row);
    }

    public void setTableName(String tableName){
        this.tableName = tableName;
    }

    public  String getTableName(){
        return this.tableName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy