Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionComparisonConstraint.cs

    r16453 r16462  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Optimization {
    30   [StorableClass]
     30  [StorableType("655E544A-F75E-4020-BA97-F511CB4D059F")]
    3131  [Item("RunCollectionComparisonConstraint", "A constraint which compares the members of the contained runs with the constraint data.")]
    3232  public class RunCollectionComparisonConstraint : ComparisonConstraint, IRunCollectionColumnConstraint {
    3333    [StorableConstructor]
    34     protected RunCollectionComparisonConstraint(bool deserializing) : base(deserializing) { }
     34    protected RunCollectionComparisonConstraint(StorableConstructorFlag _) : base(_) { }
    3535
    3636    protected RunCollectionComparisonConstraint(RunCollectionComparisonConstraint original, Cloner cloner)
  • branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionConstraintCollection.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Optimization {
    27   [StorableClass]
     27  [StorableType("39066245-2B02-4B41-BEA3-158A4E21FCC1")]
    2828  [Item("RunCollectionConstraintCollection", "Represents a collection of constraints.")]
    2929  public class RunCollectionConstraintCollection : ItemCollection<IRunCollectionConstraint> {
     
    3232    public RunCollectionConstraintCollection(IEnumerable<IRunCollectionConstraint> collection) : base(collection) { }
    3333    [StorableConstructor]
    34     protected RunCollectionConstraintCollection(bool deserializing) : base(deserializing) { }
     34    protected RunCollectionConstraintCollection(StorableConstructorFlag _) : base(_) { }
    3535    protected RunCollectionConstraintCollection(RunCollectionConstraintCollection original, Cloner cloner)
    3636      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionContentConstraint.cs

    r16453 r16462  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Optimization {
    30   [StorableClass]
     30  [StorableType("E155F5BA-C93F-43F2-A513-A79AEF8F0043")]
    3131  public class RunCollectionContentConstraint : Constraint, IRunCollectionConstraint {
    3232    public new RunCollection ConstrainedValue {
     
    4545
    4646    [StorableConstructor]
    47     protected RunCollectionContentConstraint(bool deserializing) : base(deserializing) { }
     47    protected RunCollectionContentConstraint(StorableConstructorFlag _) : base(_) { }
    4848    [StorableHook(HookType.AfterDeserialization)]
    4949    private void AfterDeserialization() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionEqualityConstraint.cs

    r16453 r16462  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Optimization {
    30   [StorableClass]
     30  [StorableType("FF40D38E-3F80-4448-A1AE-94B556EF2B9D")]
    3131  [Item("RunCollectionEqualityConstraint", "A constraint which checks the members of the contained runs for equality to the constraint data.")]
    3232  public class RunCollectionEqualityConstraint : EqualityConstraint, IRunCollectionColumnConstraint {
    3333    [StorableConstructor]
    34     protected RunCollectionEqualityConstraint(bool deserializing) : base(deserializing) { }
     34    protected RunCollectionEqualityConstraint(StorableConstructorFlag _) : base(_) { }
    3535
    3636    protected RunCollectionEqualityConstraint(RunCollectionEqualityConstraint original, Cloner cloner)
  • branches/2520_PersistenceReintegration/HeuristicLab.Optimization/3.3/RunCollectionConstraints/RunCollectionTypeCompatiblityConstraint.cs

    r16453 r16462  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Data;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Optimization {
    30   [StorableClass]
     30  [StorableType("3B3B486C-0552-4B0D-978D-813E71E21B79")]
    3131  [Item("RunCollectionTypeCompatibilityConstraint", "A constraint which checks the members of the contained runs for type compabitiliby to the constraint data.")]
    3232  public class RunCollectionTypeCompatibilityConstraint : TypeCompatibilityConstraint, IRunCollectionColumnConstraint {
    3333    [StorableConstructor]
    34     protected RunCollectionTypeCompatibilityConstraint(bool deserializing) {
     34    protected RunCollectionTypeCompatibilityConstraint(StorableConstructorFlag _) : base(_) {
    3535    }
    3636    protected RunCollectionTypeCompatibilityConstraint(RunCollectionTypeCompatibilityConstraint original, Cloner cloner)
Note: See TracChangeset for help on using the changeset viewer.