src/FingersDance.Data/Cutting.cs
author riley
Tue, 24 Nov 2009 22:47:25 +0100
changeset 228 6e70a11abd3f
parent 192 11083c390ce4
child 229 05aba5def1fc
permissions -rw-r--r--
Adding the menu button ressources(Gestures)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FingersDance.Data
{
    public class Cutting
    {
        private String _id;
        private List<Annotation> _annotList;
        private string _title;

        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; }
            set
            {
                if (value == _title || String.IsNullOrEmpty(value))
                    return;
                _title = value;
            }
        }
        public List<Annotation> AnnotList
        {
            get { return _annotList; }
            set
            {
                _annotList = value;
            }
        }

    }
}