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, getPropertyId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPropertyId
public SomeValueSnakImpl(PropertyIdValue property)
property
- the id of the property used for this some value snakpublic String getSnakType()
getSnakType
in class SnakImpl
public <T> T accept(SnakVisitor<T> snakVisitor)
Snak
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