nl.lxtreme.ols.tool.base.annotation
Class SampleDataAnnotation

java.lang.Object
  extended by nl.lxtreme.ols.tool.base.annotation.SampleDataAnnotation
All Implemented Interfaces:
Comparable<nl.lxtreme.ols.api.data.annotation.Annotation<String>>, nl.lxtreme.ols.api.data.annotation.Annotation<String>, nl.lxtreme.ols.api.data.annotation.DataAnnotation<String>

public class SampleDataAnnotation
extends Object
implements nl.lxtreme.ols.api.data.annotation.DataAnnotation<String>


Constructor Summary
SampleDataAnnotation(int aChannelIdx, long aStartTimestamp, long aEndTimestamp, String aText)
          Creates a new DataAnnotation instance.
SampleDataAnnotation(int aChannelIdx, long aStartTimestamp, String aText)
          Creates a new DataAnnotation instance.
 
Method Summary
 int compareTo(nl.lxtreme.ols.api.data.annotation.Annotation<String> aOther)
          
 String getAnnotation()
          
 int getChannel()
          
 long getEndTimestamp()
          
 long getStartTimestamp()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleDataAnnotation

public SampleDataAnnotation(int aChannelIdx,
                            long aStartTimestamp,
                            long aEndTimestamp,
                            String aText)
Creates a new DataAnnotation instance.


SampleDataAnnotation

public SampleDataAnnotation(int aChannelIdx,
                            long aStartTimestamp,
                            String aText)
Creates a new DataAnnotation instance.

Method Detail

compareTo

public int compareTo(nl.lxtreme.ols.api.data.annotation.Annotation<String> aOther)

Specified by:
compareTo in interface Comparable<nl.lxtreme.ols.api.data.annotation.Annotation<String>>

getAnnotation

public String getAnnotation()

Specified by:
getAnnotation in interface nl.lxtreme.ols.api.data.annotation.Annotation<String>

getChannel

public int getChannel()

Specified by:
getChannel in interface nl.lxtreme.ols.api.data.annotation.Annotation<String>

getEndTimestamp

public long getEndTimestamp()

Specified by:
getEndTimestamp in interface nl.lxtreme.ols.api.data.annotation.DataAnnotation<String>

getStartTimestamp

public long getStartTimestamp()

Specified by:
getStartTimestamp in interface nl.lxtreme.ols.api.data.annotation.DataAnnotation<String>


Copyright © 2012 L'Xtreme IT consultancy. All Rights Reserved.