...
Code Block |
---|
DWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustomgetDWHServerPort(); ArrayList<ObjectParameters> pl10 = new ArrayList<ObjectParameters>(); ObjectParameters op100 = new ObjectParameters(); op100.setKfsFiscalYear("2012"); op100.setKfsChartCode("MC"); op100.setKfsObjCode("1100"); ObjectParameters op101 = new ObjectParameters(); op101.setKfsFiscalYear("2012"); op101.setKfsChartCode("IR"); op101.setKfsObjCode("CASH"); ObjectParameters op102 = new ObjectParameters(); op102.setKfsFiscalYear("2013"); op102.setKfsChartCode("IR"); op102.setKfsObjCode("CASH"); pl10.add(op100); pl10.add(op101); pl10.add(op102); List<ObjectValidation> resultList10 = ds.isValidKFSObjects(pl10); if (resultList10 != null) { for (Iterator i = resultList10.iterator(); i.hasNext();) { ObjectValidation element = (ObjectValidation) i.next(); System.out.println("isValidObj-FiscalYr / ChartCode / ObjCode : isValid" + element.getKfsFiscalYear() + "/" + element.getKfsChartCode() + "/" + element.getKfsObjCode() + " : " + element.isValid()); } } else { System.out.println("something bad happened...please check your query"); } |
...
Code Block |
---|
DWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustomgetDWHServerPort(); ArrayList<ObjectParameters> pl10 = new ArrayList<ObjectParameters>(); ObjectParameters op100 = new ObjectParameters(); op100.setKfsFiscalYear("2012"); op100.setKfsChartCode("MC"); op100.setKfsObjCode("1100"); ObjectParameters op101 = new ObjectParameters(); op101.setKfsFiscalYear("2012"); op101.setKfsChartCode("IR"); op101.setKfsObjCode("CASH"); ObjectParameters op102 = new ObjectParameters(); op102.setKfsFiscalYear("2013"); op102.setKfsChartCode("IR"); op102.setKfsObjCode("CASH"); pl10.add(op100); pl10.add(op101); pl10.add(op102); List<ObjectDetails> resultList11 = ds.getValidKFSObjects(pl10); if (resultList10 != null) { for (Iterator i = resultList11.iterator(); i.hasNext();) { ObjectDetails element = (ObjectDetails) i.next(); System.out.println("getValidObj-FiscalYr / ChartCode / ObjCode : ObjCodeName" + element.getKfsFiscalYear() + "/" + element.getKfsChartCode() + "/" + element.getKfsObjCode() + " : " + element.getKfsObjCodeName()); } } else { System.out.println("something bad happened...please check your query"); } |
...
Code Block |
---|
DWHServerService dss = new DWHServerService(); DWHServer ds = dss.getDWHServerPortCustomgetDWHServerPort(); List<ObjectDetails> resultList11 = ds.getAllKFSObjects(); if (resultList11 != null) { System.out.println("getAllObj-total size: " + resultList11.size()); System.out.println("getAllObj-1st item FiscalYr / ChartCode / ObjCode: " + ((ObjectDetails)resultList11.get(0)).getKfsFiscalYear() + " / " + ((ObjectDetails)resultList11.get(0)).getKfsChartCode() + " / " + ((ObjectDetails)resultList11.get(0)).getKfsObjCode()); } else { System.out.println("something bad happened...please check your query"); } |
...