--- a/src/FingersDance.Data/Cutting.cs Tue Nov 10 13:47:58 2009 +0100
+++ b/src/FingersDance.Data/Cutting.cs Thu Nov 12 16:15:19 2009 +0100
@@ -7,18 +7,29 @@
{
public class Cutting
{
+ private String _id;
private List<Annotation> _annotList;
private string _title;
- public Cutting(string titlePar, List<Annotation> annotListPar)
+ public Cutting(String idPar, String titlePar, List<Annotation> annotListPar)
{
+ this._id = idPar;
this._title = titlePar;
this._annotList = annotListPar;
-
}
public Cutting()
{}
+ public String Id
+ {
+ get { return _id; }
+ set
+ {
+ if (value == _id || String.IsNullOrEmpty(value))
+ return;
+ _id = value;
+ }
+ }
public String Title
{
get { return _title; }