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.Core/3.3/Constraints
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/ComparisonConstraint.cs

    r16453 r16462  
    2323using System.Collections.Generic;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Core {
    28   [StorableClass]
     28  [StorableType("6FCBEAF5-62A1-48F9-B1A8-F81D4B15A4AE")]
    2929  [Item("ComparisonConstraint", "A constraint which checks for specified compare operation.")]
    3030  public class ComparisonConstraint : Constraint {
    3131    [StorableConstructor]
    32     protected ComparisonConstraint(bool deserializing) : base(deserializing) { }
     32    protected ComparisonConstraint(StorableConstructorFlag _) : base(_) { }
    3333    protected ComparisonConstraint(ComparisonConstraint original, Cloner cloner) : base(original, cloner) { }
    3434    public ComparisonConstraint() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/Constraint.cs

    r16453 r16462  
    2424using System.Linq;
    2525using HeuristicLab.Common;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Core {
    29   [StorableClass]
     29  [StorableType("02F8AFE2-BF67-4378-9E38-B18FF4D63609")]
    3030  public abstract class Constraint : Item, IConstraint {
    3131    [StorableConstructor]
    32     protected Constraint(bool deserializing) : base(deserializing) { }
     32    protected Constraint(StorableConstructorFlag _) : base(_) { }
    3333    protected Constraint(Constraint original, Cloner cloner)
    3434      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/ConstraintOperation.cs

    r16453 r16462  
    2020#endregion
    2121
    22 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     22using HEAL.Fossil;
    2323namespace HeuristicLab.Core {
    24   [StorableClass]
     24  [StorableType("8518F185-8222-414D-8AAF-0273D7B09A0E")]
    2525  public class ConstraintOperation {
    2626    public static readonly ConstraintOperation Equal = new ConstraintOperation(0, "Equal");
     
    3939
    4040    [StorableConstructor]
    41     protected ConstraintOperation(bool deserializing) { }
     41    protected ConstraintOperation(StorableConstructorFlag _) { }
    4242    protected ConstraintOperation(int value, string name) {
    4343      this.value = value;
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/EqualityConstraint.cs

    r16453 r16462  
    2323using System.Collections.Generic;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Core {
    28   [StorableClass]
     28  [StorableType("9E83A84E-39A1-4DEB-90EB-DEB5A457D77D")]
    2929  [Item("EqualityConstraint", "A constraint which checks for equality.")]
    3030  public class EqualityConstraint : Constraint {
    3131    [StorableConstructor]
    32     protected EqualityConstraint(bool deserializing) : base(deserializing) { }
     32    protected EqualityConstraint(StorableConstructorFlag _) : base(_) { }
    3333    protected EqualityConstraint(EqualityConstraint original, Cloner cloner) : base(original, cloner) { }
    3434    public EqualityConstraint() : base() { }
  • branches/2520_PersistenceReintegration/HeuristicLab.Core/3.3/Constraints/TypeCompatibilityConstraint.cs

    r16453 r16462  
    2323using System.Collections.Generic;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Core {
    28   [StorableClass]
     28  [StorableType("0BE7E71A-DA13-440F-83C3-0AD15C9E519D")]
    2929  [Item("TypeCompatibilityConstraint", "A constraint that checks for compatible types.")]
    3030  public class TypeCompatibilityConstraint : Constraint {
    3131    [StorableConstructor]
    32     protected TypeCompatibilityConstraint(bool deserializing) : base(deserializing) { }
     32    protected TypeCompatibilityConstraint(StorableConstructorFlag _) : base(_) { }
    3333    protected TypeCompatibilityConstraint(TypeCompatibilityConstraint original, Cloner cloner) : base(original, cloner) { }
    3434    public TypeCompatibilityConstraint() : base() { }
Note: See TracChangeset for help on using the changeset viewer.