public enum OBOIdType extends Enum<OBOIdType>
| Enum Constant and Description |
|---|
CANONICAL_PREFIXED_ID
Must contain a colon character in the ID.
|
NON_CANONICAL_PREFIXED_ID
Must contain a colon character somewhere in the ID.
|
UNPREFIXED_ID
Any unprefixed ID.
|
URL_AS_ID
Any string with an http: or https: prefix.
|
| Modifier and Type | Method and Description |
|---|---|
static OBOIdType |
getIdType(String oboId)
Gets the OBOIdType for a given OBO ID.
|
org.semanticweb.owlapi.model.IRI |
getIRIFromOBOId(org.semanticweb.owlapi.model.OWLOntologyID ontologyID,
IDSpaceManager idSpaceManager,
String oboId) |
Pattern |
getPattern() |
static OBOIdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OBOIdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OBOIdType URL_AS_ID
public static final OBOIdType UNPREFIXED_ID
public static final OBOIdType CANONICAL_PREFIXED_ID
public static final OBOIdType NON_CANONICAL_PREFIXED_ID
public static OBOIdType[] values()
for (OBOIdType c : OBOIdType.values()) System.out.println(c);
public static OBOIdType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Pattern getPattern()
public org.semanticweb.owlapi.model.IRI getIRIFromOBOId(org.semanticweb.owlapi.model.OWLOntologyID ontologyID,
IDSpaceManager idSpaceManager,
String oboId)
ontologyID - ontologyIDidSpaceManager - idSpaceManageroboId - oboIdCopyright © 2014 The University of Manchester. All Rights Reserved.