Media Authoring
with Java API

tv.amwa.maj.argument
Class TimecodeClip

java.lang.Object
  extended by tv.amwa.maj.argument.TimecodeClip

public class TimecodeClip
extends Object

Implementation of a reference to part of a timecode segment.

Note that the value of timecode segment calculations in the MAJ API is still being determined. At the current time, this class is only used by non-public methods.

Author:
Richard Cartwright
See Also:
SourceMob.specifyValidCodeRange(tv.amwa.maj.iface.DataDefinition, int, tv.amwa.maj.record.Rational, long, long)

Field Summary
 TimecodeSegment result
          Timecode segment referenced by this clip.
 long timecodeSlotLength
          Length of the clip in its defined edit units.
 long timecodeStartPosition
          Start position of reference defined in edit units from the start of the clip.
 
Constructor Summary
TimecodeClip(TimecodeSegment result, long timecodeStartPosition, long timecodeSlotLength)
          Create a new reference to a clip of a timecode segment.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

public final TimecodeSegment result

Timecode segment referenced by this clip.


timecodeStartPosition

public final long timecodeStartPosition

Start position of reference defined in edit units from the start of the clip.


timecodeSlotLength

public final long timecodeSlotLength

Length of the clip in its defined edit units.

Constructor Detail

TimecodeClip

public TimecodeClip(TimecodeSegment result,
                    long timecodeStartPosition,
                    long timecodeSlotLength)

Create a new reference to a clip of a timecode segment.

Parameters:
result - Timecode segment referenced by this clip.
timecodeStartPosition - Start position of reference defined in edit units from the start of the clip.
timecodeSlotLength - Length of the clip in its defined edit units.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.