Constructor and Description |
---|
Counter()
general constructor and initialization
|
Modifier and Type | Method and Description |
---|---|
Counter |
add(Counter other)
adds another COUNTER report to the actual one.
|
int |
compareTo(Counter other)
compares one COUNTER report to the other.
|
java.lang.String |
getAbbreviation()
returns the abbreviation of the journal
|
java.lang.String |
getFullName()
returns the full name of the journal
|
int |
getHtmlRequests()
returns the number of successful HTML request
|
int |
getHtmlRequestsMobile()
returns the number of successful mobile HTML requests
|
int |
getMonth()
retursn the month of the report
|
java.lang.String |
getOnlineISSN()
returns the ISSNs of online journals
|
int |
getPdfRequests()
returns the number of successful PDF requests
|
int |
getPdfRequestsMobile()
returns the number of successful mobile PDF requests
|
java.lang.String |
getPrintISSN()
returns the ISSNs of print journals
|
int |
getPsRequests()
returns the number of successful PostScript requests
|
int |
getPsRequestsMobile()
returns the number of successful mobile PostScript requests
|
java.lang.String |
getPublisher()
returns the SUSHI provider of the journal
|
int |
getTotalRequests()
returns the total number of successful requests independent of the type
|
java.lang.String |
getType()
returns the type of the COUNTER report (e.g.
|
int |
getYear()
returns the year of the report
|
Counter |
setAbbreviation(java.lang.String abbreviation)
sets the abbreviation of the journal
|
Counter |
setFullName(java.lang.String fullName)
sets the full name of the journal
|
Counter |
setHtmlRequests(int htmlRequests)
sets the number of successful HTML request
|
Counter |
setHtmlRequestsMobile(int htmlRequestsMobile)
sets the number of successful mobile HTML request
|
Counter |
setMonth(int month)
sets the month of the report
|
Counter |
setOnlineISSN(java.lang.String onlineISSN)
sets the ISSNs of online journals
|
Counter |
setPdfRequests(int pdfRequests)
sets the number of successful PDF request
|
Counter |
setPdfRequestsMobile(int pdfRequestsMobile)
sets the number of successful mobile PDF request
|
Counter |
setPrintISSN(java.lang.String printISSN)
sets the ISSNs of print journals
|
Counter |
setPsRequests(int psRequests)
sets the number of successful PostScript request
|
Counter |
setPsRequestsMobile(int psRequestsMobile)
sets the number of successful mobile PostScript request
|
Counter |
setPublisher(java.lang.String publisher)
sets the SUSHI provider of the journal
|
Counter |
setTotalRequests(int totalRequests)
sets the total number of successful requests independent of the type
|
Counter |
setType(java.lang.String type)
sets the type of the COUNTER report (e.g.
|
Counter |
setYear(int year)
sets the year of the report
|
public java.lang.String getPrintISSN()
public java.lang.String getOnlineISSN()
public java.lang.String getAbbreviation()
public java.lang.String getFullName()
public java.lang.String getPublisher()
public java.lang.String getType()
public int getYear()
public int getMonth()
public int getHtmlRequests()
public int getHtmlRequestsMobile()
public int getPdfRequests()
public int getPdfRequestsMobile()
public int getPsRequests()
public int getPsRequestsMobile()
public int getTotalRequests()
public Counter setPrintISSN(java.lang.String printISSN)
printISSN
- the printISSN to setpublic Counter setOnlineISSN(java.lang.String onlineISSN)
onlineISSN
- the onlineISSN to setpublic Counter setAbbreviation(java.lang.String abbreviation)
abbreviation
- the abbreviation to setpublic Counter setFullName(java.lang.String fullName)
fullName
- the fullName to setpublic Counter setPublisher(java.lang.String publisher)
publisher
- the publisher to setpublic Counter setType(java.lang.String type)
type
- the type to setpublic Counter setYear(int year)
year
- the year to setpublic Counter setMonth(int month)
month
- the month to setpublic Counter setHtmlRequests(int htmlRequests)
htmlRequests
- the htmlRequests to setpublic Counter setHtmlRequestsMobile(int htmlRequestsMobile)
htmlRequestsMobile
- the htmlRequestsMobile to setpublic Counter setPdfRequests(int pdfRequests)
pdfRequests
- the pdfRequests to setpublic Counter setPdfRequestsMobile(int pdfRequestsMobile)
pdfRequestsMobile
- the pdfRequestsMobile to setpublic Counter setPsRequests(int psRequests)
psRequests
- the psRequests to setpublic Counter setPsRequestsMobile(int psRequestsMobile)
psRequestsMobile
- the psRequestsMobile to setpublic Counter setTotalRequests(int totalRequests)
totalRequests
- the totalRequests to setpublic int compareTo(Counter other)
compareTo
in interface java.lang.Comparable<Counter>
other
- the other COUNTER report, the actual one is compared to
return int 1, if the actual report dates later than the other one and -1 if it dates earlier.public Counter add(Counter other)
other
- the other COUNTER report, the actual one is compared to