private void loadFrom(HL7ApplicationInfo hl7AppInfo, Attributes attrs, String deviceName) throws NamingException, ConfigurationException { hl7AppInfo.setDeviceName(deviceName); hl7AppInfo.setHl7ApplicationName( LdapUtils.stringValue(attrs.get("hl7ApplicationName"), null)); hl7AppInfo.setHl7OtherApplicationName( LdapUtils.stringArray(attrs.get("hl7OtherApplicationName"))); hl7AppInfo.setDescription( LdapUtils.stringValue(attrs.get("dicomDescription"), null)); hl7AppInfo.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); hl7AppInfo.setInstalled( LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) hl7AppInfo.getConnections().add(config.findConnection(connDN)); }
private void loadFrom(WebApplicationInfo webappInfo, Attributes attrs, String deviceName) throws NamingException { webappInfo.setDeviceName(deviceName); webappInfo.setApplicationName(LdapUtils.stringValue(attrs.get("dcmWebAppName"), null)); webappInfo.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webappInfo.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webappInfo.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webappInfo.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webappInfo.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webappInfo.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) webappInfo.getConnections().add(findConnection(connDN)); }
private void loadFrom(WebApplicationInfo webappInfo, Attributes attrs, String deviceName) throws NamingException { webappInfo.setDeviceName(deviceName); webappInfo.setApplicationName(LdapUtils.stringValue(attrs.get("dcmWebAppName"), null)); webappInfo.setDescription(LdapUtils.stringValue(attrs.get("dicomDescription"), null)); webappInfo.setServicePath(LdapUtils.stringValue(attrs.get("dcmWebServicePath"), null)); webappInfo.setServiceClasses(LdapUtils.enumArray(WebApplication.ServiceClass.class, attrs.get("dcmWebServiceClass"))); webappInfo.setAETitle(LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); webappInfo.setApplicationClusters(LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); webappInfo.setInstalled(LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) webappInfo.getConnections().add(findConnection(connDN)); }
private void loadFrom(ApplicationEntityInfo aetInfo, Attributes attrs, String deviceName) throws NamingException { aetInfo.setDeviceName(deviceName); aetInfo.setAETitle( LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); aetInfo.setOtherAETitle( LdapUtils.stringArray(attrs.get("dcmOtherAETitle"))); aetInfo.setDescription( LdapUtils.stringValue(attrs.get("dicomDescription"), null)); aetInfo.setAssociationInitiator( LdapUtils.booleanValue(attrs.get("dicomAssociationInitiator"), true)); aetInfo.setAssociationAcceptor( LdapUtils.booleanValue(attrs.get("dicomAssociationAcceptor"), true)); aetInfo.setInstalled( LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); aetInfo.setApplicationClusters( LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); aetInfo.setHl7ApplicationName( LdapUtils.stringValue(attrs.get("hl7ApplicationName"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) aetInfo.getConnections().add(findConnection(connDN)); }
private void loadFrom(ApplicationEntityInfo aetInfo, Attributes attrs, String deviceName) throws NamingException { aetInfo.setDeviceName(deviceName); aetInfo.setAETitle( LdapUtils.stringValue(attrs.get("dicomAETitle"), null)); aetInfo.setOtherAETitle( LdapUtils.stringArray(attrs.get("dcmOtherAETitle"))); aetInfo.setDescription( LdapUtils.stringValue(attrs.get("dicomDescription"), null)); aetInfo.setAssociationInitiator( LdapUtils.booleanValue(attrs.get("dicomAssociationInitiator"), true)); aetInfo.setAssociationAcceptor( LdapUtils.booleanValue(attrs.get("dicomAssociationAcceptor"), true)); aetInfo.setInstalled( LdapUtils.booleanValue(attrs.get("dicomInstalled"), null)); aetInfo.setApplicationClusters( LdapUtils.stringArray(attrs.get("dicomApplicationCluster"))); aetInfo.setHl7ApplicationName( LdapUtils.stringValue(attrs.get("hl7ApplicationName"), null)); for (String connDN : LdapUtils.stringArray(attrs.get("dicomNetworkConnectionReference"))) aetInfo.getConnections().add(findConnection(connDN)); }