test_class.file: wdtk-datamodel/src/test/java/org/wikidata/wdtk/datamodel/helpers/DatamodelConverterTest.java
test_class.identifier: DatamodelConverterTest
test_case.body: @Test
  	public void testSingleBrokenStatement() {
  
  		StatementGroup sg1 = Datamodel.makeStatementGroup(Collections
  				.singletonList(getBrokenStatement()));
  		StatementGroup sg2 = getTestStatementGroup(2,
  				5, 1, EntityIdValue.ET_ITEM);
  
  		List<StatementGroup> brokenSgs = new ArrayList<>();
  		brokenSgs.add(sg1);
  		brokenSgs.add(sg2);
  		List<StatementGroup> fixedSgs = new ArrayList<>();
  		fixedSgs.add(sg2);
  
  		ItemDocument brokenId = Datamodel.makeItemDocument(
  				getTestItemIdValue(2),
  				Collections.emptyList(),
  				Collections.emptyList(),
  				Collections.emptyList(), brokenSgs,
  				Collections.emptyMap());
  
  		ItemDocument fixedId = Datamodel.makeItemDocument(
  				getTestItemIdValue(2),
  				Collections.emptyList(),
  				Collections.emptyList(),
  				Collections.emptyList(), fixedSgs,
  				Collections.emptyMap());
  
  		DatamodelConverter dmc = new DatamodelConverter(
  				new DataObjectFactoryImpl());
  
  		assertEquals(fixedId, dmc.copy(brokenId));
  	}
test_case.class_method_signature: DatamodelConverterTest.testSingleBrokenStatement()
test_case.full_signature: @Test public void testSingleBrokenStatement()
test_case.identifier: testSingleBrokenStatement
test_case.invocations: makeStatementGroup singletonList getBrokenStatement getTestStatementGroup add add add makeItemDocument getTestItemIdValue emptyList emptyList emptyList emptyMap makeItemDocument getTestItemIdValue emptyList emptyList emptyList emptyMap assertEquals copy
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSingleBrokenStatement()
focal_class.declarator: logger = LoggerFactory
  			.getLogger(DatamodelConverter.class)
