public interface FeatureI
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttribute(java.lang.String key)
Get the attribute value for this key.
|
java.lang.String |
group()
Get the group id of the feature.
|
boolean |
hasAttribute(java.lang.String key)
Check if the feature has a value defined for the specified key.
|
boolean |
hasAttribute(java.lang.String key,
java.lang.String value)
Check if the feature attributes include the specified key/value pair.
|
Location |
location()
Get the location of the feature.
|
java.lang.String |
seqname()
Get the sequence name.
|
java.lang.String |
toString()
A string representation of the feature.
|
java.lang.String |
type()
Get the feature type, for example, "exon", "CDS", etc.
|
java.util.HashMap<java.lang.String,java.lang.Object> |
userData()
Get HashMap of user data.
|
Location location()
java.lang.String group()
java.lang.String type()
java.lang.String seqname()
java.lang.String getAttribute(java.lang.String key)
key
- The key.boolean hasAttribute(java.lang.String key)
key
- The key.boolean hasAttribute(java.lang.String key, java.lang.String value)
key
- The key.value
- The value.java.lang.String toString()
toString
in class java.lang.Object
java.util.HashMap<java.lang.String,java.lang.Object> userData()