Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (7 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
Location:
branches/PersistenceOverhaul/HeuristicLab.Data/3.3
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/BoolArray.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("BoolArray", "Represents an array of boolean values.")]
    29   [StorableClass("0E6285F8-44C6-4C5E-A1C7-4D5FA847CD73")]
     29  [StorableType("0E6285F8-44C6-4C5E-A1C7-4D5FA847CD73")]
    3030  public class BoolArray : ValueTypeArray<bool>, IStringConvertibleArray {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/BoolMatrix.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("BoolMatrix", "Represents a matrix of boolean values.")]
    30   [StorableClass("A4CAEC72-FB75-4F53-96E5-1C2B0B22D21C")]
     30  [StorableType("A4CAEC72-FB75-4F53-96E5-1C2B0B22D21C")]
    3131  public class BoolMatrix : ValueTypeMatrix<bool>, IStringConvertibleMatrix {
    3232    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/BoolValue.cs

    r13368 r14711  
    2929namespace HeuristicLab.Data {
    3030  [Item("BoolValue", "Represents a boolean value.")]
    31   [StorableClass("71C32757-345D-4C04-A5C2-98E5FC6B6F9C")]
     31  [StorableType("71C32757-345D-4C04-A5C2-98E5FC6B6F9C")]
    3232  public class BoolValue : ValueTypeValue<bool>, IComparable, IStringConvertibleValue {
    3333    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/Comparison.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("Comparison", "Represents a comparison.")]
    30   [StorableClass("3CBD4966-3BC5-4D21-9048-12B8FBCEDEEB")]
     30  [StorableType("3CBD4966-3BC5-4D21-9048-12B8FBCEDEEB")]
    3131  public class Comparison : ValueTypeValue<ComparisonType>, IComparable {
    3232    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/DateTimeValue.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("DateTimeValue", "Represents a date and time value.")]
    29   [StorableClass("872B3F56-2417-47B3-B83F-B2E7D1991521")]
     29  [StorableType("872B3F56-2417-47B3-B83F-B2E7D1991521")]
    3030  public class DateTimeValue : ValueTypeValue<DateTime>, IComparable, IStringConvertibleValue {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/DoubleArray.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("DoubleArray", "Represents an array of double values.")]
    29   [StorableClass("9728BD08-3506-4E8A-86D1-22AEDFD5377B")]
     29  [StorableType("9728BD08-3506-4E8A-86D1-22AEDFD5377B")]
    3030  public class DoubleArray : ValueTypeArray<double>, IStringConvertibleArray {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/DoubleMatrix.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("DoubleMatrix", "Represents a matrix of double values.")]
    30   [StorableClass("9ED42B6A-AB01-493A-9841-8AE7A052F3DC")]
     30  [StorableType("9ED42B6A-AB01-493A-9841-8AE7A052F3DC")]
    3131  public class DoubleMatrix : ValueTypeMatrix<double>, IStringConvertibleMatrix {
    3232    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/DoubleRange.cs

    r13368 r14711  
    2626
    2727namespace HeuristicLab.Data {
    28   [StorableClass("63AFDEED-9917-4059-801C-27C4E722C06A")]
     28  [StorableType("63AFDEED-9917-4059-801C-27C4E722C06A")]
    2929  [Item("DoubleRange", "Represents a range of values betweent start and end.")]
    3030  public class DoubleRange : StringConvertibleValueTuple<DoubleValue, DoubleValue> {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/DoubleValue.cs

    r13368 r14711  
    2929namespace HeuristicLab.Data {
    3030  [Item("DoubleValue", "Represents a double value.")]
    31   [StorableClass("F93B7F16-10D0-4DFA-98CB-B9F4D57C2EC6")]
     31  [StorableType("F93B7F16-10D0-4DFA-98CB-B9F4D57C2EC6")]
    3232  public class DoubleValue : ValueTypeValue<double>, IComparable, IStringConvertibleValue {
    3333    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/EnumValue.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("EnumValue", "An abstract base class for representing values of enum types.")]
    30   [StorableClass("FA49D6E4-FAF3-4A1A-B4A9-5E544A49DD5B")]
     30  [StorableType("FA49D6E4-FAF3-4A1A-B4A9-5E544A49DD5B")]
    3131  public sealed class EnumValue<T> : ValueTypeValue<T>, IComparable<EnumValue<T>> where T : struct, IComparable {
    3232    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/IntArray.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("IntArray", "Represents an array of integer values.")]
    29   [StorableClass("E60ED67C-898E-4AE9-948A-6F05352F2BFC")]
     29  [StorableType("E60ED67C-898E-4AE9-948A-6F05352F2BFC")]
    3030  public class IntArray : ValueTypeArray<int>, IStringConvertibleArray {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/IntMatrix.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("IntMatrix", "Represents a matrix of integer values.")]
    30   [StorableClass("BDDBC9C8-C82B-448C-A07E-4118147901F1")]
     30  [StorableType("BDDBC9C8-C82B-448C-A07E-4118147901F1")]
    3131  public class IntMatrix : ValueTypeMatrix<int>, IStringConvertibleMatrix {
    3232    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/IntRange.cs

    r13368 r14711  
    2626
    2727namespace HeuristicLab.Data {
    28   [StorableClass("F2583560-A492-4577-B47F-76A6092F7860")]
     28  [StorableType("F2583560-A492-4577-B47F-76A6092F7860")]
    2929  [Item("IntRange", "Represents a range of values betweent start and end.")]
    3030  public class IntRange : StringConvertibleValueTuple<IntValue, IntValue> {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/IntValue.cs

    r13368 r14711  
    2929namespace HeuristicLab.Data {
    3030  [Item("IntValue", "Represents an integer value.")]
    31   [StorableClass("DAD7E1DF-3F1B-4D91-A2B7-45FA6311C559")]
     31  [StorableType("DAD7E1DF-3F1B-4D91-A2B7-45FA6311C559")]
    3232  public class IntValue : ValueTypeValue<int>, IComparable, IStringConvertibleValue {
    3333    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/Path Types/DirectoryValue.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("DirectoryValue", "Represents the path to a directory.")]
    29   [StorableClass("1AC44273-E104-4772-A68B-9E3576679C7B")]
     29  [StorableType("1AC44273-E104-4772-A68B-9E3576679C7B")]
    3030  public class DirectoryValue : PathValue {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/Path Types/FileValue.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("FileValue", "Represents the path to a file.")]
    29   [StorableClass("967E33FB-BC2B-4223-B49D-77F264AF8960")]
     29  [StorableType("967E33FB-BC2B-4223-B49D-77F264AF8960")]
    3030  public class FileValue : PathValue {
    3131    [Storable]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/Path Types/PathValue.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("PathValue", "Represents a path.")]
    29   [StorableClass("00E1FB80-85AA-4E5E-8980-5CE855564E5E")]
     29  [StorableType("00E1FB80-85AA-4E5E-8980-5CE855564E5E")]
    3030  public abstract class PathValue : Item {
    3131
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/Path Types/TextFileValue.cs

    r13368 r14711  
    2626namespace HeuristicLab.Data {
    2727  [Item("TextFile", "Represents the content and path to a text file.")]
    28   [StorableClass("EE466945-E0DC-435C-8AE4-281EE047B60E")]
     28  [StorableType("EE466945-E0DC-435C-8AE4-281EE047B60E")]
    2929  public class TextFileValue : FileValue {
    3030    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/PercentArray.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("PercentArray", "Represents an array of double values in percent.")]
    29   [StorableClass("35CF2041-955E-4C8F-B4D5-67CAD21C7F36")]
     29  [StorableType("35CF2041-955E-4C8F-B4D5-67CAD21C7F36")]
    3030  public class PercentArray : DoubleArray {
    3131    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/PercentMatrix.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("PercentMatrix", "Represents a matrix of double values in percent.")]
    30   [StorableClass("8064A11E-894B-471F-9B00-93C09DEC6FCE")]
     30  [StorableType("8064A11E-894B-471F-9B00-93C09DEC6FCE")]
    3131  public class PercentMatrix : DoubleMatrix {
    3232    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/PercentValue.cs

    r13368 r14711  
    2727namespace HeuristicLab.Data {
    2828  [Item("PercentValue", "Represents a double value in percent.")]
    29   [StorableClass("8E744168-B6DF-4D1F-9D4D-D8B7C886A810")]
     29  [StorableType("8E744168-B6DF-4D1F-9D4D-D8B7C886A810")]
    3030  public class PercentValue : DoubleValue {
    3131    [Storable(DefaultValue = false)]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/StringArray.cs

    r13368 r14711  
    3232namespace HeuristicLab.Data {
    3333  [Item("StringArray", "Represents an array of strings.")]
    34   [StorableClass("3FF6ABD3-8692-4E9F-8925-D48A0EEAEB01")]
     34  [StorableType("3FF6ABD3-8692-4E9F-8925-D48A0EEAEB01")]
    3535  public class StringArray : Item, IEnumerable<string>, IStringConvertibleArray {
    3636    private const int maximumToStringLength = 100;
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/StringConvertibleValueTuple.cs

    r13368 r14711  
    2727
    2828namespace HeuristicLab.Data {
    29   [StorableClass("7E40E018-8E89-49DE-926B-924374522E3B")]
     29  [StorableType("7E40E018-8E89-49DE-926B-924374522E3B")]
    3030  [Item("StringConvertibleValueTuple<,>", "A generic abstract base class for representing multiple values of a string convertible value.")]
    3131  public abstract class StringConvertibleValueTuple<T, U> : Item, IStringConvertibleValueTuple
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/StringMatrix.cs

    r13368 r14711  
    3232namespace HeuristicLab.Data {
    3333  [Item("StringMatrix", "Represents a matrix of strings.")]
    34   [StorableClass("58752BBE-8760-4A8E-97DF-9E88AE09989E")]
     34  [StorableType("58752BBE-8760-4A8E-97DF-9E88AE09989E")]
    3535  public class StringMatrix : Item, IEnumerable<string>, IStringConvertibleMatrix {
    3636    private const int maximumToStringLength = 100;
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/StringValue.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("StringValue", "Represents a string.")]
    30   [StorableClass("CC710F2D-C782-4F52-A4B1-51E77A778CA9")]
     30  [StorableType("CC710F2D-C782-4F52-A4B1-51E77A778CA9")]
    3131  public class StringValue : Item, IComparable, IStringConvertibleValue {
    3232    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/TimeSpanValue.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("TimeSpanValue", "Represents a duration of time.")]
    30   [StorableClass("4F57E126-F139-404A-A210-E3C998C3F11F")]
     30  [StorableType("4F57E126-F139-404A-A210-E3C998C3F11F")]
    3131  public class TimeSpanValue : ValueTypeValue<TimeSpan>, IComparable, IStringConvertibleValue {
    3232    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/ValueTypeArray.cs

    r13368 r14711  
    3232namespace HeuristicLab.Data {
    3333  [Item("ValueTypeArray", "An abstract base class for representing arrays of value types.")]
    34   [StorableClass("24C5DD61-14CE-49CA-812D-59874D7DA8A0")]
     34  [StorableType("24C5DD61-14CE-49CA-812D-59874D7DA8A0")]
    3535  public abstract class ValueTypeArray<T> : Item, IEnumerable<T> where T : struct {
    3636    private const int maximumToStringLength = 100;
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/ValueTypeMatrix.cs

    r13368 r14711  
    3232namespace HeuristicLab.Data {
    3333  [Item("ValueTypeMatrix", "An abstract base class for representing matrices of value types.")]
    34   [StorableClass("3711CE5A-0DBF-4D46-AC39-A3A8D129B95A")]
     34  [StorableType("3711CE5A-0DBF-4D46-AC39-A3A8D129B95A")]
    3535  public abstract class ValueTypeMatrix<T> : Item, IEnumerable<T> where T : struct {
    3636    private const int maximumToStringLength = 100;
  • branches/PersistenceOverhaul/HeuristicLab.Data/3.3/ValueTypeValue.cs

    r13368 r14711  
    2828namespace HeuristicLab.Data {
    2929  [Item("ValueTypeValue", "An abstract base class for representing values of value types.")]
    30   [StorableClass("B0E6DFBB-A3CB-4232-8D82-E8761448EA68")]
     30  [StorableType("B0E6DFBB-A3CB-4232-8D82-E8761448EA68")]
    3131  public abstract class ValueTypeValue<T> : Item where T : struct {
    3232    public static new Image StaticItemImage {
Note: See TracChangeset for help on using the changeset viewer.