|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.coode.owlapi.rdf.model.RDFNode org.coode.owlapi.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(IRI iri)
Constructs a named resource (i.e. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
IRI |
getIRI()
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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RDFResourceNode(IRI iri)
public RDFResourceNode(int anonId)
anonId
- The id of the nodeMethod Detail |
---|
public IRI getIRI()
RDFNode
getIRI
in class RDFNode
null
if this is an anonymous resource.public boolean isLiteral()
isLiteral
in class RDFNode
public boolean isAnonymous()
RDFNode
isAnonymous
in class RDFNode
true
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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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 |