|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.repository.NamedGraph
public class NamedGraph
Named Graph object model, reflects the named graph's properties
| Nested Class Summary | |
|---|---|
static class |
NamedGraph.Type
The allowable named graph types. |
| Method Summary | |
|---|---|
void |
commit(javax.servlet.http.HttpServletRequest request)
commit - commit any changes made to this object (and any others) |
int |
compareTo(NamedGraph o)
|
boolean |
equals(java.lang.Object b)
|
static NamedGraph |
find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI name)
Returns a named graph object, or null if this is not a valid named graph OR context. |
static NamedGraph |
find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI name,
boolean createp)
Returns a named graph object, or null if this is not a valid named graph OR context and createp was false. |
static java.util.Collection<NamedGraph> |
findAll(javax.servlet.http.HttpServletRequest request)
Get an iterable collection of all known named graphs AND Contexts. |
java.lang.String |
getLabel()
Getter for the field label. |
org.openrdf.model.URI |
getName()
Getter for the field name. |
NamedGraph.Type |
getType()
Getter for the field type. |
java.lang.String |
getTypeLabel()
Getter for the field typeLabel. |
org.openrdf.model.URI |
getTypeURI()
Getter for the field type, but returns URI form. |
boolean |
isAnonymousReadable()
Can be read by anonymous user (i.e. |
boolean |
isManaged()
When true, graph has metadata and is managed by repository. |
void |
setLabel(javax.servlet.http.HttpServletRequest request,
java.lang.String nl)
Setter for the field label. |
void |
setType(javax.servlet.http.HttpServletRequest request,
NamedGraph.Type nt)
Setter for the field type. |
void |
setType(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI nt)
Setter for the field type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Collection<NamedGraph> findAll(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
request - a HttpServletRequest object.
Collection object.
javax.servlet.ServletException - if any.
public static NamedGraph find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI name)
throws javax.servlet.ServletException
request - a HttpServletRequest object.name - name of named-graph or context, a URI object.
NamedGraph object representing named graph, or null if no graph or context exists.
javax.servlet.ServletException - if any.
public static NamedGraph find(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI name,
boolean createp)
throws javax.servlet.ServletException
request - a HttpServletRequest object.name - name of named-graph or context, a URI object.createp - a boolean, true if graph should be created
NamedGraph object representing named graph, or null if no graph or context exists UNLESS createp is true.
javax.servlet.ServletException - if any.public org.openrdf.model.URI getName()
Getter for the field name.
URI object.public java.lang.String getLabel()
Getter for the field label.
String object.public NamedGraph.Type getType()
Getter for the field type.
URI object.public org.openrdf.model.URI getTypeURI()
Getter for the field type, but returns URI form.
URI object.public java.lang.String getTypeLabel()
Getter for the field typeLabel.
String object.public boolean isAnonymousReadable()
public boolean isManaged()
public void setLabel(javax.servlet.http.HttpServletRequest request,
java.lang.String nl)
throws javax.servlet.ServletException
Setter for the field label.
request - a HttpServletRequest object.nl - a String object.
javax.servlet.ServletException - if any.
public void setType(javax.servlet.http.HttpServletRequest request,
org.openrdf.model.URI nt)
throws javax.servlet.ServletException
Setter for the field type.
request - a HttpServletRequest object.nt - a NamedGraph.Type object.
javax.servlet.ServletException - if any.
public void setType(javax.servlet.http.HttpServletRequest request,
NamedGraph.Type nt)
throws javax.servlet.ServletException
Setter for the field type.
request - a HttpServletRequest object.nt - a URI object.
javax.servlet.ServletException - if any.
public void commit(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
commit - commit any changes made to this object (and any others)
request - a HttpServletRequest object.
javax.servlet.ServletException - if any.public boolean equals(java.lang.Object b)
equals in class java.lang.Objectpublic int compareTo(NamedGraph o)
compareTo in interface java.lang.Comparable<NamedGraph>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||