public interface Snak
Statement (which can be
viewed as collection of Snaks about an Entity, together with a list of
references).
The most basic (and most common) form of Snaks are property-value pairs, but other forms exist.
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SnakVisitor<T> snakVisitor)
Accept a SnakVisitor and return its output.
|
PropertyIdValue |
getPropertyId()
Get the id of the property that this snak refers to.
|
PropertyIdValue getPropertyId()
<T> T accept(SnakVisitor<T> snakVisitor)
snakVisitor - the SnakVisitorCopyright © 2014 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage