Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/07/10 01:49:31 (14 years ago)
Author:
swagner
Message:

Worked on OKB (#1174)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB/HeuristicLab.Clients.OKB-3.3/ServiceClients/OKBServiceClient.cs

    r4548 r4566  
    1010
    1111namespace HeuristicLab.Clients.OKB {
    12 
    13 
    14   [System.Diagnostics.DebuggerStepThroughAttribute()]
    15   [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    16   [System.Runtime.Serialization.DataContractAttribute(Name = "ProblemClass", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
    17   public partial class ProblemClass : HeuristicLab.Clients.OKB.NamedOKBItem {
    18   }
     12  using System.Runtime.Serialization;
     13
    1914
    2015  [System.Diagnostics.DebuggerStepThroughAttribute()]
     
    2318  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.DataType))]
    2419  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.NamedOKBItem))]
     20  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.AlgorithmParameter))]
     21  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemClass))]
    2522  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Problem))]
     23  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemParameter))]
    2624  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Platform))]
    2725  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.AlgorithmClass))]
    2826  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Algorithm))]
    29   [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemClass))]
     27  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Result))]
    3028  public partial class OKBItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
    3129
     
    113111  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    114112  [System.Runtime.Serialization.DataContractAttribute(Name = "NamedOKBItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
     113  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.AlgorithmParameter))]
     114  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemClass))]
    115115  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Problem))]
     116  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemParameter))]
    116117  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Platform))]
    117118  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.AlgorithmClass))]
    118119  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Algorithm))]
    119   [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.ProblemClass))]
     120  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.Result))]
    120121  public partial class NamedOKBItem : HeuristicLab.Clients.OKB.OKBItem {
    121122
     
    153154  [System.Diagnostics.DebuggerStepThroughAttribute()]
    154155  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     156  [System.Runtime.Serialization.DataContractAttribute(Name = "AlgorithmParameter", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
     157  public partial class AlgorithmParameter : HeuristicLab.Clients.OKB.NamedOKBItem {
     158
     159    private long AlgorithmIdField;
     160
     161    private string AliasField;
     162
     163    private long DataTypeIdField;
     164
     165    [System.Runtime.Serialization.DataMemberAttribute()]
     166    public long AlgorithmId {
     167      get {
     168        return this.AlgorithmIdField;
     169      }
     170      set {
     171        if ((this.AlgorithmIdField.Equals(value) != true)) {
     172          this.AlgorithmIdField = value;
     173          this.RaisePropertyChanged("AlgorithmId");
     174        }
     175      }
     176    }
     177
     178    [System.Runtime.Serialization.DataMemberAttribute()]
     179    public string Alias {
     180      get {
     181        return this.AliasField;
     182      }
     183      set {
     184        if ((object.ReferenceEquals(this.AliasField, value) != true)) {
     185          this.AliasField = value;
     186          this.RaisePropertyChanged("Alias");
     187        }
     188      }
     189    }
     190
     191    [System.Runtime.Serialization.DataMemberAttribute()]
     192    public long DataTypeId {
     193      get {
     194        return this.DataTypeIdField;
     195      }
     196      set {
     197        if ((this.DataTypeIdField.Equals(value) != true)) {
     198          this.DataTypeIdField = value;
     199          this.RaisePropertyChanged("DataTypeId");
     200        }
     201      }
     202    }
     203  }
     204
     205  [System.Diagnostics.DebuggerStepThroughAttribute()]
     206  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     207  [System.Runtime.Serialization.DataContractAttribute(Name = "ProblemClass", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
     208  public partial class ProblemClass : HeuristicLab.Clients.OKB.NamedOKBItem {
     209  }
     210
     211  [System.Diagnostics.DebuggerStepThroughAttribute()]
     212  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    155213  [System.Runtime.Serialization.DataContractAttribute(Name = "Problem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
    156214  public partial class Problem : HeuristicLab.Clients.OKB.NamedOKBItem {
     
    189247  [System.Diagnostics.DebuggerStepThroughAttribute()]
    190248  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     249  [System.Runtime.Serialization.DataContractAttribute(Name = "ProblemParameter", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
     250  public partial class ProblemParameter : HeuristicLab.Clients.OKB.NamedOKBItem {
     251
     252    private string AliasField;
     253
     254    private long DataTypeIdField;
     255
     256    private long ProblemIdField;
     257
     258    [System.Runtime.Serialization.DataMemberAttribute()]
     259    public string Alias {
     260      get {
     261        return this.AliasField;
     262      }
     263      set {
     264        if ((object.ReferenceEquals(this.AliasField, value) != true)) {
     265          this.AliasField = value;
     266          this.RaisePropertyChanged("Alias");
     267        }
     268      }
     269    }
     270
     271    [System.Runtime.Serialization.DataMemberAttribute()]
     272    public long DataTypeId {
     273      get {
     274        return this.DataTypeIdField;
     275      }
     276      set {
     277        if ((this.DataTypeIdField.Equals(value) != true)) {
     278          this.DataTypeIdField = value;
     279          this.RaisePropertyChanged("DataTypeId");
     280        }
     281      }
     282    }
     283
     284    [System.Runtime.Serialization.DataMemberAttribute()]
     285    public long ProblemId {
     286      get {
     287        return this.ProblemIdField;
     288      }
     289      set {
     290        if ((this.ProblemIdField.Equals(value) != true)) {
     291          this.ProblemIdField = value;
     292          this.RaisePropertyChanged("ProblemId");
     293        }
     294      }
     295    }
     296  }
     297
     298  [System.Diagnostics.DebuggerStepThroughAttribute()]
     299  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    191300  [System.Runtime.Serialization.DataContractAttribute(Name = "Platform", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
    192301  public partial class Platform : HeuristicLab.Clients.OKB.NamedOKBItem {
     
    230339          this.PlatformIdField = value;
    231340          this.RaisePropertyChanged("PlatformId");
     341        }
     342      }
     343    }
     344  }
     345
     346  [System.Diagnostics.DebuggerStepThroughAttribute()]
     347  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     348  [System.Runtime.Serialization.DataContractAttribute(Name = "Result", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.DataTransfer")]
     349  public partial class Result : HeuristicLab.Clients.OKB.NamedOKBItem {
     350
     351    private long AlgorithmIdField;
     352
     353    private string AliasField;
     354
     355    private long DataTypeIdField;
     356
     357    [System.Runtime.Serialization.DataMemberAttribute()]
     358    public long AlgorithmId {
     359      get {
     360        return this.AlgorithmIdField;
     361      }
     362      set {
     363        if ((this.AlgorithmIdField.Equals(value) != true)) {
     364          this.AlgorithmIdField = value;
     365          this.RaisePropertyChanged("AlgorithmId");
     366        }
     367      }
     368    }
     369
     370    [System.Runtime.Serialization.DataMemberAttribute()]
     371    public string Alias {
     372      get {
     373        return this.AliasField;
     374      }
     375      set {
     376        if ((object.ReferenceEquals(this.AliasField, value) != true)) {
     377          this.AliasField = value;
     378          this.RaisePropertyChanged("Alias");
     379        }
     380      }
     381    }
     382
     383    [System.Runtime.Serialization.DataMemberAttribute()]
     384    public long DataTypeId {
     385      get {
     386        return this.DataTypeIdField;
     387      }
     388      set {
     389        if ((this.DataTypeIdField.Equals(value) != true)) {
     390          this.DataTypeIdField = value;
     391          this.RaisePropertyChanged("DataTypeId");
    232392        }
    233393      }
     
    381541  public interface IOKBService {
    382542
     543    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/AddResult", ReplyAction = "http://tempuri.org/IOKBService/AddResultResponse")]
     544    long AddResult(HeuristicLab.Clients.OKB.Result dto);
     545
     546    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/UpdateResult", ReplyAction = "http://tempuri.org/IOKBService/UpdateResultResponse")]
     547    void UpdateResult(HeuristicLab.Clients.OKB.Result dto);
     548
     549    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/DeleteResult", ReplyAction = "http://tempuri.org/IOKBService/DeleteResultResponse")]
     550    void DeleteResult(long id);
     551
     552    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetAlgorithmParameters", ReplyAction = "http://tempuri.org/IOKBService/GetAlgorithmParametersResponse")]
     553    HeuristicLab.Clients.OKB.AlgorithmParameter[] GetAlgorithmParameters(long algorithmId);
     554
     555    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/AddAlgorithmParameter", ReplyAction = "http://tempuri.org/IOKBService/AddAlgorithmParameterResponse")]
     556    long AddAlgorithmParameter(HeuristicLab.Clients.OKB.AlgorithmParameter dto);
     557
     558    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/UpdateAlgorithmParameter", ReplyAction = "http://tempuri.org/IOKBService/UpdateAlgorithmParameterResponse")]
     559    void UpdateAlgorithmParameter(HeuristicLab.Clients.OKB.AlgorithmParameter dto);
     560
     561    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/DeleteAlgorithmParameter", ReplyAction = "http://tempuri.org/IOKBService/DeleteAlgorithmParameterResponse")]
     562    void DeleteAlgorithmParameter(long id);
     563
     564    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetProblemClass", ReplyAction = "http://tempuri.org/IOKBService/GetProblemClassResponse")]
     565    HeuristicLab.Clients.OKB.ProblemClass GetProblemClass(long id);
     566
    383567    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetProblemClasses", ReplyAction = "http://tempuri.org/IOKBService/GetProblemClassesResponse")]
    384568    HeuristicLab.Clients.OKB.ProblemClass[] GetProblemClasses();
     
    420604    void UpdateProblemData(HeuristicLab.Clients.OKB.ProblemData dto);
    421605
     606    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetProblemParameter", ReplyAction = "http://tempuri.org/IOKBService/GetProblemParameterResponse")]
     607    HeuristicLab.Clients.OKB.ProblemParameter GetProblemParameter(long id);
     608
     609    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetProblemParameters", ReplyAction = "http://tempuri.org/IOKBService/GetProblemParametersResponse")]
     610    HeuristicLab.Clients.OKB.ProblemParameter[] GetProblemParameters(long problemId);
     611
     612    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/AddProblemParameter", ReplyAction = "http://tempuri.org/IOKBService/AddProblemParameterResponse")]
     613    long AddProblemParameter(HeuristicLab.Clients.OKB.ProblemParameter dto);
     614
     615    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/UpdateProblemParameter", ReplyAction = "http://tempuri.org/IOKBService/UpdateProblemParameterResponse")]
     616    void UpdateProblemParameter(HeuristicLab.Clients.OKB.ProblemParameter dto);
     617
     618    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/DeleteProblemParameter", ReplyAction = "http://tempuri.org/IOKBService/DeleteProblemParameterResponse")]
     619    void DeleteProblemParameter(long id);
     620
     621    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetResult", ReplyAction = "http://tempuri.org/IOKBService/GetResultResponse")]
     622    HeuristicLab.Clients.OKB.Result GetResult(long id);
     623
     624    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetResults", ReplyAction = "http://tempuri.org/IOKBService/GetResultsResponse")]
     625    HeuristicLab.Clients.OKB.Result[] GetResults(long algorithmId);
     626
    422627    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetPlatform", ReplyAction = "http://tempuri.org/IOKBService/GetPlatformResponse")]
    423628    HeuristicLab.Clients.OKB.Platform GetPlatform(long id);
     
    492697    void UpdateAlgorithmData(HeuristicLab.Clients.OKB.AlgorithmData dto);
    493698
    494     [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetProblemClass", ReplyAction = "http://tempuri.org/IOKBService/GetProblemClassResponse")]
    495     HeuristicLab.Clients.OKB.ProblemClass GetProblemClass(long id);
     699    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IOKBService/GetAlgorithmParameter", ReplyAction = "http://tempuri.org/IOKBService/GetAlgorithmParameterResponse")]
     700    HeuristicLab.Clients.OKB.AlgorithmParameter GetAlgorithmParameter(long id);
    496701  }
    497702
     
    523728    }
    524729
     730    public long AddResult(HeuristicLab.Clients.OKB.Result dto) {
     731      return base.Channel.AddResult(dto);
     732    }
     733
     734    public void UpdateResult(HeuristicLab.Clients.OKB.Result dto) {
     735      base.Channel.UpdateResult(dto);
     736    }
     737
     738    public void DeleteResult(long id) {
     739      base.Channel.DeleteResult(id);
     740    }
     741
     742    public HeuristicLab.Clients.OKB.AlgorithmParameter[] GetAlgorithmParameters(long algorithmId) {
     743      return base.Channel.GetAlgorithmParameters(algorithmId);
     744    }
     745
     746    public long AddAlgorithmParameter(HeuristicLab.Clients.OKB.AlgorithmParameter dto) {
     747      return base.Channel.AddAlgorithmParameter(dto);
     748    }
     749
     750    public void UpdateAlgorithmParameter(HeuristicLab.Clients.OKB.AlgorithmParameter dto) {
     751      base.Channel.UpdateAlgorithmParameter(dto);
     752    }
     753
     754    public void DeleteAlgorithmParameter(long id) {
     755      base.Channel.DeleteAlgorithmParameter(id);
     756    }
     757
     758    public HeuristicLab.Clients.OKB.ProblemClass GetProblemClass(long id) {
     759      return base.Channel.GetProblemClass(id);
     760    }
     761
    525762    public HeuristicLab.Clients.OKB.ProblemClass[] GetProblemClasses() {
    526763      return base.Channel.GetProblemClasses();
     
    575812    }
    576813
     814    public HeuristicLab.Clients.OKB.ProblemParameter GetProblemParameter(long id) {
     815      return base.Channel.GetProblemParameter(id);
     816    }
     817
     818    public HeuristicLab.Clients.OKB.ProblemParameter[] GetProblemParameters(long problemId) {
     819      return base.Channel.GetProblemParameters(problemId);
     820    }
     821
     822    public long AddProblemParameter(HeuristicLab.Clients.OKB.ProblemParameter dto) {
     823      return base.Channel.AddProblemParameter(dto);
     824    }
     825
     826    public void UpdateProblemParameter(HeuristicLab.Clients.OKB.ProblemParameter dto) {
     827      base.Channel.UpdateProblemParameter(dto);
     828    }
     829
     830    public void DeleteProblemParameter(long id) {
     831      base.Channel.DeleteProblemParameter(id);
     832    }
     833
     834    public HeuristicLab.Clients.OKB.Result GetResult(long id) {
     835      return base.Channel.GetResult(id);
     836    }
     837
     838    public HeuristicLab.Clients.OKB.Result[] GetResults(long algorithmId) {
     839      return base.Channel.GetResults(algorithmId);
     840    }
     841
    577842    public HeuristicLab.Clients.OKB.Platform GetPlatform(long id) {
    578843      return base.Channel.GetPlatform(id);
     
    671936    }
    672937
    673     public HeuristicLab.Clients.OKB.ProblemClass GetProblemClass(long id) {
    674       return base.Channel.GetProblemClass(id);
     938    public HeuristicLab.Clients.OKB.AlgorithmParameter GetAlgorithmParameter(long id) {
     939      return base.Channel.GetAlgorithmParameter(id);
    675940    }
    676941  }
Note: See TracChangeset for help on using the changeset viewer.