--- a/src/FingersDance.Data/Cutting.cs Wed Sep 16 09:07:27 2009 +0200
+++ b/src/FingersDance.Data/Cutting.cs Wed Sep 16 15:36:08 2009 +0200
@@ -5,16 +5,36 @@
namespace FingersDance.Data
{
- class Cutting
+ public class Cutting
{
- private List<Annotation> annotList;
- private string title;
+ private List<Annotation> _annotList;
+ private string _title;
public Cutting(string titlePar, List<Annotation> annotListPar)
{
- this.title = titlePar;
- this.annotList = annotListPar;
+ this._title = titlePar;
+ this._annotList = annotListPar;
}
+
+ public String Title
+ {
+ get { return _title; }
+ set
+ {
+ if (value == _title || String.IsNullOrEmpty(value))
+ return;
+ _title = value;
+ }
+ }
+ public List<Annotation> AnnotList
+ {
+ get { return _annotList; }
+ set
+ {
+ _annotList = value;
+ }
+ }
+
}
}