public class

VideoFrameImpl

extends Object
implements Serializable VideoFrame JPAEntity
java.lang.Object
   ↳ vars.annotation.jpa.VideoFrameImpl

Summary

[Expand]
Inherited Constants
From interface vars.VideoMoment
From interface vars.annotation.VideoFrame
Public Constructors
VideoFrameImpl()
Public Methods
void addObservation(Observation observation)
Add to the Observation collection of this VideoFrame.
boolean equals(Object obj)
String getAlternateTimecode()
CameraData getCameraData()
Get the CameraData associated with this VideoFrame.
Long getId()
List<Observation> getObservations()
PhysicalData getPhysicalData()
Get the PhysicalData associated with this VideoFrame.
Object getPrimaryKey()
Date getRecordedDate()
The date that this videoframe was actually recorded
String getTimecode()
VideoArchive getVideoArchive()
boolean hasImageReference()
Indeicates if an annotation has an associated framegrab.
int hashCode()
boolean isInSequence()
Check whether this VideoFrame is part of a larger sequence of VideoFrame objects.
void removeObservation(Observation observation)
void setAlternateTimecode(String altTimecode)
Set the HD Timecode for this VideoFrame.
void setId(Long id)
void setInSequence(boolean state)
Set the flag indicating whether this VideoFrame is part of a larger sequence of VideoFrame objects.
void setRecordedDate(Date dtg)
Sets the time of the frame representing the annotation
void setTimecode(String timecode)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface vars.VARSObject
From interface vars.VideoMoment
From interface vars.annotation.VideoFrame
From interface vars.jpa.JPAEntity

Public Constructors

public VideoFrameImpl ()

Public Methods

public void addObservation (Observation observation)

Add to the Observation collection of this VideoFrame.

Parameters
observation The Observation to add.
Returns
  • the Observation with updated ID.

public boolean equals (Object obj)

public String getAlternateTimecode ()

public CameraData getCameraData ()

Get the CameraData associated with this VideoFrame.

Returns
  • A handle to the CameraData object associated with this VideoFrame. null will never be returned.

public Long getId ()

public List<Observation> getObservations ()

public PhysicalData getPhysicalData ()

Get the PhysicalData associated with this VideoFrame.

Returns
  • A handle to the PhysicalData object associated with this VideoFrame. null should never be returned.

public Object getPrimaryKey ()

public Date getRecordedDate ()

The date that this videoframe was actually recorded

public String getTimecode ()

public VideoArchive getVideoArchive ()

public boolean hasImageReference ()

Indeicates if an annotation has an associated framegrab.

public int hashCode ()

public boolean isInSequence ()

Check whether this VideoFrame is part of a larger sequence of VideoFrame objects.

Returns
  • true if this VideoFrame is part of a larger sequence of VideoFrame objects; false otherwise.

public void removeObservation (Observation observation)

public void setAlternateTimecode (String altTimecode)

Set the HD Timecode for this VideoFrame.

Parameters
altTimecode The HD Timecode object to associate with this VideoFrame.

public void setId (Long id)

public void setInSequence (boolean state)

Set the flag indicating whether this VideoFrame is part of a larger sequence of VideoFrame objects. a.k.a This annotation is part of larger group of annotations describing a sequence of events.

Parameters
state boolean indicator of sequence state

public void setRecordedDate (Date dtg)

Sets the time of the frame representing the annotation

Parameters
dtg The Date that the annotated frame was recorded in UTC.

public void setTimecode (String timecode)

public String toString ()