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, setId
public KiWiAnonResource()
public KiWiAnonResource(String id)
@Deprecated public String getAnonId()
@Deprecated public void setAnonId(String id)
public String getID()
getID
in interface org.openrdf.model.BNode
public String stringValue()
Literal
's label, a URI
's URI or a BNode
's ID.stringValue
in interface org.openrdf.model.Value
public boolean isAnonymousResource()
KiWiResource
isAnonymousResource
in class KiWiResource
public boolean isLiteral()
KiWiResource
isLiteral
in class KiWiResource
public boolean isUriResource()
KiWiNode
isUriResource
in class KiWiResource
public boolean equals(Object o)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.