test_class.declarator: propertyRegister
test_class.original_string: PropertyRegister propertyRegister;
test_class.type: PropertyRegister
test_class.var_name: propertyRegister
test_class.declarator: siteIri = "http://www.example.org/entities/"
test_class.modifier: final
test_class.original_string: final String siteIri = "http://www.example.org/entities/";
test_class.type: String
test_class.var_name: siteIri
test_class.declarator: objectFactory = new TestObjectFactory()
test_class.modifier: final
test_class.original_string: final TestObjectFactory objectFactory = new TestObjectFactory();
test_class.type: TestObjectFactory
test_class.var_name: objectFactory
test_class.declarator: dataObjectFactory = new DataObjectFactoryImpl()
test_class.modifier: final
test_class.original_string: final DataObjectFactory dataObjectFactory = new DataObjectFactoryImpl();
test_class.type: DataObjectFactory
test_class.var_name: dataObjectFactory
test_class.file: wdtk-rdf/src/test/java/org/wikidata/wdtk/rdf/PropertyRegisterTest.java
test_class.identifier: PropertyRegisterTest
test_case.body: @Test
  	public void testGetPropertyType() {
  		assertEquals(DatatypeIdValue.DT_STRING,
  				this.propertyRegister.getPropertyType(dataObjectFactory
  						.getPropertyIdValue("P434", this.siteIri)));
  		// Check twice to test that the cached retrieval works too
  		assertEquals(DatatypeIdValue.DT_STRING,
  				this.propertyRegister.getPropertyType(dataObjectFactory
  						.getPropertyIdValue("P434", this.siteIri)));
  		assertEquals(50,
  				this.propertyRegister.smallestUnfetchedPropertyIdNumber);
  		assertTrue(this.propertyRegister.datatypes.containsKey("P434"));
  	}
test_case.class_method_signature: PropertyRegisterTest.testGetPropertyType()
test_case.full_signature: @Test public void testGetPropertyType()
test_case.identifier: testGetPropertyType
test_case.invocations: assertEquals getPropertyType getPropertyIdValue assertEquals getPropertyType getPropertyIdValue assertEquals assertTrue containsKey
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPropertyType()
focal_class.declarator: logger = LoggerFactory
  			.getLogger(PropertyRegister.class)
