Class TemporalStartMetacardUpdater

java.lang.Object
org.codice.alliance.video.stream.mpegts.metacard.AbstractBasicMetacardUpdater
org.codice.alliance.video.stream.mpegts.metacard.TemporalStartMetacardUpdater
All Implemented Interfaces:
MetacardUpdater

public class TemporalStartMetacardUpdater extends AbstractBasicMetacardUpdater
If the parent does not have a start time and the child does have a start time, then set the parent start to time to the child's start time.
  • Constructor Details

    • TemporalStartMetacardUpdater

      public TemporalStartMetacardUpdater()
  • Method Details

    • isCondition

      protected boolean isCondition(ddf.catalog.data.Metacard parent, ddf.catalog.data.Metacard child)
      Description copied from class: AbstractBasicMetacardUpdater
      The child is guaranteed to already have the attribute.
      Specified by:
      isCondition in class AbstractBasicMetacardUpdater
      Parameters:
      parent - parent metacard
      child - child metacard
      Returns:
      true if the parent should be set with the child's value