src/FingersDance.Data/Cutting.cs
author PAMPHILE Jonathan <pamphile@efrei.fr>
Wed, 14 Oct 2009 13:45:55 +0200
changeset 147 1a5da89daee9
parent 143 9f157d9c725b
child 192 11083c390ce4
permissions -rw-r--r--
Merge

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

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

        public Cutting(string titlePar, List<Annotation> annotListPar)
        {
            this._title = titlePar;
            this._annotList = annotListPar;
            
        }
        public Cutting()
        {}

        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;
            }
        }

    }
}