public void createNetworkAE() throws ConfigurationException { Device device = new Device(deviceName != null ? deviceName : aeTitle.toLowerCase()); device.setDescription(deviceDesc); if (deviceType != null) { device.setPrimaryDeviceTypes(deviceType); } device.addConnection(conn); ApplicationEntity ae = new ApplicationEntity(aeTitle); device.addApplicationEntity(ae); ae.setDescription(aeDesc); ae.addConnection(conn); conf.persist(device, EnumSet.of(DicomConfiguration.Option.REGISTER)); }
public void createNetworkAE() throws ConfigurationException { Device device = new Device(deviceName != null ? deviceName : aeTitle.toLowerCase()); device.setDescription(deviceDesc); if (deviceType != null) { device.setPrimaryDeviceTypes(deviceType); } device.addConnection(conn); ApplicationEntity ae = new ApplicationEntity(aeTitle); device.addApplicationEntity(ae); ae.setDescription(aeDesc); ae.addConnection(conn); conf.persist(device, EnumSet.of(DicomConfiguration.Option.REGISTER)); }
private void loadFrom(Device device, Attributes attrs) throws NamingException, CertificateException { device.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); device.setDeviceUID(LdapUtils.stringValue(attrs.get("dicomDeviceUID"), null)); device.setManufacturer(LdapUtils.stringValue(attrs.get("dicomManufacturer"), null));
private void loadFrom(Device device, Attributes attrs) throws NamingException, CertificateException { device.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); device.setDeviceUID(LdapUtils.stringValue(attrs.get("dicomDeviceUID"), null)); device.setManufacturer(LdapUtils.stringValue(attrs.get("dicomManufacturer"), null));
protected void setDeviceAttributes(Device from) { setDescription(from.description); setDeviceUID(from.deviceUID); setManufacturer(from.manufacturer);
protected void setDeviceAttributes(Device from) { setDescription(from.description); setDeviceUID(from.deviceUID); setManufacturer(from.manufacturer);
break; case "dicomDescription": device.setDescription(reader.stringValue()); break; case "dicomDeviceUID":
break; case "dicomDescription": device.setDescription(reader.stringValue()); break; case "dicomDeviceUID":