Class AggregateCombo

    • Field Detail

      • targetThing

        public final de.fraunhofer.iosb.ilt.sta.model.Thing targetThing
      • target

        public final de.fraunhofer.iosb.ilt.sta.model.MultiDatastream target
      • sourceDs

        public de.fraunhofer.iosb.ilt.sta.model.Datastream sourceDs
      • sourceMds

        public de.fraunhofer.iosb.ilt.sta.model.MultiDatastream sourceMds
      • sourceIsAggregate

        public boolean sourceIsAggregate
      • sourceIsCollection

        public boolean sourceIsCollection
        Indicates that observations in the source contain a list of values.
      • baseName

        public String baseName
    • Constructor Detail

      • AggregateCombo

        public AggregateCombo​(de.fraunhofer.iosb.ilt.sta.model.Thing targetThing,
                              de.fraunhofer.iosb.ilt.sta.model.MultiDatastream target)
    • Method Detail

      • hasSource

        public boolean hasSource()
      • getSourceType

        public de.fraunhofer.iosb.ilt.sta.model.EntityType getSourceType()
      • getSourceId

        public de.fraunhofer.iosb.ilt.sta.model.Id getSourceId()
      • getObsDaoForSource

        public de.fraunhofer.iosb.ilt.sta.dao.BaseDao<de.fraunhofer.iosb.ilt.sta.model.Observation> getObsDaoForSource()
      • getLastForTarget

        public de.fraunhofer.iosb.ilt.sta.model.Observation getLastForTarget()
      • getFirstForSource

        public de.fraunhofer.iosb.ilt.sta.model.Observation getFirstForSource()
      • getLastForSource

        public de.fraunhofer.iosb.ilt.sta.model.Observation getLastForSource()
      • getObservationsForSource

        public List<de.fraunhofer.iosb.ilt.sta.model.Observation> getObservationsForSource​(Instant start,
                                                                                           Instant end)
      • resolveZoneId

        public void resolveZoneId​(ZoneId dflt)
      • getZoneId

        public ZoneId getZoneId()
      • getSourceObsMqttPath

        public String getSourceObsMqttPath()
      • calculateIntervalsForTime

        public List<org.threeten.extra.Interval> calculateIntervalsForTime​(de.fraunhofer.iosb.ilt.sta.model.TimeObject phenTime)
      • replaceIfNotCurrent

        public org.threeten.extra.Interval replaceIfNotCurrent​(org.threeten.extra.Interval other)
        Checks if the given interval is the same as the current interval. If they are not the same, the current interval is updated.
        Parameters:
        other - The interval to check against the current interval and to replace the current interval with if they are not the same.
        Returns:
        null if the given interval is the same as the current interval, otherwise the current interval.
      • unsetCurrent

        public org.threeten.extra.Interval unsetCurrent​(org.threeten.extra.Interval other)
        Unsets the current interval. If the given interval is the same as the current interval, null is returned. If the given interval is not the same as the current interval, the current interval is returned.
        Parameters:
        other - The interval to check against the current interval.
        Returns:
        null if the given interval is the same as the current interval.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getBaseName

        public String getBaseName()