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, getPropertyId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyId
public NoValueSnakImpl(PropertyIdValue property)
property
- the property id used by this no value snakpublic <T> T accept(SnakVisitor<T> snakVisitor)
Snak
public String getSnakType()
getSnakType
in class SnakImpl
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage