|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NamedGraph.Type>
org.eaglei.repository.NamedGraph.Type
public static enum NamedGraph.Type
The allowable named graph types. Although the type itself is part of the repository's internal ontology and thus appears that it might be easily changed, in reality, the semantics of named graph types are hardcoded that if they are changed or extended, updating this enum is the least of the work required. The enum's symbolic name is how the named graph type appears in the API, at least, where a keyword is used instead of the URI.
| Enum Constant Summary | |
|---|---|
internal
|
|
metadata
|
|
ontology
|
|
published
|
|
workspace
|
|
| Field Summary | |
|---|---|
org.openrdf.model.URI |
uri
|
| Method Summary | |
|---|---|
java.lang.String |
getTitle()
Get pretty title to include in e.g. |
static NamedGraph.Type |
parse(java.lang.String v)
Interpret string as one of the enumerated type names |
static NamedGraph.Type |
parse(org.openrdf.model.URI v)
Interpret URI as one of the enumerated type names |
static NamedGraph.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NamedGraph.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NamedGraph.Type ontology
public static final NamedGraph.Type metadata
public static final NamedGraph.Type workspace
public static final NamedGraph.Type published
public static final NamedGraph.Type internal
| Field Detail |
|---|
public org.openrdf.model.URI uri
| Method Detail |
|---|
public static NamedGraph.Type[] values()
for (NamedGraph.Type c : NamedGraph.Type.values()) System.out.println(c);
public static NamedGraph.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static NamedGraph.Type parse(java.lang.String v)
public static NamedGraph.Type parse(org.openrdf.model.URI v)
public java.lang.String getTitle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||