Page implements WikiConstants { public Title getTitle() throws WikiTitleParsingException { Session session = wiki.__getHibernateSession(); session.beginTransaction(); String name = hibernatePage.getName(); session.getTransaction().commit(); Title title = new Title(name); return title; } protected  Page(Wikipedia wiki, long id); protected  Page(Wikipedia wiki, int pageID);  Page(Wikipedia wiki, String pName);  Page(Wikipedia wiki, String pName, boolean useExactTitle); protected  Page(Wikipedia wiki, long id,
			de.tudarmstadt.ukp.wikipedia.api.hibernate.Page hibernatePage); int getPageId(); Set<Category> getCategories(); int getNumberOfCategories(); Set<Page> getInlinks(); int getNumberOfInlinks(); Set<Integer> getInlinkIDs(); Set<Page> getOutlinks(); int getNumberOfOutlinks(); Set<Integer> getOutlinkIDs(); Title getTitle(); Set<String> getRedirects(); String getText(); boolean isDisambiguation(); boolean isRedirect(); boolean isDiscussion(); String getPlainText();  }
@Test public void testGetTitle() throws Exception { Title t = page.getTitle(); assertNotNull(t); assertEquals("testing the title", A_FAMOUS_PAGE, t.getPlainTitle()); assertEquals("testing the pageId", A_FAMOUS_PAGE_ID, page.getPageId()); }