| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| org.wikidata.wdtk.datamodel.json.jackson.datavalues |
Jackson-compatible implementation of all WDTK
Value interfaces for use as
snak values. |
| Modifier and Type | Method and Description |
|---|---|
PropertyIdValue |
DatamodelConverter.copy(PropertyIdValue object)
Copies a
PropertyIdValue. |
static PropertyIdValue |
Datamodel.makePropertyIdValue(String id,
String siteIri)
Creates a
PropertyIdValue. |
static PropertyIdValue |
Datamodel.makeWikidataPropertyIdValue(String id)
Creates a
PropertyIdValue. |
| Modifier and Type | Method and Description |
|---|---|
Set<PropertyIdValue> |
DatamodelConverter.getOptionPropertyFilter()
Returns the (possibly empty) set of
PropertyIdValue objects that
are used to filter statements while copying data, or null if no such
filter is configured (default). |
| Modifier and Type | Method and Description |
|---|---|
void |
DatamodelConverter.setOptionPropertyFilter(Set<PropertyIdValue> propertyFilter)
Sets the (possibly empty) set of
PropertyIdValue objects that are
used to filter statements while copying data. |
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyIdValueImpl
Generic implementation of
PropertyIdValue that works with arbitrary
Wikibase instances: it requires a baseIri that identifies the site globally. |
| Modifier and Type | Method and Description |
|---|---|
PropertyIdValue |
StatementGroupImpl.getProperty() |
PropertyIdValue |
SnakGroupImpl.getProperty() |
PropertyIdValue |
PropertyDocumentImpl.getPropertyId() |
PropertyIdValue |
SnakImpl.getPropertyId() |
PropertyIdValue |
DataObjectFactoryImpl.getPropertyIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
NoValueSnak |
DataObjectFactoryImpl.getNoValueSnak(PropertyIdValue propertyId) |
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
PropertyDocument |
DataObjectFactoryImpl.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
SomeValueSnak |
DataObjectFactoryImpl.getSomeValueSnak(PropertyIdValue propertyId) |
ValueSnak |
DataObjectFactoryImpl.getValueSnak(PropertyIdValue propertyId,
Value value) |
| Modifier and Type | Method and Description |
|---|---|
PropertyIdValue |
SnakGroup.getProperty()
Get the property used by each snak in this group.
|
PropertyIdValue |
StatementGroup.getProperty()
Get the property used in the main snak of the
Claim of each
statement in this group. |
PropertyIdValue |
PropertyDocument.getPropertyId()
Return the ID of the property that the data refers to.
|
PropertyIdValue |
Snak.getPropertyId()
Get the id of the property that this snak refers to.
|
PropertyIdValue |
DataObjectFactory.getPropertyIdValue(String id,
String siteIri)
Creates a
PropertyIdValue. |
| Modifier and Type | Method and Description |
|---|---|
NoValueSnak |
DataObjectFactory.getNoValueSnak(PropertyIdValue propertyId)
Creates a
NoValueSnak. |
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId)
Creates a
PropertyDocument without any statements. |
PropertyDocument |
DataObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId)
Creates a
PropertyDocument. |
SomeValueSnak |
DataObjectFactory.getSomeValueSnak(PropertyIdValue propertyId)
Creates a
SomeValueSnak. |
ValueSnak |
DataObjectFactory.getValueSnak(PropertyIdValue propertyId,
Value value)
Creates a
ValueSnak. |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityDocumentProcessorFilter.setPropertyFilter(Set<PropertyIdValue> propertyFilter)
Sets a property filter.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyIdValue |
SnakGroupFromJson.getProperty() |
PropertyIdValue |
StatementGroupFromJson.getProperty() |
PropertyIdValue |
JacksonSnak.getPropertyId() |
PropertyIdValue |
JacksonPropertyDocument.getPropertyId() |
PropertyIdValue |
JacksonObjectFactory.getPropertyIdValue(String id,
String siteIri) |
| Modifier and Type | Method and Description |
|---|---|
NoValueSnak |
JacksonObjectFactory.getNoValueSnak(PropertyIdValue propertyId) |
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
DatatypeIdValue datatypeId) |
PropertyDocument |
JacksonObjectFactory.getPropertyDocument(PropertyIdValue propertyId,
List<MonolingualTextValue> labels,
List<MonolingualTextValue> descriptions,
List<MonolingualTextValue> aliases,
List<StatementGroup> statementGroups,
DatatypeIdValue datatypeId) |
SomeValueSnak |
JacksonObjectFactory.getSomeValueSnak(PropertyIdValue propertyId) |
ValueSnak |
JacksonObjectFactory.getValueSnak(PropertyIdValue propertyId,
Value value)
Creates a
JacksonValueSnak. |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValuePropertyId
Jackson implementation of
PropertyIdValue. |
Copyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage