jsynoptic.plugins.merge
Class JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation

java.lang.Object
  extended by jsynoptic.plugins.merge.JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
JSSynchronousMergeDSCollection

public static class JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation
extends java.lang.Object
implements java.io.Serializable

A nested class dedicated to serialize information about a merged data.

Author:
zxpletran007
See Also:
Serialized Form

Field Summary
 DataSource data
          A data source to merge
 double initialDate
          An optional initial date used in case a relative time to absolute time conversion has to be performed
 boolean isRelative
          Time reference is expressed in relative format (number of seconds)
 boolean mergeAllRelatedCollection
          If true, all collection that hold data source has to be merged
 double offset
          Offset applied to time reference values
 DataSource timeReference
          When data is synchronous: data sous related to time reference
 
Constructor Summary
JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(DataSourceCollection collection, DataSource refTime, boolean isRelative, double offset, double initialDate)
           
JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(DataSource dataSource, DataSource refTime, boolean isRelative, double offset, double initialDate)
           
JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(TimeStampedDataSourceCollection collection, double offset)
           
JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(TimeStampedDataSource dataSource, double offset)
           
 
Method Summary
static DataSourceCollection creationCollectionFromDataSource(DataSource ds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public transient DataSource data
A data source to merge


mergeAllRelatedCollection

public boolean mergeAllRelatedCollection
If true, all collection that hold data source has to be merged


timeReference

public transient DataSource timeReference
When data is synchronous: data sous related to time reference


isRelative

public boolean isRelative
Time reference is expressed in relative format (number of seconds)


offset

public double offset
Offset applied to time reference values


initialDate

public double initialDate
An optional initial date used in case a relative time to absolute time conversion has to be performed

Constructor Detail

JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation

public JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(TimeStampedDataSourceCollection collection,
                                                                            double offset)

JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation

public JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(TimeStampedDataSource dataSource,
                                                                            double offset)

JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation

public JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(DataSourceCollection collection,
                                                                            DataSource refTime,
                                                                            boolean isRelative,
                                                                            double offset,
                                                                            double initialDate)

JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation

public JSSynchronousMergeDSCollection.SynchronousMergeDataSourceInformation(DataSource dataSource,
                                                                            DataSource refTime,
                                                                            boolean isRelative,
                                                                            double offset,
                                                                            double initialDate)
Method Detail

creationCollectionFromDataSource

public static DataSourceCollection creationCollectionFromDataSource(DataSource ds)