@MediaClass(uuid1=218169601, uuid2=257, uuid3=1024, uuid4={6,14,43,52,2,6,1,1}, definedName="EdgeCode", description="The Edgecode class stores film edge code information.", symbol="EdgeCode") public class EdgeCodeSegmentImpl extends SegmentImpl implements EdgeCodeSegment, Serializable, Cloneable
Implements the storage of film edge code information.
ObjectClassPropertyID| Constructor and Description |
|---|
EdgeCodeSegmentImpl() |
EdgeCodeSegmentImpl(long length,
EdgeCodeValue edgecode)
Creates and initializes a new edgecode segment, which stores film edge
code information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearEdgeCodeHeader() |
EdgeCodeSegment |
clone()
Create a cloned copy of this interchange object.
|
EdgeCodeValue |
getEdgecode()
Returns the edgecode value stored by this
edgecode segment.
|
FilmType |
getEdgeCodeFilmFormat()
Returns the type of film of the underlying edgecode value.
|
EdgeType |
getEdgeCodeFormat()
Returns the type of edgecode of the underlying edgecode value.
|
byte[] |
getEdgeCodeHeader()
Returns the header of the underlying edgecode value, or an empty byte array if the
optional property is not set.
|
String |
getEdgeCodeHeaderAsString()
Returns the text prefix the identifies the film as a string value.
|
long |
getEdgeCodeStart()
Returns the edgecode at the beginning of the segment.
|
static FilmType |
initializeEdgeCodeFilmFormat() |
static EdgeType |
initializeEdgeCodeFormat() |
static long |
initializeEdgeCodeStart() |
void |
setEdgeCodeFilmFormat(FilmType edgeCodeFilmFormat) |
void |
setEdgeCodeFormat(EdgeType edgeCodeFormat) |
void |
setEdgeCodeHeader(byte[] edgeCodeHeader) |
void |
setEdgeCodeStart(long startFrame) |
generateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, segmentOffsetToTC, segmentTCToOffset, setCutPoint, setKeyOffset, setPackLayerKeyIndicator, setSegmentBlob, setTrackBlob, setTrackKeyRenderSequence, setTrackName, setTrackRenderSequenceappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComment, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getEditName, getJupiterClipOffset, getJupiterID, getLengthPresent, initializeComponentDataDefinition, prependComponentAttribute, prependComponentKLVData, prependComponentUserComment, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setComponentLengthFromStream, setEditName, setJupiterClipOffset, setJupiterID, setLengthPresentaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgenerateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic EdgeCodeSegmentImpl()
public EdgeCodeSegmentImpl(long length,
EdgeCodeValue edgecode)
throws NullPointerException,
BadLengthException,
BadSizeException
Creates and initializes a new edgecode segment, which stores film edge code information.
length - Duration in edit units of this component.edgecode - Edgecode value for the new edgecode segment.NullPointerException - Edgecode argument is null.BadLengthException - Cannot set the length of a component to a negative value.BadSizeException - The given edgecode value has a header that is longer than 8 bytes.public EdgeCodeValue getEdgecode()
EdgeCodeSegmentReturns the edgecode value stored by this edgecode segment.
getEdgecode in interface EdgeCodeSegmentEdgeCodeSegment.getEdgeCodeFormat(),
EdgeCodeSegment.getEdgeCodeFilmFormat(),
EdgeCodeSegment.getEdgeCodeStart(),
EdgeCodeSegment.getEdgeCodeHeader(),
EdgeCodeSegment.getEdgeCodeHeaderAsString()@MediaProperty(uuid1=68157699, uuid2=265, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EdgeCodeFilmFormat", aliases={"FilmKind","FilmFormat"}, typeName="FilmType", optional=false, uniqueIdentifier=false, pid=1026, symbol="EdgeCodeFilmFormat") public FilmType getEdgeCodeFilmFormat()
Returns the type of film of the underlying edgecode value.
getEdgeCodeFilmFormat in interface EdgeCodeSegmentFilmType@MediaPropertySetter(value="EdgeCodeFilmFormat") public void setEdgeCodeFilmFormat(FilmType edgeCodeFilmFormat) throws NullPointerException
NullPointerExceptionpublic static final FilmType initializeEdgeCodeFilmFormat()
@MediaProperty(uuid1=68157699, uuid2=258, uuid3=0, uuid4={6,14,43,52,1,1,1,1}, definedName="EdgeCodeFormat", aliases="CodeFormat", typeName="EdgeType", optional=false, uniqueIdentifier=false, pid=1027, symbol="EdgeCodeFormat") public EdgeType getEdgeCodeFormat()
Returns the type of edgecode of the underlying edgecode value.
getEdgeCodeFormat in interface EdgeCodeSegmentEdgeType@MediaPropertySetter(value="EdgeCodeFormat") public void setEdgeCodeFormat(EdgeType edgeCodeFormat) throws NullPointerException
NullPointerExceptionpublic static final EdgeType initializeEdgeCodeFormat()
@MediaProperty(uuid1=16974337, uuid2=512, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EdgeCodeHeader", aliases="Header", typeName="DataValue", optional=true, uniqueIdentifier=false, pid=1028, symbol="EdgeCodeHeader") public byte[] getEdgeCodeHeader() throws PropertyNotPresentException
Returns the header of the underlying edgecode value, or an empty byte array if the optional property is not set. This implementation limits headers to 8 bytes in length.
getEdgeCodeHeader in interface EdgeCodeSegmentPropertyNotPresentException - The optional header property is not present for this edgecode
value.EdgeCodeSegment.getEdgecode(),
EdgeCodeSegment.getEdgeCodeHeaderAsString()public String getEdgeCodeHeaderAsString()
EdgeCodeSegmentReturns the text prefix the identifies the film as a string value. Typically, this is a text string of no more than 8 7-bit ISO characters. This is an optional property.
getEdgeCodeHeaderAsString in interface EdgeCodeSegmentEdgeCodeSegment.getEdgecode(),
EdgeCodeSegment.getEdgeCodeHeader()@MediaPropertySetter(value="EdgeCodeHeader") public void setEdgeCodeHeader(byte[] edgeCodeHeader) throws BadSizeException
BadSizeException@MediaPropertyClear(value="EdgeCodeHeader") public void clearEdgeCodeHeader()
@MediaProperty(uuid1=17041665, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EdgeCodeStart", aliases="Start", typeName="PositionType", optional=false, uniqueIdentifier=false, pid=1025, symbol="EdgeCodeStart") public long getEdgeCodeStart()
Returns the edgecode at the beginning of the segment.
getEdgeCodeStart in interface EdgeCodeSegmentEdgeCodeSegment.getEdgecode()@MediaPropertySetter(value="EdgeCodeStart") public void setEdgeCodeStart(@PositionType long startFrame)
public static final long initializeEdgeCodeStart()
public EdgeCodeSegment clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface Componentclone in interface EdgeCodeSegmentclone in interface InterchangeObjectclone in interface Segmentclone in class SegmentImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.