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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisCondition(ddf.catalog.data.Metacard parent, ddf.catalog.data.Metacard child) The child is guaranteed to already have the attribute.Methods inherited from class org.codice.alliance.video.stream.mpegts.metacard.AbstractBasicMetacardUpdater
update
-
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:AbstractBasicMetacardUpdaterThe child is guaranteed to already have the attribute.- Specified by:
isConditionin classAbstractBasicMetacardUpdater- Parameters:
parent- parent metacardchild- child metacard- Returns:
- true if the parent should be set with the child's value
-