focal_class.modifier: static final
focal_class.original_string: static final Logger logger = LoggerFactory
  			.getLogger(DatamodelConverter.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: dataObjectFactory
focal_class.modifier: private final
focal_class.original_string: private final DataObjectFactory dataObjectFactory;
focal_class.type: DataObjectFactory
focal_class.var_name: dataObjectFactory
focal_class.declarator: filter = new DocumentDataFilter()
focal_class.modifier: private
focal_class.original_string: private DocumentDataFilter filter = new DocumentDataFilter();
focal_class.type: DocumentDataFilter
focal_class.var_name: filter
focal_class.declarator: deepCopyReferences = true
focal_class.modifier: private
focal_class.original_string: private boolean deepCopyReferences = true;
focal_class.type: boolean
focal_class.var_name: deepCopyReferences
focal_class.file: wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/helpers/DatamodelConverter.java
focal_class.identifier: DatamodelConverter
focal_class.interfaces: implements SnakVisitor<Snak>,
  		ValueVisitor<Value>
focal_class.class_method_signature: DatamodelConverter.DatamodelConverter(DataObjectFactory dataObjectFactory)
focal_class.full_signature: public  DatamodelConverter(DataObjectFactory dataObjectFactory)
focal_class.identifier: DatamodelConverter
focal_class.modifiers: public
focal_class.parameters: (DataObjectFactory dataObjectFactory)
focal_class.signature:  DatamodelConverter(DataObjectFactory dataObjectFactory)
focal_class.class_method_signature: DatamodelConverter.hasOptionDeepCopy()
focal_class.full_signature: @Deprecated public boolean hasOptionDeepCopy()
focal_class.identifier: hasOptionDeepCopy
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasOptionDeepCopy()
focal_class.class_method_signature: DatamodelConverter.setOptionDeepCopy(boolean value)
focal_class.full_signature: @Deprecated public void setOptionDeepCopy(boolean value)
focal_class.identifier: setOptionDeepCopy
focal_class.modifiers: @Deprecated public
focal_class.parameters: (boolean value)
focal_class.return: void
focal_class.signature: void setOptionDeepCopy(boolean value)
focal_class.class_method_signature: DatamodelConverter.hasOptionDeepCopyReferences()
focal_class.full_signature: @Deprecated public boolean hasOptionDeepCopyReferences()
focal_class.identifier: hasOptionDeepCopyReferences
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasOptionDeepCopyReferences()
focal_class.class_method_signature: DatamodelConverter.setOptionDeepCopyReferences(boolean value)
focal_class.full_signature: @Deprecated public void setOptionDeepCopyReferences(boolean value)
focal_class.identifier: setOptionDeepCopyReferences
focal_class.modifiers: @Deprecated public
focal_class.parameters: (boolean value)
focal_class.return: void
focal_class.signature: void setOptionDeepCopyReferences(boolean value)
focal_class.class_method_signature: DatamodelConverter.setOptionFilter(DocumentDataFilter filter)
focal_class.full_signature: @Deprecated public void setOptionFilter(DocumentDataFilter filter)
focal_class.identifier: setOptionFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: (DocumentDataFilter filter)
focal_class.return: void
focal_class.signature: void setOptionFilter(DocumentDataFilter filter)
focal_class.class_method_signature: DatamodelConverter.getOptionLanguageFilter()
focal_class.full_signature: @Deprecated public Set<String> getOptionLanguageFilter()
focal_class.identifier: getOptionLanguageFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getOptionLanguageFilter()
focal_class.class_method_signature: DatamodelConverter.setOptionLanguageFilter(Set<String> languageFilter)
focal_class.full_signature: @Deprecated public void setOptionLanguageFilter(Set<String> languageFilter)
focal_class.identifier: setOptionLanguageFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: (Set<String> languageFilter)
focal_class.return: void
focal_class.signature: void setOptionLanguageFilter(Set<String> languageFilter)
focal_class.class_method_signature: DatamodelConverter.getOptionPropertyFilter()
focal_class.full_signature: @Deprecated public Set<PropertyIdValue> getOptionPropertyFilter()
focal_class.identifier: getOptionPropertyFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: Set<PropertyIdValue>
focal_class.signature: Set<PropertyIdValue> getOptionPropertyFilter()
focal_class.class_method_signature: DatamodelConverter.setOptionPropertyFilter(Set<PropertyIdValue> propertyFilter)
focal_class.full_signature: @Deprecated public void setOptionPropertyFilter(Set<PropertyIdValue> propertyFilter)
focal_class.identifier: setOptionPropertyFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: (Set<PropertyIdValue> propertyFilter)
focal_class.return: void
focal_class.signature: void setOptionPropertyFilter(Set<PropertyIdValue> propertyFilter)
focal_class.class_method_signature: DatamodelConverter.getOptionSiteLinkFilter()
focal_class.full_signature: @Deprecated public Set<String> getOptionSiteLinkFilter()
focal_class.identifier: getOptionSiteLinkFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getOptionSiteLinkFilter()
focal_class.class_method_signature: DatamodelConverter.setOptionSiteLinkFilter(Set<String> siteLinkFilter)
focal_class.full_signature: @Deprecated public void setOptionSiteLinkFilter(Set<String> siteLinkFilter)
focal_class.identifier: setOptionSiteLinkFilter
focal_class.modifiers: @Deprecated public
focal_class.parameters: (Set<String> siteLinkFilter)
focal_class.return: void
focal_class.signature: void setOptionSiteLinkFilter(Set<String> siteLinkFilter)
focal_class.class_method_signature: DatamodelConverter.copy(ItemIdValue object)
focal_class.full_signature: public ItemIdValue copy(ItemIdValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (ItemIdValue object)
focal_class.return: ItemIdValue
focal_class.signature: ItemIdValue copy(ItemIdValue object)
focal_class.class_method_signature: DatamodelConverter.copy(PropertyIdValue object)
focal_class.full_signature: public PropertyIdValue copy(PropertyIdValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (PropertyIdValue object)
focal_class.return: PropertyIdValue
focal_class.signature: PropertyIdValue copy(PropertyIdValue object)
focal_class.class_method_signature: DatamodelConverter.copy(LexemeIdValue object)
focal_class.full_signature: public LexemeIdValue copy(LexemeIdValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (LexemeIdValue object)
focal_class.return: LexemeIdValue
focal_class.signature: LexemeIdValue copy(LexemeIdValue object)
focal_class.class_method_signature: DatamodelConverter.copy(DatatypeIdValue object)
focal_class.full_signature: public DatatypeIdValue copy(DatatypeIdValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (DatatypeIdValue object)
focal_class.return: DatatypeIdValue
focal_class.signature: DatatypeIdValue copy(DatatypeIdValue object)
focal_class.class_method_signature: DatamodelConverter.copy(TimeValue object)
focal_class.full_signature: public TimeValue copy(TimeValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (TimeValue object)
focal_class.return: TimeValue
focal_class.signature: TimeValue copy(TimeValue object)
focal_class.class_method_signature: DatamodelConverter.copy(GlobeCoordinatesValue object)
focal_class.full_signature: public GlobeCoordinatesValue copy(GlobeCoordinatesValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (GlobeCoordinatesValue object)
focal_class.return: GlobeCoordinatesValue
focal_class.signature: GlobeCoordinatesValue copy(GlobeCoordinatesValue object)
focal_class.class_method_signature: DatamodelConverter.copy(StringValue object)
focal_class.full_signature: public StringValue copy(StringValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (StringValue object)
focal_class.return: StringValue
focal_class.signature: StringValue copy(StringValue object)
focal_class.class_method_signature: DatamodelConverter.copy(MonolingualTextValue object)
focal_class.full_signature: public MonolingualTextValue copy(MonolingualTextValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (MonolingualTextValue object)
focal_class.return: MonolingualTextValue
focal_class.signature: MonolingualTextValue copy(MonolingualTextValue object)
focal_class.class_method_signature: DatamodelConverter.copy(QuantityValue object)
focal_class.full_signature: public QuantityValue copy(QuantityValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (QuantityValue object)
focal_class.return: QuantityValue
focal_class.signature: QuantityValue copy(QuantityValue object)
focal_class.class_method_signature: DatamodelConverter.copy(UnsupportedValue object)
focal_class.full_signature: public UnsupportedValue copy(UnsupportedValue object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (UnsupportedValue object)
focal_class.return: UnsupportedValue
focal_class.signature: UnsupportedValue copy(UnsupportedValue object)
focal_class.class_method_signature: DatamodelConverter.copy(Snak snak)
focal_class.full_signature: private Snak copy(Snak snak)
focal_class.identifier: copy
focal_class.modifiers: private
focal_class.parameters: (Snak snak)
focal_class.return: Snak
focal_class.signature: Snak copy(Snak snak)
focal_class.class_method_signature: DatamodelConverter.copy(ValueSnak object)
focal_class.full_signature: public ValueSnak copy(ValueSnak object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (ValueSnak object)
focal_class.return: ValueSnak
focal_class.signature: ValueSnak copy(ValueSnak object)
focal_class.class_method_signature: DatamodelConverter.copy(SomeValueSnak object)
focal_class.full_signature: public SomeValueSnak copy(SomeValueSnak object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (SomeValueSnak object)
focal_class.return: SomeValueSnak
focal_class.signature: SomeValueSnak copy(SomeValueSnak object)
focal_class.class_method_signature: DatamodelConverter.copy(NoValueSnak object)
focal_class.full_signature: public NoValueSnak copy(NoValueSnak object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (NoValueSnak object)
focal_class.return: NoValueSnak
focal_class.signature: NoValueSnak copy(NoValueSnak object)
focal_class.class_method_signature: DatamodelConverter.copy(SnakGroup object)
focal_class.full_signature: public SnakGroup copy(SnakGroup object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (SnakGroup object)
focal_class.return: SnakGroup
focal_class.signature: SnakGroup copy(SnakGroup object)
focal_class.class_method_signature: DatamodelConverter.copy(Claim object)
focal_class.full_signature: public Claim copy(Claim object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (Claim object)
focal_class.return: Claim
focal_class.signature: Claim copy(Claim object)
focal_class.class_method_signature: DatamodelConverter.copy(Reference object)
focal_class.full_signature: public Reference copy(Reference object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (Reference object)
focal_class.return: Reference
focal_class.signature: Reference copy(Reference object)
focal_class.class_method_signature: DatamodelConverter.copy(Statement object)
focal_class.full_signature: public Statement copy(Statement object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (Statement object)
focal_class.return: Statement
focal_class.signature: Statement copy(Statement object)
focal_class.class_method_signature: DatamodelConverter.copy(StatementGroup object)
focal_class.full_signature: public StatementGroup copy(StatementGroup object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (StatementGroup object)
focal_class.return: StatementGroup
focal_class.signature: StatementGroup copy(StatementGroup object)
focal_class.class_method_signature: DatamodelConverter.copy(SiteLink object)
focal_class.full_signature: public SiteLink copy(SiteLink object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (SiteLink object)
focal_class.return: SiteLink
focal_class.signature: SiteLink copy(SiteLink object)
focal_class.class_method_signature: DatamodelConverter.copy(PropertyDocument object)
focal_class.full_signature: public PropertyDocument copy(PropertyDocument object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (PropertyDocument object)
focal_class.return: PropertyDocument
focal_class.signature: PropertyDocument copy(PropertyDocument object)
focal_class.class_method_signature: DatamodelConverter.copy(ItemDocument object)
focal_class.full_signature: public ItemDocument copy(ItemDocument object)
focal_class.identifier: copy
focal_class.modifiers: public
focal_class.parameters: (ItemDocument object)
focal_class.return: ItemDocument
focal_class.signature: ItemDocument copy(ItemDocument object)
focal_class.class_method_signature: DatamodelConverter.copySnak(Snak snak)
focal_class.full_signature: public Snak copySnak(Snak snak)
focal_class.identifier: copySnak
focal_class.modifiers: public
focal_class.parameters: (Snak snak)
focal_class.return: Snak
focal_class.signature: Snak copySnak(Snak snak)
focal_class.class_method_signature: DatamodelConverter.visit(ValueSnak snak)
focal_class.full_signature: @Override public Snak visit(ValueSnak snak)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (ValueSnak snak)
focal_class.return: Snak
focal_class.signature: Snak visit(ValueSnak snak)
focal_class.class_method_signature: DatamodelConverter.visit(SomeValueSnak snak)
focal_class.full_signature: @Override public Snak visit(SomeValueSnak snak)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (SomeValueSnak snak)
focal_class.return: Snak
focal_class.signature: Snak visit(SomeValueSnak snak)
focal_class.class_method_signature: DatamodelConverter.visit(NoValueSnak snak)
focal_class.full_signature: @Override public Snak visit(NoValueSnak snak)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (NoValueSnak snak)
focal_class.return: Snak
focal_class.signature: Snak visit(NoValueSnak snak)
focal_class.class_method_signature: DatamodelConverter.copyValue(Value value)
focal_class.full_signature: public Value copyValue(Value value)
focal_class.identifier: copyValue
focal_class.modifiers: public
focal_class.parameters: (Value value)
focal_class.return: Value
focal_class.signature: Value copyValue(Value value)
focal_class.class_method_signature: DatamodelConverter.visit(EntityIdValue value)
focal_class.full_signature: @Override public Value visit(EntityIdValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (EntityIdValue value)
focal_class.return: Value
focal_class.signature: Value visit(EntityIdValue value)
focal_class.class_method_signature: DatamodelConverter.visit(GlobeCoordinatesValue value)
focal_class.full_signature: @Override public Value visit(GlobeCoordinatesValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (GlobeCoordinatesValue value)
focal_class.return: Value
focal_class.signature: Value visit(GlobeCoordinatesValue value)
focal_class.class_method_signature: DatamodelConverter.visit(MonolingualTextValue value)
focal_class.full_signature: @Override public Value visit(MonolingualTextValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (MonolingualTextValue value)
focal_class.return: Value
focal_class.signature: Value visit(MonolingualTextValue value)
focal_class.class_method_signature: DatamodelConverter.visit(QuantityValue value)
focal_class.full_signature: @Override public Value visit(QuantityValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (QuantityValue value)
focal_class.return: Value
focal_class.signature: Value visit(QuantityValue value)
focal_class.class_method_signature: DatamodelConverter.visit(StringValue value)
focal_class.full_signature: @Override public Value visit(StringValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (StringValue value)
focal_class.return: Value
focal_class.signature: Value visit(StringValue value)
focal_class.class_method_signature: DatamodelConverter.visit(TimeValue value)
focal_class.full_signature: @Override public Value visit(TimeValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (TimeValue value)
focal_class.return: Value
focal_class.signature: Value visit(TimeValue value)
focal_class.class_method_signature: DatamodelConverter.visit(UnsupportedValue value)
focal_class.full_signature: @Override public Value visit(UnsupportedValue value)
focal_class.identifier: visit
focal_class.modifiers: @Override public
focal_class.parameters: (UnsupportedValue value)
focal_class.return: Value
focal_class.signature: Value visit(UnsupportedValue value)
focal_class.class_method_signature: DatamodelConverter.copyAliasMap(
  			Map<String, List<MonolingualTextValue>> aliasMap)
focal_class.full_signature: private List<MonolingualTextValue> copyAliasMap(
  			Map<String, List<MonolingualTextValue>> aliasMap)
focal_class.identifier: copyAliasMap
focal_class.modifiers: private
focal_class.parameters: (
  			Map<String, List<MonolingualTextValue>> aliasMap)
focal_class.return: List<MonolingualTextValue>
focal_class.signature: List<MonolingualTextValue> copyAliasMap(
  			Map<String, List<MonolingualTextValue>> aliasMap)
focal_class.class_method_signature: DatamodelConverter.copy(List<SnakGroup> snakGroups)
focal_class.full_signature: private List<SnakGroup> copy(List<SnakGroup> snakGroups)
focal_class.identifier: copy
focal_class.modifiers: private
focal_class.parameters: (List<SnakGroup> snakGroups)
focal_class.return: List<SnakGroup>
focal_class.signature: List<SnakGroup> copy(List<SnakGroup> snakGroups)
focal_class.class_method_signature: DatamodelConverter.copyReferences(List<Reference> references)
focal_class.full_signature: private List<Reference> copyReferences(List<Reference> references)
focal_class.identifier: copyReferences
focal_class.modifiers: private
focal_class.parameters: (List<Reference> references)
focal_class.return: List<Reference>
focal_class.signature: List<Reference> copyReferences(List<Reference> references)
focal_class.class_method_signature: DatamodelConverter.copyStatementGroups(List<StatementGroup> statementGroups)
focal_class.full_signature: private List<StatementGroup> copyStatementGroups(List<StatementGroup> statementGroups)
focal_class.identifier: copyStatementGroups
focal_class.modifiers: private
focal_class.parameters: (List<StatementGroup> statementGroups)
focal_class.return: List<StatementGroup>
focal_class.signature: List<StatementGroup> copyStatementGroups(List<StatementGroup> statementGroups)
focal_class.class_method_signature: DatamodelConverter.copyMonoLingualTextValues(Collection<MonolingualTextValue> monoLingualTextValues)
focal_class.full_signature: private List<MonolingualTextValue> copyMonoLingualTextValues(Collection<MonolingualTextValue> monoLingualTextValues)
focal_class.identifier: copyMonoLingualTextValues
focal_class.modifiers: private
focal_class.parameters: (Collection<MonolingualTextValue> monoLingualTextValues)
focal_class.return: List<MonolingualTextValue>
focal_class.signature: List<MonolingualTextValue> copyMonoLingualTextValues(Collection<MonolingualTextValue> monoLingualTextValues)
focal_class.class_method_signature: DatamodelConverter.copySiteLinks(Map<String, SiteLink> siteLinks)
focal_class.full_signature: private Map<String, SiteLink> copySiteLinks(Map<String, SiteLink> siteLinks)
focal_class.identifier: copySiteLinks
focal_class.modifiers: private
focal_class.parameters: (Map<String, SiteLink> siteLinks)
focal_class.return: Map<String, SiteLink>
focal_class.signature: Map<String, SiteLink> copySiteLinks(Map<String, SiteLink> siteLinks)
focal_method.body: public ItemIdValue copy(ItemIdValue object) {
  		return dataObjectFactory.getItemIdValue(object.getId(), object.getSiteIri());
  	}
focal_method.class_method_signature: DatamodelConverter.copy(ItemIdValue object)
focal_method.full_signature: public ItemIdValue copy(ItemIdValue object)
focal_method.identifier: copy
focal_method.invocations: getItemIdValue getId getSiteIri
focal_method.modifiers: public
focal_method.parameters: (ItemIdValue object)
focal_method.return: ItemIdValue
focal_method.signature: ItemIdValue copy(ItemIdValue object)