@@ -0,0 +1,1569 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0Apackage test;%0A%0Aimport data.Cell;%0Aimport data.DataSet;%0Aimport data.Table;%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0A/**%0A *%0A * @author pokotyamu%0A */%0Apublic class TestMain %7B%0A    public static void main(String%5B%5D args) %7B%0A        Table tb = new Table();%0A        DataSet ds = new DataSet(%22test%22);%0A        DataSet ds2 = new DataSet(%22piyo%22);%0A        DataSet rowDS = new DataSet(%22400%22);%0A        DataSet rowDS2 = new DataSet(%22401%22);%0A%0A        tb.addCol(ds);%0A        tb.addCol(ds2);%0A        tb.addKey(rowDS);%0A        %0A        ds.addDataType(%22PLAN%22);%0A        ds.addDataType(%22REVIEW%22);%0A%0A        ds2.addDataType(%22PLAN%22);%0A        ds2.addDataType(%22REVIEW%22);%0A        %0A        rowDS.addDataType(%22ProjectID%22);%0A        rowDS.addDataType(%22Interim%22);%0A%0A        Cell c1 = new Cell(100);%0A        Cell c2 = new Cell(120);%0A        ds.addCell(c1);%0A        ds2.addCell(c2);%0A        rowDS.addCell(c1);%0A        rowDS.addCell(c2);%0A%0A        List%3CString%3E list = new ArrayList%3C%3E();%0A        list.add(%22PLAN%22);list.add(%22REVIEW%22);%0A%0A        List%3CString%3E list1 = new ArrayList%3C%3E();%0A        list1.add(%22ProjectID%22);%0A%0A        System.out.println(tb.getColDataSets(list));%0A        DataSet dss = tb.getKeyDataSet(%22400%22,list1);%0A        System.out.println(dss);%0A        c2.setValue(200000);%0A        System.out.println(%22--------%22);%0A        System.out.println(tb.getColDataSets(list));%0A        System.out.println(dss);%0A    %7D%0A%7D%0A

add testMain