Last change
on this file since 4133 was
4133,
checked in by cneumuel, 14 years ago
|
- Made HiveExperiment storable, so that a running HiveExperiment can be disconnected, stored and later resumed. (#1115)
- Added Log to each JobItem (#1115)
|
File size:
898 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Runtime.Serialization;
|
---|
6 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
7 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Hive.Contracts {
|
---|
10 | [StorableClass]
|
---|
11 | public class ResponseCalendar : Response {
|
---|
12 | [Storable]
|
---|
13 | [DataMember]
|
---|
14 | public bool ForceFetch { get; set; }
|
---|
15 | [Storable]
|
---|
16 | [DataMember]
|
---|
17 | public IEnumerable<AppointmentDto> Appointments { get; set; }
|
---|
18 |
|
---|
19 | public override Common.IDeepCloneable Clone(Common.Cloner cloner) {
|
---|
20 | ResponseCalendar clone = (ResponseCalendar) base.Clone(cloner);
|
---|
21 | clone.Appointments = (from a in this.Appointments
|
---|
22 | select (AppointmentDto)cloner.Clone(a)).ToList();
|
---|
23 | clone.ForceFetch = this.ForceFetch;
|
---|
24 | return clone;
|
---|
25 | }
|
---|
26 | }
|
---|
27 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.