Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String key)
Get the attribute value for this key.
|
HashMap<String,String> |
getAttributes() |
String |
group()
Get the group id of the feature.
|
boolean |
hasAttribute(String key)
Check if the feature has a value defined for the specified key.
|
boolean |
hasAttribute(String key,
String value)
Check if the feature attributes include the specified key/value pair.
|
Location |
location()
Get the location of the feature.
|
String |
seqname()
Get the sequence name.
|
String |
toString()
A string representation of the feature.
|
String |
type()
Get the feature type, for example, "exon", "CDS", etc.
|
HashMap<String,String> |
userData()
Get HashMap of user data.
|
String group()
String getAttribute(String key)
key
- The key.boolean hasAttribute(String key)
key
- The key.boolean hasAttribute(String key, String value)
key
- The key.value
- The value.HashMap<String,String> getAttributes()
Copyright © 2000–2018 BioJava. All rights reserved.