public class Annotation extends Object implements Comparable<Annotation>
PipelineField| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Annotation.AnnotationBuilder
Builder to build  
Annotation. | 
| Constructor and Description | 
|---|
Annotation()  | 
Annotation(Annotation another)  | 
Annotation(String type,
          long start,
          long end)  | 
Annotation(String type,
          long start,
          long end,
          Map<String,String> features)  | 
Annotation(String type,
          long start,
          long end,
          Map<String,String> features,
          String label)  | 
| Modifier and Type | Method and Description | 
|---|---|
Annotation | 
addFeature(String name,
          String val)
Deprecated.  
 | 
void | 
addFeatures(Map<String,String> features)
Deprecated.  
 | 
int | 
compareTo(Annotation target)  | 
boolean | 
equals(Object o)  | 
Range<Integer> | 
getCharRange()  | 
long | 
getEnd()  | 
int | 
getFeatureCount()
Deprecated.  
 | 
Map<String,String> | 
getFeatures()
Deprecated.  
 | 
String | 
getLabel()  | 
long | 
getStart()  | 
String | 
getType()  | 
int | 
hashCode()  | 
static Annotation.AnnotationBuilder | 
newAnnotation()  | 
Annotation | 
setEnd(long end)  | 
Annotation | 
setStart(long start)  | 
Annotation | 
setType(String type)  | 
String | 
toString()
Returns a String representation of the Annotation 
 | 
public Annotation()
public Annotation(Annotation another)
public Annotation(String type, long start, long end, Map<String,String> features, String label)
public Annotation(String type, long start, long end)
@Deprecated public int getFeatureCount()
public String getType()
public Annotation setType(String type)
public long getStart()
public Annotation setStart(long start)
public long getEnd()
public Annotation setEnd(long end)
@Deprecated public Map<String,String> getFeatures()
@Deprecated public void addFeatures(Map<String,String> features)
@Deprecated public Annotation addFeature(String name, String val)
public String getLabel()
public int compareTo(Annotation target)
compareTo in interface Comparable<Annotation>public String toString()
public static Annotation.AnnotationBuilder newAnnotation()