public abstract class KiWiNode extends Object implements org.openrdf.model.Value, Serializable
Modifier | Constructor and Description |
---|---|
protected |
KiWiNode() |
protected |
KiWiNode(Date created) |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated()
Return the timestamp when this node has been created
|
long |
getId()
Return the database ID of this node.
|
abstract boolean |
isAnonymousResource()
Return true in case the node is an anonymous resource / BNode (avoids instanceof test)
|
abstract boolean |
isLiteral()
Return true in case the node is a literal (avoids instanceof test)
|
abstract boolean |
isUriResource()
Return true in case the node is a uri resource (avoids instanceof test)
|
void |
setCreated(Date created)
Set the timestamp when this resource has been created
|
void |
setId(long id)
Update the database id of the node.
|
protected KiWiNode()
protected KiWiNode(Date created)
public long getId()
public void setId(long id)
id
- the id to setpublic Date getCreated()
public void setCreated(Date created)
created
- the created to setpublic abstract boolean isUriResource()
public abstract boolean isAnonymousResource()
public abstract boolean isLiteral()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.