Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/11 14:38:18 (14 years ago)
Author:
mholper
Message:

fixed .createNamedOKBItemDescription

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  
    88import java.util.Set;
    99
    10 import com.sun.codemodel.writer.PrologCodeWriter;
    11 
    1210import at.hl.okb.ECJConnectorState;
    1311import at.hl.okb.IECJConnector;
    14 import at.hl.okb.wsclient.OKBClientTest;
    1512import at.hl.okb.wsclient.OKBServiceClient;
    16 import at.hl.wsclient.okb.Algorithm;
    17 import at.hl.wsclient.okb.AlgorithmParameter;
    1813
    1914/**
     
    7166   
    7267  }
    73 
    74 //  @Override
    75 //  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 //  }
    9668}
  • branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/wsclient/OKBServiceClient.java

    r5255 r5256  
    168168          .createNamedOKBItemDescription("created from ECJ"));
    169169      newAlgoParam.setName(factory
    170           .createNamedOKBItemDescription(paramname));
     170          .createNamedOKBItemName(paramname));
    171171      port.addAlgorithmParameter(newAlgoParam);
    172172    }
     
    187187          .createNamedOKBItemDescription("created from ECJ"));
    188188      newProblemParam.setName(factory
    189           .createNamedOKBItemDescription(paramname));
     189          .createNamedOKBItemName(paramname));
    190190      port.addProblemParameter(newProblemParam);
    191191    }
Note: See TracChangeset for help on using the changeset viewer.