WikiVis Web Application
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Package Attributes | Private Attributes | List of all members
wikivis.data.model.WikiVisData Class Reference

A instance of this class holds all data of a particular page. More...

Public Member Functions

 WikiVisData (String pageTitle)
 creates a new instance
String getPageTitle ()
void setPageTitle (String pageTitle)
List< RevisiongetRevisions ()
void setRevisions (List< Revision > revisions)
Map< String, AuthorgetAuthors ()
void setAuthors (Map< String, Author > authors)
Map< String, NodegetNodes ()
void setNodes (Map< String, Node > nodes)
Map< String, EdgegetEdges ()
void setEdges (Map< String, Edge > edges)
List< MonthStatisticsgetMonthStatistics ()
void setMonthStatistics (List< MonthStatistics > monthStatistics)
void setMaxNodeCountExceeded (boolean maxNodeCountExceeded)
boolean isMaxNodeCountExceeded ()

Package Attributes

boolean maxNodeCountExceeded = false
 indicates if the nodes positions have not been computed due to a huge number of nodes

Private Attributes

String pageTitle = ""
 the page title
List< Revisionrevisions = new ArrayList<Revision>()
 a list of all revisions (sorted by time)
Map< String, Authorauthors = new HashMap<String, Author>()
 a map of all authors, with their names as key
Map< String, Nodenodes = new HashMap<String, Node>()
 a map of Nodes, with the authors names as key
Map< String, Edgeedges = new HashMap<String, Edge>()
 a map of edges, with the concatenated author names of the involved nodes (from+to)
List< MonthStatisticsmonthStatistics = new ArrayList<MonthStatistics>()
 a list of monthly statistics

Detailed Description

A instance of this class holds all data of a particular page.

Author
Florian Zoubek zoube.nosp@m.k@bi.nosp@m.tanda.nosp@m.rt.a.nosp@m.t

Constructor & Destructor Documentation

wikivis.data.model.WikiVisData.WikiVisData ( String  pageTitle)

creates a new instance

Parameters
pageTitlethe page title

Member Function Documentation

Map<String, Author> wikivis.data.model.WikiVisData.getAuthors ( )
Returns
the authors
Map<String, Edge> wikivis.data.model.WikiVisData.getEdges ( )
Returns
the edges
List<MonthStatistics> wikivis.data.model.WikiVisData.getMonthStatistics ( )
Returns
the monthStatistics
Map<String, Node> wikivis.data.model.WikiVisData.getNodes ( )
Returns
the nodes
String wikivis.data.model.WikiVisData.getPageTitle ( )
Returns
the pageTitle
List<Revision> wikivis.data.model.WikiVisData.getRevisions ( )
Returns
the revisions
boolean wikivis.data.model.WikiVisData.isMaxNodeCountExceeded ( )
Returns
the maxNodeCountExceeded
void wikivis.data.model.WikiVisData.setAuthors ( Map< String, Author authors)
Parameters
authorsthe authors to set
void wikivis.data.model.WikiVisData.setEdges ( Map< String, Edge edges)
Parameters
edgesthe edges to set
void wikivis.data.model.WikiVisData.setMaxNodeCountExceeded ( boolean  maxNodeCountExceeded)
Parameters
maxNodeCountExceededthe maxNodeCountExceeded to set
void wikivis.data.model.WikiVisData.setMonthStatistics ( List< MonthStatistics monthStatistics)
Parameters
monthStatisticsthe monthStatistics to set
void wikivis.data.model.WikiVisData.setNodes ( Map< String, Node nodes)
Parameters
nodesthe nodes to set
void wikivis.data.model.WikiVisData.setPageTitle ( String  pageTitle)
Parameters
pageTitlethe pageTitle to set
void wikivis.data.model.WikiVisData.setRevisions ( List< Revision revisions)
Parameters
revisionsthe revisions to set

Member Data Documentation

Map<String, Author> wikivis.data.model.WikiVisData.authors = new HashMap<String, Author>()
private

a map of all authors, with their names as key

Map<String, Edge> wikivis.data.model.WikiVisData.edges = new HashMap<String, Edge>()
private

a map of edges, with the concatenated author names of the involved nodes (from+to)

boolean wikivis.data.model.WikiVisData.maxNodeCountExceeded = false
package

indicates if the nodes positions have not been computed due to a huge number of nodes

List<MonthStatistics> wikivis.data.model.WikiVisData.monthStatistics = new ArrayList<MonthStatistics>()
private

a list of monthly statistics

Map<String, Node> wikivis.data.model.WikiVisData.nodes = new HashMap<String, Node>()
private

a map of Nodes, with the authors names as key

String wikivis.data.model.WikiVisData.pageTitle = ""
private

the page title

List<Revision> wikivis.data.model.WikiVisData.revisions = new ArrayList<Revision>()
private

a list of all revisions (sorted by time)


The documentation for this class was generated from the following file: