public class KiWiAnonResource extends KiWiResource implements org.openrdf.model.BNode
| Constructor and Description |
|---|
KiWiAnonResource() |
KiWiAnonResource(String id) |
KiWiAnonResource(String id,
Date created) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnonId()
Deprecated.
|
String |
getID()
retrieves this blank node's identifier.
|
int |
hashCode() |
boolean |
isAnonymousResource()
Return true if the resource is an anonymous resource / blank node
|
boolean |
isLiteral()
Return true if the node is a literal.
|
boolean |
isUriResource()
Return true in case the node is a uri resource (avoids instanceof test)
|
void |
setAnonId(String id)
Deprecated.
|
String |
stringValue()
Returns the String-value of a Value object.
|
String |
toString() |
getCreated, getId, setCreated, setIdpublic KiWiAnonResource()
public KiWiAnonResource(String id)
@Deprecated public String getAnonId()
@Deprecated public void setAnonId(String id)
public String getID()
getID in interface org.openrdf.model.BNodepublic String stringValue()
Literal's label, a URI's URI or a BNode's ID.stringValue in interface org.openrdf.model.Valuepublic boolean isAnonymousResource()
KiWiResourceisAnonymousResource in class KiWiResourcepublic boolean isLiteral()
KiWiResourceisLiteral in class KiWiResourcepublic boolean isUriResource()
KiWiNodeisUriResource in class KiWiResourcepublic boolean equals(Object o)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.