Changeset 5256 for branches/OKBJavaConnector
- Timestamp:
- 01/08/11 14:38:18 (14 years ago)
- Location:
- branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/impl/ECJ19ConnectorImpl.java
r5255 r5256 8 8 import java.util.Set; 9 9 10 import com.sun.codemodel.writer.PrologCodeWriter;11 12 10 import at.hl.okb.ECJConnectorState; 13 11 import at.hl.okb.IECJConnector; 14 import at.hl.okb.wsclient.OKBClientTest;15 12 import at.hl.okb.wsclient.OKBServiceClient; 16 import at.hl.wsclient.okb.Algorithm;17 import at.hl.wsclient.okb.AlgorithmParameter;18 13 19 14 /** … … 71 66 72 67 } 73 74 // @Override75 // public Map<String, AlgorithmParameter> initializeAlgorithm(76 // String algorithmName, String algorithmClassName, String platformName,77 // Iterable<String> algorithmParameterName) throws Exception {78 //79 // Long platformId = okbClient.getPlatformId(platformName);80 // if (platformId==null)81 // throw new Exception("Platform " + platformName + " not found in HL!");82 //83 //// Long algorithmClassId = okbClient.getAlgorithmClassId(algorithmClassName);84 //// if (algorithmClassId==null)85 //// throw new Exception("AlgorithmClass " + platformName + " not found in HL!");86 //87 // Long algorithmId = okbClient.getAlgorithmId(algorithmName, /*algorithmClassId*/ platformId);88 // if (algorithmId==null)89 // throw new Exception("Algorithm " + algorithmName + " not found in HL!");90 //91 //92 //93 // return null;94 //95 // }96 68 } -
branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/wsclient/OKBServiceClient.java
r5255 r5256 168 168 .createNamedOKBItemDescription("created from ECJ")); 169 169 newAlgoParam.setName(factory 170 .createNamedOKBItem Description(paramname));170 .createNamedOKBItemName(paramname)); 171 171 port.addAlgorithmParameter(newAlgoParam); 172 172 } … … 187 187 .createNamedOKBItemDescription("created from ECJ")); 188 188 newProblemParam.setName(factory 189 .createNamedOKBItem Description(paramname));189 .createNamedOKBItemName(paramname)); 190 190 port.addProblemParameter(newProblemParam); 191 191 }
Note: See TracChangeset
for help on using the changeset viewer.