test_class.declarator: metaData
test_class.modifier: private
test_class.original_string: private MetaData metaData;
test_class.type: MetaData
test_class.var_name: metaData
test_class.file: de.tudarmstadt.ukp.wikipedia.api/src/test/java/de/tudarmstadt/ukp/wikipedia/api/MetaDataTest.java
test_class.identifier: MetaDataTest
test_class.superclass: extends BaseJWPLTest
test_case.body: @Test
      public void testGetNumberOfDisambiguationPages() {
          long numberOfDisambiguationPages = metaData.getNumberOfDisambiguationPages();
          assertTrue(numberOfDisambiguationPages > 0);
          assertEquals(2, numberOfDisambiguationPages);
  
      }
test_case.class_method_signature: MetaDataTest.testGetNumberOfDisambiguationPages()
test_case.full_signature: @Test public void testGetNumberOfDisambiguationPages()
test_case.identifier: testGetNumberOfDisambiguationPages
test_case.invocations: getNumberOfDisambiguationPages assertTrue assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetNumberOfDisambiguationPages()
focal_class.declarator: hibernateMetaData
focal_class.modifier: private
focal_class.original_string: private de.tudarmstadt.ukp.wikipedia.api.hibernate.MetaData hibernateMetaData;
focal_class.type: de.tudarmstadt.ukp.wikipedia.api.hibernate.MetaData
focal_class.var_name: hibernateMetaData
focal_class.declarator: wiki
focal_class.modifier: private
focal_class.original_string: private Wikipedia wiki;
focal_class.type: Wikipedia
focal_class.var_name: wiki
focal_class.file: de.tudarmstadt.ukp.wikipedia.api/src/main/java/de/tudarmstadt/ukp/wikipedia/api/MetaData.java
focal_class.identifier: MetaData
focal_class.interfaces: implements WikiConstants
focal_class.class_method_signature: MetaData.MetaData(Wikipedia wiki)
focal_class.full_signature: protected  MetaData(Wikipedia wiki)
focal_class.identifier: MetaData
focal_class.modifiers: protected
focal_class.parameters: (Wikipedia wiki)
focal_class.signature:  MetaData(Wikipedia wiki)
focal_class.class_method_signature: MetaData.getId()
focal_class.full_signature:  long getId()
focal_class.identifier: getId
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getId()
focal_class.class_method_signature: MetaData.getNumberOfCategories()
focal_class.full_signature: public long getNumberOfCategories()
focal_class.identifier: getNumberOfCategories
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumberOfCategories()
focal_class.class_method_signature: MetaData.getNumberOfPages()
focal_class.full_signature: public long getNumberOfPages()
focal_class.identifier: getNumberOfPages
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumberOfPages()
focal_class.class_method_signature: MetaData.getNumberOfDisambiguationPages()
focal_class.full_signature: public long getNumberOfDisambiguationPages()
focal_class.identifier: getNumberOfDisambiguationPages
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumberOfDisambiguationPages()
focal_class.class_method_signature: MetaData.getNumberOfRedirectPages()
focal_class.full_signature: public long getNumberOfRedirectPages()
focal_class.identifier: getNumberOfRedirectPages
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumberOfRedirectPages()
focal_class.class_method_signature: MetaData.getDisambiguationCategory()
focal_class.full_signature: public Category getDisambiguationCategory()
focal_class.identifier: getDisambiguationCategory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Category
focal_class.signature: Category getDisambiguationCategory()
focal_class.class_method_signature: MetaData.getMainCategory()
focal_class.full_signature: public Category getMainCategory()
focal_class.identifier: getMainCategory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Category
focal_class.signature: Category getMainCategory()
focal_class.class_method_signature: MetaData.getVersion()
focal_class.full_signature: public String getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVersion()
focal_class.class_method_signature: MetaData.getLanguage()
focal_class.full_signature: public Language getLanguage()
focal_class.identifier: getLanguage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Language
focal_class.signature: Language getLanguage()
focal_method.body: public long getNumberOfDisambiguationPages()
  	{
  		Session session = this.wiki.__getHibernateSession();
  		session.beginTransaction();
  		session.lock(hibernateMetaData, LockMode.NONE);
  		long nrofDisambPages = hibernateMetaData.getNrofDisambiguationPages();
  		session.getTransaction().commit();
  		return nrofDisambPages;
  	}
focal_method.class_method_signature: MetaData.getNumberOfDisambiguationPages()
focal_method.full_signature: public long getNumberOfDisambiguationPages()
focal_method.identifier: getNumberOfDisambiguationPages
focal_method.invocations: __getHibernateSession beginTransaction lock getNrofDisambiguationPages commit getTransaction
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: long
focal_method.signature: long getNumberOfDisambiguationPages()