NoValueSnak, SomeValueSnak, ValueSnakJacksonNoValueSnak, JacksonSnak, JacksonSomeValueSnak, JacksonValueSnak, NoValueSnakImpl, SnakImpl, SomeValueSnakImpl, ValueSnakImplpublic 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 | 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.
|
Value |
getValue() |
Get the
Value of this Snak, or null if the snak has no specified
value. |
PropertyIdValue getPropertyId()
Value getValue()
Value of this Snak, or null if the snak has no specified
value.<T> T accept(SnakVisitor<T> snakVisitor)
snakVisitor - the SnakVisitorCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage