public class SomeValueSnakImpl extends SnakImpl implements SomeValueSnak
SomeValueSnak.JSON_SNAK_TYPE_NOVALUE, JSON_SNAK_TYPE_SOMEVALUE, JSON_SNAK_TYPE_VALUE| Modifier | Constructor and Description |
|---|---|
|
SomeValueSnakImpl(PropertyIdValue property)
Constructor.
|
protected |
SomeValueSnakImpl(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 SomeValueSnakImpl(PropertyIdValue property)
property - the id of the property used for this some value snakpublic String getSnakType()
getSnakType in class SnakImplpublic <T> T accept(SnakVisitor<T> snakVisitor)
SnakCopyright © 2014–2022 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage