textbender.a.u.chromography
Class ReferenceSeries

java.lang.Object
  extended by ReferenceSeries
All Implemented Interfaces:
Serializable

@ThreadSafe
public class ReferenceSeries
extends Object
implements Serializable

A chromographic reference series.

See Also:
Serialized Form

Constructor Summary
ReferenceSeries(HostServiceRegistry.UniqueID origin, Element[] leafGeneArray, List<Element> gList)
          Creates a ReferenceSeries.
 
Method Summary
 String[] leafLocusSetArray()
          Returns the series as an array of loci, in document order.
 HostServiceRegistry.UniqueID origin()
          Identifies the origin of the series.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceSeries

public ReferenceSeries(HostServiceRegistry.UniqueID origin,
                       Element[] leafGeneArray,
                       List<Element> gList)
Creates a ReferenceSeries.

Parameters:
origin - per origin()
leafGeneArray - array of leaf genes defining this series, in document order
gList - list of gene meta-data 'g' elements
Method Detail

leafLocusSetArray

public String[] leafLocusSetArray()
Returns the series as an array of loci, in document order. If a locus occurs multiple times, it is ordered by its first occurence.

Returns:
array of loci, each locus being unique

origin

public final HostServiceRegistry.UniqueID origin()
Identifies the origin of the series.