public class NoValueSnakImpl extends SnakImpl implements NoValueSnak
NoValueSnak.JSON_SNAK_TYPE_NOVALUE, JSON_SNAK_TYPE_SOMEVALUE, JSON_SNAK_TYPE_VALUE| Modifier | Constructor and Description |
|---|---|
|
NoValueSnakImpl(PropertyIdValue property)
Constructor.
|
protected |
NoValueSnakImpl(String property,
String siteIri)
Constructor for deserialization from JSON with Jackson.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SnakVisitor<T> snakVisitor)
Accept a SnakVisitor and return its output.
|
boolean |
equals(Object obj) |
String |
getSnakType() |
int |
hashCode() |
String |
toString() |
getProperty, getPropertyIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyIdpublic NoValueSnakImpl(PropertyIdValue property)
property - the property id used by this no value snakpublic <T> T accept(SnakVisitor<T> snakVisitor)
Snakpublic String getSnakType()
getSnakType in class SnakImplCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage