Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/02/10 17:27:24 (14 years ago)
Author:
cneumuel
Message:
  • Made HiveExperiment storable, so that a running HiveExperiment can be disconnected, stored and later resumed. (#1115)
  • Added Log to each JobItem (#1115)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/BusinessObjects/ProjectDto.cs

    r3011 r4133  
    2727using HeuristicLab.DataAccess;
    2828using HeuristicLab.PluginInfrastructure;
     29using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2930
    3031namespace HeuristicLab.Hive.Contracts.BusinessObjects {
    31 
     32  [StorableClass]
    3233  [DataContract]
    3334  [Serializable]
    3435  public class ProjectDto : PersistableObject {
     36    [Storable]
    3537    [DataMember]
    3638    public String Name { get; set; }
     39
     40    public override Common.IDeepCloneable Clone(Common.Cloner cloner) {
     41      ProjectDto clone = (ProjectDto) base.Clone(cloner);
     42      clone.Name = this.Name;
     43      return clone;
     44    }
    3745  }
    3846}
Note: See TracChangeset for help on using the changeset viewer.