public class AnnotationManagerImpl extends Object implements AnnotationManager
AnnotationManager interface. Annotations are stored in one big
hash with Strings as keys. If you are looking for a high performance implementation of
AnnotationManager, don't look here. However, annotations are only supposed to hold
data which
| Constructor and Description |
|---|
AnnotationManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNetworkAnnotation(String typ)
Returns true iff the network contains an annotation of the specified type.
|
boolean |
containsReactionAnnotation(int reaction,
String typ)
Returns true iff the reaction contains an annotation of the specified type.
|
boolean |
containsSpeciesAnnotation(int species,
String typ)
Returns true iff the species contains an annotation of the specified type.
|
String |
getNetworkAnnotation(String typ)
Gets the network annotation of the specified field.
|
Collection<String> |
getNetworkAnnotationTypes()
Gets the names of the network reaction.
|
String |
getReactionAnnotation(int reaction,
String typ)
Gets the reaction annotation of the specified field.
|
Collection<String> |
getReactionAnnotationTypes(int reaction)
Gets the names of the species reaction.
|
String |
getSpeciesAnnotation(int species,
String typ)
Gets the species annotation of the specified field.
|
Collection<String> |
getSpeciesAnnotationTypes(int species)
Gets the names of the species annotations.
|
void |
setNetworkAnnotation(String typ,
String annotation)
Sets the network annotation of the specified field.
|
void |
setReactionAnnotation(int reaction,
String typ,
String annotation)
Sets the reaction annotation of the specified field.
|
void |
setSpeciesAnnotation(int species,
String typ,
String annotation)
Sets the species annotation of the specified field.
|
public boolean containsNetworkAnnotation(String typ)
AnnotationManagercontainsNetworkAnnotation in interface AnnotationManagertyp - field name of the annotationpublic boolean containsReactionAnnotation(int reaction,
String typ)
AnnotationManagercontainsReactionAnnotation in interface AnnotationManagerreaction - index of the reactiontyp - field name of the annotationpublic boolean containsSpeciesAnnotation(int species,
String typ)
AnnotationManagercontainsSpeciesAnnotation in interface AnnotationManagerspecies - index of the speciestyp - field name of the annotationpublic String getNetworkAnnotation(String typ)
AnnotationManagergetNetworkAnnotation in interface AnnotationManagertyp - name of the fieldpublic Collection<String> getNetworkAnnotationTypes()
AnnotationManagergetNetworkAnnotationTypes in interface AnnotationManagerpublic String getReactionAnnotation(int reaction, String typ)
AnnotationManagergetReactionAnnotation in interface AnnotationManagerreaction - index of the reactiontyp - name of the fieldpublic Collection<String> getReactionAnnotationTypes(int reaction)
AnnotationManagergetReactionAnnotationTypes in interface AnnotationManagerreaction - index of the reactionpublic String getSpeciesAnnotation(int species, String typ)
AnnotationManagergetSpeciesAnnotation in interface AnnotationManagerspecies - index of the speciestyp - name of the fieldpublic Collection<String> getSpeciesAnnotationTypes(int species)
AnnotationManagergetSpeciesAnnotationTypes in interface AnnotationManagerspecies - index of the speciespublic void setNetworkAnnotation(String typ, String annotation)
AnnotationManagersetNetworkAnnotation in interface AnnotationManagertyp - name of the fieldannotation - network annotationpublic void setReactionAnnotation(int reaction,
String typ,
String annotation)
AnnotationManagersetReactionAnnotation in interface AnnotationManagerreaction - index of the reactiontyp - name of the fieldannotation - reaction annotationpublic void setSpeciesAnnotation(int species,
String typ,
String annotation)
AnnotationManagersetSpeciesAnnotation in interface AnnotationManagerspecies - index of the speciestyp - name of the fieldannotation - species annotationCopyright © 2007–2021. All rights reserved.