public class FindSourceInformationImpl extends Object implements FindSourceInformation, Serializable, Cloneable
Implementation of a class that contains the result returned by the
tv.amwa.maj.model.SearchSource#searchSource(int, long, tv.amwa.maj.enumeration.MobKind, tv.amwa.maj.enumeration.CriteriaType, tv.amwa.maj.enumeration.OperationChoice)
method, containing source information about particular tracks.
The information available in this object will depend on the kind
of search carried out. All methods in this interface that return a non-primitive
type value could return a null pointer to indicate that a value
is not present.
| Constructor and Description |
|---|
FindSourceInformationImpl(Package mob,
Integer trackID,
Long position,
Rational editRate,
Long length,
Component component) |
| Modifier and Type | Method and Description |
|---|---|
Rational |
getEditRate()
Returns the edit rate for the search result.
|
long |
getLength()
Returns the length of this component.
|
Package |
getPackage()
Returns the package search result.
|
SourceReferenceValueImpl |
getSourceReference()
Returns the source reference search result.
|
public Rational getEditRate()
FindSourceInformationReturns the edit rate for the search result.
getEditRate in interface FindSourceInformationnull
if this value is not available.public long getLength()
throws BadPropertyException
FindSourceInformationReturns the length of this component. The duration is specified in edit units of the result.
This method deals with an optional property, which will only be present for time-varying media and some events.
getLength in interface FindSourceInformationBadPropertyException - The optional length property is not
present for this object.public Package getPackage()
FindSourceInformationReturns the package search result.
getPackage in interface FindSourceInformationnull
if no valid package is referenced.public SourceReferenceValueImpl getSourceReference()
FindSourceInformationReturns the source reference search result.
getSourceReference in interface FindSourceInformationnull if the value is not
available.(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.