|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.common.rdb.query.IRIReference
public class IRIReference
Implementation of IRITerm that maps an Anzo Resource to a Glitter IRITerm
| Constructor Summary | |
|---|---|
IRIReference(CompositeNodeLayout nodeLayout,
long id)
Create a new IRIReference for the URI with the given ID |
|
IRIReference(java.lang.String uri)
Create a new IRIReference for the given URI string |
|
IRIReference(java.net.URI uri)
Create a new IRIReference for the given java.net.URI |
|
IRIReference(org.openrdf.model.URI uri)
Create a new IRIReference for the given org.openrdf.model.URI |
|
| Method Summary | |
|---|---|
void |
clear()
Clear the cached values from term |
int |
compareTo(TriplePatternComponent o)
Compares to TriplePatternComponents for ordering. |
boolean |
equals(java.lang.Object other)
|
long |
getId()
Get the ID of this node in the database |
org.openrdf.model.URI |
getNode(java.util.Map<java.lang.Long,org.openrdf.model.Value> alreadyStored)
Get the Value of this URI |
java.net.URI |
getURI()
|
org.openrdf.model.Value |
getValue()
Get the Value representation of this term |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IRIReference(java.net.URI uri)
uri - java.net.URI representation of URI
public IRIReference(CompositeNodeLayout nodeLayout,
long id)
nodeLayout - source of dataid - ID of URI
public IRIReference(java.lang.String uri)
throws java.net.URISyntaxException
uri - String representation of a URI value
java.net.URISyntaxException - if the provided URI string is invalidpublic IRIReference(org.openrdf.model.URI uri)
uri - org.openrdf.model.URI representation of URI value| Method Detail |
|---|
public void clear()
public java.net.URI getURI()
getURI in interface IRITermURI for this IRI Glitter term.public long getId()
IRdbTerm
getId in interface IRdbTermpublic org.openrdf.model.URI getNode(java.util.Map<java.lang.Long,org.openrdf.model.Value> alreadyStored)
alreadyStored - cache of IDs and their URI Values
public org.openrdf.model.Value getValue()
IRdbTerm
getValue in interface IRdbTermpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in interface TriplePatternComponentequals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TriplePatternComponent o)
TriplePatternComponent
compareTo in interface TriplePatternComponentTriplePatternComponent.equals(Object) is
true, and 1 otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||