focal_class.modifier: static final
focal_class.original_string: static final Logger logger = LoggerFactory
  			.getLogger(PropertyRegister.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: dataFetcher
focal_class.original_string: WikibaseDataFetcher dataFetcher;
focal_class.type: WikibaseDataFetcher
focal_class.var_name: dataFetcher
focal_class.declarator: datatypes = new HashMap<>()
focal_class.modifier: final protected
focal_class.original_string: final protected Map<String, String> datatypes = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: datatypes
focal_class.declarator: uriPatterns = new HashMap<>()
focal_class.modifier: final protected
focal_class.original_string: final protected Map<String, String> uriPatterns = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: uriPatterns
focal_class.declarator: uriPatternPropertyId
focal_class.modifier: final
focal_class.original_string: final String uriPatternPropertyId;
focal_class.type: String
focal_class.var_name: uriPatternPropertyId
focal_class.declarator: siteUri
focal_class.modifier: final
focal_class.original_string: final String siteUri;
focal_class.type: String
focal_class.var_name: siteUri
focal_class.declarator: API_MAX_ENTITY_DOCUMENT_NUMBER = 50
focal_class.modifier: final
focal_class.original_string: final int API_MAX_ENTITY_DOCUMENT_NUMBER = 50;
focal_class.type: int
focal_class.var_name: API_MAX_ENTITY_DOCUMENT_NUMBER
focal_class.declarator: smallestUnfetchedPropertyIdNumber = 1
focal_class.original_string: int smallestUnfetchedPropertyIdNumber = 1;
focal_class.type: int
focal_class.var_name: smallestUnfetchedPropertyIdNumber
focal_class.declarator: knownMissing
focal_class.modifier: final
focal_class.original_string: final Set<String> knownMissing;
focal_class.type: Set<String>
focal_class.var_name: knownMissing
focal_class.declarator: WIKIDATA_PROPERTY_REGISTER = new PropertyRegister(
  			"P1921", BasicApiConnection.getWikidataApiConnection(),
  			Datamodel.SITE_WIKIDATA)
focal_class.modifier: static final
focal_class.original_string: static final PropertyRegister WIKIDATA_PROPERTY_REGISTER = new PropertyRegister(
  			"P1921", BasicApiConnection.getWikidataApiConnection(),
  			Datamodel.SITE_WIKIDATA);
focal_class.type: PropertyRegister
focal_class.var_name: WIKIDATA_PROPERTY_REGISTER
focal_class.file: wdtk-rdf/src/main/java/org/wikidata/wdtk/rdf/PropertyRegister.java
focal_class.identifier: PropertyRegister
focal_class.class_method_signature: PropertyRegister.PropertyRegister(String uriPatternPropertyId,
  			ApiConnection apiConnection, String siteUri)
focal_class.full_signature: public  PropertyRegister(String uriPatternPropertyId,
  			ApiConnection apiConnection, String siteUri)
focal_class.identifier: PropertyRegister
focal_class.modifiers: public
focal_class.parameters: (String uriPatternPropertyId,
  			ApiConnection apiConnection, String siteUri)
focal_class.signature:  PropertyRegister(String uriPatternPropertyId,
  			ApiConnection apiConnection, String siteUri)
focal_class.class_method_signature: PropertyRegister.getWikidataPropertyRegister()
focal_class.full_signature: public static PropertyRegister getWikidataPropertyRegister()
focal_class.identifier: getWikidataPropertyRegister
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PropertyRegister
focal_class.signature: PropertyRegister getWikidataPropertyRegister()
focal_class.class_method_signature: PropertyRegister.getUriPrefix()
focal_class.full_signature: public String getUriPrefix()
focal_class.identifier: getUriPrefix
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUriPrefix()
focal_class.class_method_signature: PropertyRegister.getPropertyType(PropertyIdValue propertyIdValue)
focal_class.full_signature: public String getPropertyType(PropertyIdValue propertyIdValue)
focal_class.identifier: getPropertyType
focal_class.modifiers: public
focal_class.parameters: (PropertyIdValue propertyIdValue)
focal_class.return: String
focal_class.signature: String getPropertyType(PropertyIdValue propertyIdValue)
focal_class.class_method_signature: PropertyRegister.setPropertyType(PropertyIdValue propertyIdValue,
  			String datatypeIri)
focal_class.full_signature: public void setPropertyType(PropertyIdValue propertyIdValue,
  			String datatypeIri)
focal_class.identifier: setPropertyType
focal_class.modifiers: public
focal_class.parameters: (PropertyIdValue propertyIdValue,
  			String datatypeIri)
focal_class.return: void
focal_class.signature: void setPropertyType(PropertyIdValue propertyIdValue,
  			String datatypeIri)
focal_class.class_method_signature: PropertyRegister.getPropertyUriPattern(PropertyIdValue propertyIdValue)
focal_class.full_signature: public String getPropertyUriPattern(PropertyIdValue propertyIdValue)
focal_class.identifier: getPropertyUriPattern
focal_class.modifiers: public
focal_class.parameters: (PropertyIdValue propertyIdValue)
focal_class.return: String
focal_class.signature: String getPropertyUriPattern(PropertyIdValue propertyIdValue)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromEntityIdValue(
  			PropertyIdValue propertyIdValue, EntityIdValue value)
focal_class.full_signature: public String setPropertyTypeFromEntityIdValue(
  			PropertyIdValue propertyIdValue, EntityIdValue value)
focal_class.identifier: setPropertyTypeFromEntityIdValue
focal_class.modifiers: public
focal_class.parameters: (
  			PropertyIdValue propertyIdValue, EntityIdValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromEntityIdValue(
  			PropertyIdValue propertyIdValue, EntityIdValue value)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromGlobeCoordinatesValue(
  			PropertyIdValue propertyIdValue, GlobeCoordinatesValue value)
focal_class.full_signature: public String setPropertyTypeFromGlobeCoordinatesValue(
  			PropertyIdValue propertyIdValue, GlobeCoordinatesValue value)
focal_class.identifier: setPropertyTypeFromGlobeCoordinatesValue
focal_class.modifiers: public
focal_class.parameters: (
  			PropertyIdValue propertyIdValue, GlobeCoordinatesValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromGlobeCoordinatesValue(
  			PropertyIdValue propertyIdValue, GlobeCoordinatesValue value)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromQuantityValue(
  			PropertyIdValue propertyIdValue, QuantityValue value)
focal_class.full_signature: public String setPropertyTypeFromQuantityValue(
  			PropertyIdValue propertyIdValue, QuantityValue value)
focal_class.identifier: setPropertyTypeFromQuantityValue
focal_class.modifiers: public
focal_class.parameters: (
  			PropertyIdValue propertyIdValue, QuantityValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromQuantityValue(
  			PropertyIdValue propertyIdValue, QuantityValue value)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromStringValue(
  			PropertyIdValue propertyIdValue, StringValue value)
focal_class.full_signature: public String setPropertyTypeFromStringValue(
  			PropertyIdValue propertyIdValue, StringValue value)
focal_class.identifier: setPropertyTypeFromStringValue
focal_class.modifiers: public
focal_class.parameters: (
  			PropertyIdValue propertyIdValue, StringValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromStringValue(
  			PropertyIdValue propertyIdValue, StringValue value)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue,
  			TimeValue value)
focal_class.full_signature: public String setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue,
  			TimeValue value)
focal_class.identifier: setPropertyTypeFromTimeValue
focal_class.modifiers: public
focal_class.parameters: (PropertyIdValue propertyIdValue,
  			TimeValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue,
  			TimeValue value)
focal_class.class_method_signature: PropertyRegister.setPropertyTypeFromMonolingualTextValue(
  			PropertyIdValue propertyIdValue, MonolingualTextValue value)
focal_class.full_signature: public String setPropertyTypeFromMonolingualTextValue(
  			PropertyIdValue propertyIdValue, MonolingualTextValue value)
focal_class.identifier: setPropertyTypeFromMonolingualTextValue
focal_class.modifiers: public
focal_class.parameters: (
  			PropertyIdValue propertyIdValue, MonolingualTextValue value)
focal_class.return: String
focal_class.signature: String setPropertyTypeFromMonolingualTextValue(
  			PropertyIdValue propertyIdValue, MonolingualTextValue value)
focal_class.class_method_signature: PropertyRegister.fetchPropertyInformation(PropertyIdValue property)
focal_class.full_signature: protected void fetchPropertyInformation(PropertyIdValue property)
focal_class.identifier: fetchPropertyInformation
focal_class.modifiers: protected
focal_class.parameters: (PropertyIdValue property)
focal_class.return: void
focal_class.signature: void fetchPropertyInformation(PropertyIdValue property)
focal_class.class_method_signature: PropertyRegister.fetchUsingSPARQL(URI endpoint)
focal_class.full_signature: public void fetchUsingSPARQL(URI endpoint)
focal_class.identifier: fetchUsingSPARQL
focal_class.modifiers: public
focal_class.parameters: (URI endpoint)
focal_class.return: void
focal_class.signature: void fetchUsingSPARQL(URI endpoint)
focal_method.body: public String getPropertyType(PropertyIdValue propertyIdValue) {
  		if (!datatypes.containsKey(propertyIdValue.getId())) {
  			fetchPropertyInformation(propertyIdValue);
  		}
  		return datatypes.get(propertyIdValue.getId());
  	}
focal_method.class_method_signature: PropertyRegister.getPropertyType(PropertyIdValue propertyIdValue)
focal_method.full_signature: public String getPropertyType(PropertyIdValue propertyIdValue)
focal_method.identifier: getPropertyType
focal_method.invocations: containsKey getId fetchPropertyInformation get getId
focal_method.modifiers: public
focal_method.parameters: (PropertyIdValue propertyIdValue)
focal_method.return: String
focal_method.signature: String getPropertyType(PropertyIdValue propertyIdValue)