|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.coode.owl.rdf.model.RDFNode
org.coode.owl.rdf.model.RDFResourceNode
public class RDFResourceNode
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 06-Dec-2006
| Constructor Summary | |
|---|---|
RDFResourceNode(int anonId)
Constructs an anonymous node, which has the specified ID. |
|
RDFResourceNode(java.net.URI uri)
Constructs a named resource (i.e. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.net.URI |
getURI()
Gets the URI of the resource. |
int |
hashCode()
|
boolean |
isAnonymous()
Determines if this node is a resource and is anonymous. |
boolean |
isLiteral()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RDFResourceNode(java.net.URI uri)
public RDFResourceNode(int anonId)
anonId - The id of the node| Method Detail |
|---|
public java.net.URI getURI()
RDFNode
getURI in class RDFNodenull if this is an anonymous resource.public boolean isLiteral()
isLiteral in class RDFNodepublic boolean isAnonymous()
RDFNode
isAnonymous in class RDFNodetrue if this is a resource node (i.e.
isLiteral returns false) and the
node is anonymous, or false if this is a
resource node and is not anonymous.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||