public class AnnotationClasses extends Object
PelletOptions.IGNORE_ANNOTATION_CLASSES option tells Pellet to ignore such annotations. The set of classes
that will be treated as annotation classes are stored in this class. This set can be modified by adding new classes
or removing existing classes.
Annotation classes from OBO are included by default. These are
obo:DbXref, obo:Definition, obo:Subset, obo:Synonym, obo:SynonymType where obo namespace
refers to http://www.geneontology.org/formats/oboInOwl.
| Constructor and Description |
|---|
AnnotationClasses() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(aterm.ATermAppl cls)
Adds the specified class to the set of annotation classes.
|
static boolean |
contains(aterm.ATermAppl cls)
Returns
true if the specified class is defined to be an annotation class AND
PelletOptions.IGNORE_ANNOTATION_CLASSES option is set to true. |
static Set<aterm.ATermAppl> |
getAll()
Returns an unmodifiable copy of the annotation classes regardless of the
PelletOptions.IGNORE_ANNOTATION_CLASSES option. |
static void |
remove(aterm.ATermAppl cls)
Removes the specified class form set of annotation classes.
|
public static void add(aterm.ATermAppl cls)
cls - class to addpublic static boolean contains(aterm.ATermAppl cls)
true if the specified class is defined to be an annotation class AND
PelletOptions.IGNORE_ANNOTATION_CLASSES option is set to true. If the configuration option is
false this function will return false for every class.cls - class to checkpublic static void remove(aterm.ATermAppl cls)
cls - class to remove.public static Set<aterm.ATermAppl> getAll()
PelletOptions.IGNORE_ANNOTATION_CLASSES option.Copyright © 2019. All rights reserved.