Changeset 5085 for branches/OKBJavaConnector/HLOKBWebClient/src
- Timestamp:
- 12/10/10 20:20:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/wsclient/OKBServiceClient.java
r5084 r5085 2 2 3 3 import java.util.ArrayList; 4 import java.util.HashMap; 4 5 import java.util.List; 5 6 import java.util.Map; 7 import java.util.Set; 6 8 7 9 import at.hl.wsclient.okb.Algorithm; … … 62 64 63 65 public void checkAlgoParamsExists(Long algorithmId, 64 Map<String, Object> algoParams) {66 Map<String, Object> ecjAlgoParams) { 65 67 66 68 List<String> missingParams = new ArrayList<String>(); 67 69 68 ArrayOfAlgorithmParameter allAlgoParams = port.getAlgorithmParameters(algorithmId); 70 ArrayOfAlgorithmParameter hlAlgoParams = port.getAlgorithmParameters(algorithmId); 71 Map<String, Object> hlAlgoParamMap = new HashMap<String, Object>(); 72 73 for (AlgorithmParameter algoParam:hlAlgoParams.getAlgorithmParameter()) { 74 hlAlgoParamMap.put(algoParam.getName().getValue(), null); //value hangs on Experiments 75 } 69 76 70 77 71 for (AlgorithmParameter algoParam:allAlgoParams.getAlgorithmParameter()) { 72 // algoParam. 73 // if (algoParam.getName().getValue()==) 78 String[] ecjparamNames = (String[]) ecjAlgoParams.keySet().toArray(); 79 80 for (int i=0;i<ecjparamNames.length;i++) { 81 if (!hlAlgoParamMap.containsKey(ecjparamNames[i])) { 82 missingParams.add(new String(ecjparamNames[i])); 83 } 74 84 } 75 85
Note: See TracChangeset
for help on using the changeset viewer.