1/*****************************************************
2*
3*  Copyright 2009 Adobe Systems Incorporated.  All Rights Reserved.
4*
5*****************************************************
6*  The contents of this file are subject to the Mozilla Public License
7*  Version 1.1 (the "License"); you may not use this file except in
8*  compliance with the License. You may obtain a copy of the License at
9*  http://www.mozilla.org/MPL/
10*
11*  Software distributed under the License is distributed on an "AS IS"
12*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
13*  License for the specific language governing rights and limitations
14*  under the License.
15*
16*
17*  The Initial Developer of the Original Code is Adobe Systems Incorporated.
18*  Portions created by Adobe Systems Incorporated are Copyright (C) 2009 Adobe Systems
19*  Incorporated. All Rights Reserved.
20*
21*****************************************************/
22package org.osmf.elements.compositeClasses
23{
24	import org.osmf.media.MediaElement;
25
26	internal class SerialElementSegment
27	{
28		public function SerialElementSegment
29			(
30			  mediaElement:MediaElement
31			, relativeStart:Number
32			, relativeEnd:Number
33			, unseekable:Boolean = false
34			)
35		{
36			_mediaElement	= mediaElement;
37			_relativeStart	= relativeStart;
38			_relativeEnd	= relativeEnd;
39			_unseekable		= unseekable;
40		}
41
42		public function get mediaElement():MediaElement
43		{
44			return _mediaElement;
45		}
46
47		public function get relativeStart():Number
48		{
49			return _relativeStart;
50		}
51
52		public function get relativeEnd():Number
53		{
54			return _relativeEnd;
55		}
56
57		public function get unseekable():Boolean
58		{
59			return _unseekable;
60		}
61
62		private var _mediaElement:MediaElement;
63		private var _relativeStart:Number;
64		private var _relativeEnd:Number;
65		private var _unseekable:Boolean;
66	}
67}