public void addService ( InvService service ) { // System.out.println("--add dataset service= "+service.getName()); servicesLocal . add ( service ) ; services . add ( service ) ; // add nested servers for ( InvService nested : service . getServices ( ) ) { services . add ( nested ) ; // System.out.println("--add expanded service= "+nested.getName()); } hashCode = 0 ; }
Add a service to this dataset .