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

This class represents an author. More...

Public Member Functions

String getName ()
void setName (String name)
double getVariance ()
void setVariance (double variance)
Map< String, List< Revision > > getRevisions ()
int getMinimalYear ()
int getMinimalWeek ()
int getMaximumYear ()
int getMaximumWeek ()
int getTotalRevisions ()
int hashCode ()
boolean equals (Object obj)
String toString ()
void addRevision (Revision rev)
 adds a revision to the author

Private Attributes

String name = ""
 the author name
Map< String, List< Revision > > revisions = new HashMap<String, List<Revision>>()
 a list of revisions of the author
int minimalYear = 9999
 the year value of the first revision
int minimalWeek = 9999
 the week value of the first revision
int maximumYear = 0
 the year value of the last revision
int maximumWeek = 0
 the week value of the last revision
int totalRevisions = 0
 the total number of revisions
double variance = -1
 the variance of the author (representing his/her activity)

Detailed Description

This class represents an author.

Author
Florian Zoubek zoube.nosp@m.k@bi.nosp@m.tanda.nosp@m.rt.a.nosp@m.t
Manuel Wyss e0106.nosp@m.157@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at

Member Function Documentation

void wikivis.data.model.Author.addRevision ( Revision  rev)

adds a revision to the author

Parameters
revthe revision to add
boolean wikivis.data.model.Author.equals ( Object  obj)
int wikivis.data.model.Author.getMaximumWeek ( )
Returns
the maximumWeek
int wikivis.data.model.Author.getMaximumYear ( )
Returns
the maximumYear
int wikivis.data.model.Author.getMinimalWeek ( )
Returns
the minimalWeek
int wikivis.data.model.Author.getMinimalYear ( )
Returns
the minimalYear
String wikivis.data.model.Author.getName ( )
Returns
the name
Map<String, List<Revision> > wikivis.data.model.Author.getRevisions ( )
Returns
the revisions
int wikivis.data.model.Author.getTotalRevisions ( )
Returns
the totalRevisions
double wikivis.data.model.Author.getVariance ( )
Returns
the variance
int wikivis.data.model.Author.hashCode ( )
void wikivis.data.model.Author.setName ( String  name)
Parameters
namethe name to set
void wikivis.data.model.Author.setVariance ( double  variance)
Parameters
variancethe variance to set
String wikivis.data.model.Author.toString ( )

Member Data Documentation

int wikivis.data.model.Author.maximumWeek = 0
private

the week value of the last revision

int wikivis.data.model.Author.maximumYear = 0
private

the year value of the last revision

int wikivis.data.model.Author.minimalWeek = 9999
private

the week value of the first revision

int wikivis.data.model.Author.minimalYear = 9999
private

the year value of the first revision

String wikivis.data.model.Author.name = ""
private

the author name

Map<String, List<Revision> > wikivis.data.model.Author.revisions = new HashMap<String, List<Revision>>()
private

a list of revisions of the author

int wikivis.data.model.Author.totalRevisions = 0
private

the total number of revisions

double wikivis.data.model.Author.variance = -1
private

the variance of the author (representing his/her activity)


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