equal
deleted
inserted
replaced
5 |
5 |
6 namespace FingersDance.Data |
6 namespace FingersDance.Data |
7 { |
7 { |
8 public class Cutting |
8 public class Cutting |
9 { |
9 { |
|
10 private String _id; |
10 private List<Annotation> _annotList; |
11 private List<Annotation> _annotList; |
11 private string _title; |
12 private string _title; |
12 |
13 |
13 public Cutting(string titlePar, List<Annotation> annotListPar) |
14 public Cutting(String idPar, String titlePar, List<Annotation> annotListPar) |
14 { |
15 { |
|
16 this._id = idPar; |
15 this._title = titlePar; |
17 this._title = titlePar; |
16 this._annotList = annotListPar; |
18 this._annotList = annotListPar; |
17 |
|
18 } |
19 } |
19 public Cutting() |
20 public Cutting() |
20 {} |
21 {} |
21 |
22 |
|
23 public String Id |
|
24 { |
|
25 get { return _id; } |
|
26 set |
|
27 { |
|
28 if (value == _id || String.IsNullOrEmpty(value)) |
|
29 return; |
|
30 _id = value; |
|
31 } |
|
32 } |
22 public String Title |
33 public String Title |
23 { |
34 { |
24 get { return _title; } |
35 get { return _title; } |
25 set |
36 set |
26 { |
37 { |