Package clips.delegate.directory.filtered

Examples of clips.delegate.directory.filtered.ChildServiceData


                        }
                        else {
                            ServiceToServiceDetails details = new ServiceToServiceDetails(0);
                            details.pserviceId = pservice.getID();
                            details.cserviceId = cservice.getID();
                            ChildServiceData child = new ChildServiceData(details);
                            pservice.getChildServices().append(child);
                        }
                    }
                    else if (code.startsWith("A")) {
                        action = null;
View Full Code Here


        return super.getColumnClass(col);
    }

    @Override
    public Object getValueAt(int row, int col) {
        ChildServiceData childService = childServices.get(row);
        if (col == COL_SERVICE) {
            return childService.getChildService();
        }
        else if (col == COL_OBLIGATORY) {
            return childService.isObligatory();
        }
        else if (col == COL_DESCRIPTION) {
            return childService.getDescription();
        }
        else {
            throw new IllegalArgumentException("Некорректный номер столбца : " + col);
        }
    }
View Full Code Here

    }

    @Override
    public void setValueAt(Object aValue, int row, int col) {
        try {
            ChildServiceData childService = childServices.get(row);
            if (col == COL_OBLIGATORY) {
                childService.setObligatory((Boolean) aValue);
            } else if (col == COL_DESCRIPTION) {
                childService.setDescription(aValue.toString());
            }
            childServices.append(childService);
            fireTableCellUpdated(row, col);
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
View Full Code Here

                    DirectoryServiceItem dsi = (DirectoryServiceItem) s.get(i);
                    details.pserviceId = serviceItem.getID();
                    details.cserviceId = dsi.getID();
                    details.description = "";
                    details.obligatory = false;
                    ChildServiceData dangerService = new ChildServiceData(details);                   
                    serviceItem.getChildServices().append(dangerService);
                }
            }
            setAccServicesTable();
        }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.filtered.ChildServiceData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.