public static enum OntologySpace.SpaceType extends Enum<OntologySpace.SpaceType>
| Enum Constant and Description |
|---|
CORE
Denotes a core space (1..1).
|
CUSTOM
Denotes a custom space (0..1).
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIRISuffix()
Returns the preferred string to be attached to an ontology scope IRI (assuming it ends with a hash
or slash character) in order to reference the included ontology space.
|
static OntologySpace.SpaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OntologySpace.SpaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OntologySpace.SpaceType CORE
public static final OntologySpace.SpaceType CUSTOM
public static OntologySpace.SpaceType[] values()
for (OntologySpace.SpaceType c : OntologySpace.SpaceType.values()) System.out.println(c);
public static OntologySpace.SpaceType 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 String getIRISuffix()
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.