@Entity public class DocumentAnalysis extends java.lang.Object implements java.lang.Comparable<DocumentAnalysis>
Constructor and Description |
---|
DocumentAnalysis()
Builds a new instance of a
DocumentAnalysis -object, setting
the individual counters to 0 and the text fields to an empty string. |
Modifier and Type | Method and Description |
---|---|
void |
addDaysLoanedElse(int daysLoanedElseNew)
add the value of days items were loaned by other users
|
void |
addDaysLoanedExtern(int daysLoanedExternNew)
add the value of days items were loaned by external users
|
void |
addDaysLoanedHapp(int daysLoanedHappNew)
add the value of days items were located in research faculties
|
void |
addDaysLoanedIntern(int daysLoanedInternNew)
add the value of days items were loaned by non-student members of the
university
|
void |
addDaysLoanedStudents(int daysLoanedStudentsNew)
add the value of days items were loaned by students
|
void |
addDaysRequested(int daysRequestedNew)
add the value of days items were requested in this year.
|
void |
addDaysRequestedElse(int daysRequestedElseNew)
add the value of days items were loaned by other users
|
void |
addDaysRequestedExtern(int daysRequestedExternNew)
add the value of days items were loaned by external users
|
void |
addDaysRequestedHapp(int daysRequestedHappNew)
add the value of days items were located to be in research faculties
|
void |
addDaysRequestedIntern(int daysRequestedInternNew)
add the value of days items were loaned by non-student members of the
university
|
void |
addDaysRequestedStudents(int daysRequestedStudentsNew)
add the value of days items were requested by students
|
void |
addDaysStockAll(int daysStockAll)
add the value of days in stock for all circulation items which are in the
textbook collection
|
void |
addDaysStockDeleted(int daysStockDeleted)
add the value of days in stock for all items which have been deleted
|
void |
addDaysStockLBS(int daysStockLBS)
add the value of days in stock for all circulation items which are in the
textbook collection
|
void |
addDaysStockLendableAll(int daysStockLendableAll)
add the value of days in stock for all circulation items
|
void |
addDaysStockNonLendable(int daysStockNonLendable)
add the value of days in stock for all non-circulation items
|
void |
addEditionalDocumentAnalysis(DocumentAnalysis secondAnalysis)
adds another
DocumentAnalysis -object to this one, assuming
the different documents. |
void |
addNumberLoans(int numberLoansNew)
add the number of loans in this year.
|
void |
addNumberRequests(int numberRequestsNew)
add the number of requests in this year.
|
void |
addYearlyDocumentAnalysis(DocumentAnalysis secondAnalysis)
adds another
DocumentAnalysis -object to this one, assuming
the same document, but different years. |
void |
calculate()
calculates the the value of days in stock for circulation items which are
not in the textbook collection, the value of days items were loaned, the
mean relative loaned and the mean stock and .
|
int |
compareTo(DocumentAnalysis other)
compares this
DocumentAnalysis -object to another one. |
void |
decreaseActualItemsLBS()
decreases the last number of items which are in the textbook collection.
|
void |
decreaseItemsDeleted()
decreases the number of all deleted items.
|
void |
decreaseItemsLBS()
decreases the number of items in the textbook collection.
|
void |
decreaseItemsLendable()
decreases the number of circulation items.
|
void |
decreaseItemsLendableNonLBS()
decreases the number of all circulation items which are not in the
textbook collection.
|
void |
decreaseItemsNonLendable()
decreases the number of non-circulation items.
|
void |
decreaseItemsTotal()
decrease the number of all items.
|
int |
getActualItemsLBS()
retrieves the last number of items which are in the textbook collection.
|
java.lang.String |
getComment()
retrieves the comment of the analysis.
|
int |
getDays()
retrieves the value of days this analysis was performed for.
|
int |
getDaysLoanedAll()
retrieves the value of days loaned for all user groups.
|
int |
getDaysLoanedElse()
retrieves the value of days items were loaned by other users.
|
int |
getDaysLoanedExtern()
retrieves the value of days items were loaned by external users.
|
int |
getDaysLoanedHapp()
retrieves the value of days items were located in research faculties.
|
int |
getDaysLoanedIntern()
retrieves the value of days items were loaned by non-student members of
the university.
|
int |
getDaysLoanedStudents()
retrieves the value of days items were loaned by students.
|
int |
getDaysRequested()
retrieves the value of days items were requested in this year.
|
int |
getDaysRequestedElse()
retrieves the value of days items were loaned by other users.
|
int |
getDaysRequestedExtern()
retrieves the value of days items were loaned by external users.
|
int |
getDaysRequestedHapp()
retrieves the value of days items were located to be in research
faculties.
|
int |
getDaysRequestedIntern()
retrieves the value of days items were loaned by non-student members of
the university.
|
int |
getDaysRequestedStudents()
retrieves the value of days items were requested by students.
|
int |
getDaysStockAll()
retrieves the value of days in stock for all items.
|
int |
getDaysStockDeleted()
retrieves the value of days in stock for all items which have been
deleted.
|
int |
getDaysStockLBS()
retrieves the value of days in stock for all circulation items which are
in the textbook collection.
|
int |
getDaysStockLendableAll()
retrieves the value of days in stock for all circulation items.
|
int |
getDaysStockLendableNonLBS()
retrieves the value of days in stock for all circulation items which are
not in the textbook collection.
|
int |
getDaysStockNonLendable()
retrieves the value of days in stock for all non-circulation items.
|
java.lang.String |
getDescription()
retrieves the description of the analysis.
|
int |
getItemsDeleted()
retrieves the number of all deleted items.
|
int |
getItemsLBS()
retrieves the number of items in the textbook collection.
|
int |
getItemsLendable()
retrieves the number of circulation items.
|
int |
getItemsLendableNonLBS()
retrieves the number of all circulation items which are not in the
textbook collection.
|
int |
getItemsNonLendable()
retrieves the number of non-circulation items.
|
int |
getItemsTotal()
retrieves the number of all items.
|
int |
getLastStock()
retrieves the number of items in stock at the last day of the analysis.
|
double |
getMeanRelativeLoan()
retrieves the mean relative loan in this year.
|
java.lang.String |
getNotation()
retrieves the notation for which the analysis was performed.
|
int |
getNumberLoans()
retrieves the number of loans in this year.
|
int |
getNumberRequests()
retrieves the number of requests in this year.
|
int |
getProposedDeletion()
retrieves the value of proposed deletions in this year.
|
int |
getProposedPurchase()
retrieves the value of proposed purchases in this year.
|
java.lang.String |
getShelfmark()
retrieves the shelfmark for which the analysis was performed.
|
double |
getTimeStamp()
retrieves the timestamp when the analysis was performed.
|
int |
getYear()
retrieves the year this analysis was performed for.
|
void |
increaseActualItemsLBS()
increases the last number of items which are in the textbook collection.
|
void |
increaseItemsDeleted()
increases the number of all deleted items.
|
void |
increaseItemsLBS()
increases the number of items in the textbook collection.
|
void |
increaseItemsLendable()
increases the number of circulation items.
|
void |
increaseItemsLendableNonLBS()
increases the number of all circulation items which are not in the
textbook collection.
|
void |
increaseItemsNonLendable()
increases the number of non-circulation items.
|
void |
increaseItemsTotal()
increase the number of all items.
|
void |
increaseNumberLoans()
increases the number of loans in this year.
|
void |
increaseNumberRequests()
increases the number of requests in this year.
|
void |
reset()
resets all the values to 0.
|
void |
setActualItemsLBS(int actualItemsLBS)
set the last number of items which are in the textbook collection
|
void |
setComment(java.lang.String comment)
set the comment
|
void |
setDays(int days)
set the corresponding counter
|
void |
setDaysLoanedAll(int daysLoanedAll)
set the corresponding counter
|
void |
setDaysLoanedElse(int daysLoanedElse)
set the value of days items were loaned by other users
|
void |
setDaysLoanedExtern(int daysLoanedExtern)
set the value of days items were loaned by external users
|
void |
setDaysLoanedHapp(int daysLoanedHapp)
set the value of days items were located in research faculties
|
void |
setDaysLoanedIntern(int daysLoanedIntern)
set the value of days items were loaned by non-student members of the
university
|
void |
setDaysLoanedStudents(int daysLoanedStudents)
set the value of days items were loaned by students
|
void |
setDaysRequested(int daysRequested)
set the value of days items were requested in this year.
|
void |
setDaysRequestedElse(int daysRequestedElse)
set the value of days items were loaned by other users
|
void |
setDaysRequestedExtern(int daysRequestedExtern)
set the value of days items were loaned by external users
|
void |
setDaysRequestedHapp(int daysRequestedHapp)
set the value of days items were located to be in research faculties
|
void |
setDaysRequestedIntern(int daysRequestedIntern)
set the value of days items were loaned by non-student members of the
university
|
void |
setDaysRequestedStudents(int daysRequestedStudents)
set the value of days items were requested by students
|
void |
setDaysStockAll(int daysStockAll)
set the value of days in stock for all items
|
void |
setDaysStockDeleted(int daysStockDeleted)
set the value of days in stock for all items which have been deleted
|
void |
setDaysStockLBS(int daysStockLBS)
set the days in stock for all circulation items which are in the textbook
collection
|
void |
setDaysStockLendableAll(int daysStockLendableAll)
set the value of days in stock for all circulation items
|
void |
setDaysStockLendableNonLBS(int daysStockLendableNonLBS)
set the corresponding counter
|
void |
setDaysStockNonLendable(int daysStockNonLendable)
set the value of days in stock for all non-circulation items
|
void |
setDescription(java.lang.String description)
set the description of the analysis
|
void |
setItemsDeleted(int itemsDeleted)
set the number of all deleted items.
|
void |
setItemsLBS(int itemsLBS)
set the number of items in the textbook collection.
|
void |
setItemsLendable(int itemsLendable)
set the number of circulation items
|
void |
setItemsLendableNonLBS(int itemsLendableNonLBS)
set the number of all circulation items which are not in the textbook
collection.
|
void |
setItemsNonLendable(int itemsNonLendable)
set the number of non-circulation items.
|
void |
setItemsTotal(int itemsTotal)
set the number of all items.
|
void |
setLastStock(int lastStock)
set the number of items in stock at the last day of the analysis.
|
void |
setNotation(java.lang.String notation)
set the notation for which the analysis was performed
|
void |
setNumberLoans(int numberLoans)
set the number of loans in this year.
|
void |
setNumberRequests(int numberRequests)
set the number of requests in this year.
|
void |
setProposedDeletion(int propsedDeletionNew)
set the proposed deletion
|
void |
setProposedPurchase(int propsedPurchaseNew)
set the corresponding counter
|
void |
setShelfmark(java.lang.String shelfmark)
set the shelfmark for which the analysis was performed.
|
void |
setTimeStamp(double timeStamp)
set the timestamp
|
void |
setYear(int year)
set the year
|
public DocumentAnalysis()
DocumentAnalysis
-object, setting
the individual counters to 0 and the text fields to an empty string.public int getDaysStockLendableNonLBS()
public void setDaysStockLendableNonLBS(int daysStockLendableNonLBS)
daysStockLendableNonLBS
- number of days the counter is increasedpublic int getDaysLoanedAll()
public void setDaysLoanedAll(int daysLoanedAll)
daysLoanedAll
- number of days the counter is increasedpublic int getItemsLendable()
public void increaseItemsLendable()
public void decreaseItemsLendable()
public void setItemsLendable(int itemsLendable)
itemsLendable
- number of circulation itemspublic double getTimeStamp()
public void setTimeStamp(double timeStamp)
timeStamp
- timestamp of the time when the analysis was performedpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- description of the analysispublic java.lang.String getShelfmark()
public void setShelfmark(java.lang.String shelfmark)
shelfmark
- shelfmark for which the analysis was performedpublic java.lang.String getNotation()
public void setNotation(java.lang.String notation)
notation
- notation for which the analysis was performedpublic int getLastStock()
public void setLastStock(int lastStock)
lastStock
- number of items in stock at the last day of the analysispublic int getItemsLendableNonLBS()
public void setItemsLendableNonLBS(int itemsLendableNonLBS)
itemsLendableNonLBS
- number of all circulation items which are not in the textbook
collection.public void increaseItemsLendableNonLBS()
public void decreaseItemsLendableNonLBS()
public int getItemsDeleted()
public void setItemsDeleted(int itemsDeleted)
itemsDeleted
- number of all deleted itemspublic void increaseItemsDeleted()
public void decreaseItemsDeleted()
public int getItemsNonLendable()
public void setItemsNonLendable(int itemsNonLendable)
itemsNonLendable
- the number of non-circulation itemspublic void increaseItemsNonLendable()
public void decreaseItemsNonLendable()
public int getItemsLBS()
public void setItemsLBS(int itemsLBS)
itemsLBS
- number of items in the textbook collectionpublic void increaseItemsLBS()
public void decreaseItemsLBS()
public int getItemsTotal()
public void setItemsTotal(int itemsTotal)
itemsTotal
- number of all itemspublic void increaseItemsTotal()
public void decreaseItemsTotal()
public int getActualItemsLBS()
public void setActualItemsLBS(int actualItemsLBS)
actualItemsLBS
- last number of items which are in the textbook collectionpublic void increaseActualItemsLBS()
public void decreaseActualItemsLBS()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- comment of the analysispublic int getDaysStockLendableAll()
public void setDaysStockLendableAll(int daysStockLendableAll)
daysStockLendableAll
- value of days in stock for all circulation itemspublic void addDaysStockLendableAll(int daysStockLendableAll)
daysStockLendableAll
- value of days in stock for all circulation items to be addedpublic int getDaysStockLBS()
public void addDaysStockLBS(int daysStockLBS)
daysStockLBS
- value of days in stock for all circulation items which are in
the textbook collection to be addedpublic void setDaysStockLBS(int daysStockLBS)
daysStockLBS
- days in stock for all circulation items which are in the
textbook collectionpublic int getDaysStockAll()
public void setDaysStockAll(int daysStockAll)
daysStockAll
- value of days in stock for all itemspublic void addDaysStockAll(int daysStockAll)
daysStockAll
- value of days in stock for all circulation items which are in
the textbook collection to be addedpublic int getDaysStockNonLendable()
public void setDaysStockNonLendable(int daysStockNonLendable)
daysStockNonLendable
- value of days in stock for all non-circulation itemspublic void addDaysStockNonLendable(int daysStockNonLendable)
daysStockNonLendable
- value of days in stock for all non-circulation items to be
addedpublic int getDaysStockDeleted()
public void setDaysStockDeleted(int daysStockDeleted)
daysStockDeleted
- value of days in stock for all items which have been deletedpublic void addDaysStockDeleted(int daysStockDeleted)
daysStockDeleted
- value of days in stock for all items which have been deleted
to be addedpublic int getDaysLoanedStudents()
public void setDaysLoanedStudents(int daysLoanedStudents)
daysLoanedStudents
- value of days items were loaned by studentspublic void addDaysLoanedStudents(int daysLoanedStudentsNew)
daysLoanedStudentsNew
- value of days items were loaned by students to be addedpublic int getDaysLoanedExtern()
public void setDaysLoanedExtern(int daysLoanedExtern)
daysLoanedExtern
- value of days items were loaned by external userspublic void addDaysLoanedExtern(int daysLoanedExternNew)
daysLoanedExternNew
- value of days items were loaned by external userspublic int getDaysLoanedIntern()
public void setDaysLoanedIntern(int daysLoanedIntern)
daysLoanedIntern
- value of days items were loaned by non-student members of the
universitypublic void addDaysLoanedIntern(int daysLoanedInternNew)
daysLoanedInternNew
- value of days items were loaned by non-student members of the
universitypublic int getDaysLoanedHapp()
public void setDaysLoanedHapp(int daysLoanedHapp)
daysLoanedHapp
- value of days items were located in research facultiespublic void addDaysLoanedHapp(int daysLoanedHappNew)
daysLoanedHappNew
- value of days items were located in research facultiespublic int getDaysLoanedElse()
public void setDaysLoanedElse(int daysLoanedElse)
daysLoanedElse
- value of days items were loaned by other userspublic void addDaysLoanedElse(int daysLoanedElseNew)
daysLoanedElseNew
- value of days items were loaned by other userspublic int getDaysRequestedStudents()
public void setDaysRequestedStudents(int daysRequestedStudents)
daysRequestedStudents
- value of days items were requested by studentspublic void addDaysRequestedStudents(int daysRequestedStudentsNew)
daysRequestedStudentsNew
- value of days items were requested by studentspublic int getDaysRequestedExtern()
public void setDaysRequestedExtern(int daysRequestedExtern)
daysRequestedExtern
- value of days items were loaned by external userspublic void addDaysRequestedExtern(int daysRequestedExternNew)
daysRequestedExternNew
- value of days items were loaned by external userspublic int getDaysRequestedIntern()
public void setDaysRequestedIntern(int daysRequestedIntern)
daysRequestedIntern
- value of days items were loaned by non-student members of the
universitypublic void addDaysRequestedIntern(int daysRequestedInternNew)
daysRequestedInternNew
- value of days items were loaned by non-student members of the
universitypublic int getDaysRequestedHapp()
public void setDaysRequestedHapp(int daysRequestedHapp)
daysRequestedHapp
- value of days items were located to be in research facultiespublic void addDaysRequestedHapp(int daysRequestedHappNew)
daysRequestedHappNew
- value of days items were located to be in research facultiespublic int getDaysRequestedElse()
public void setDaysRequestedElse(int daysRequestedElse)
daysRequestedElse
- value of days items were loaned by other userspublic void addDaysRequestedElse(int daysRequestedElseNew)
daysRequestedElseNew
- value of days items were loaned by other userspublic int getDaysRequested()
public void setDaysRequested(int daysRequested)
daysRequested
- value of days items were requestedpublic void addDaysRequested(int daysRequestedNew)
daysRequestedNew
- value of days items were requestedpublic int getNumberRequests()
public void setNumberRequests(int numberRequests)
numberRequests
- number of requestspublic void addNumberRequests(int numberRequestsNew)
numberRequestsNew
- number of requestspublic void increaseNumberRequests()
public int getNumberLoans()
public void setNumberLoans(int numberLoans)
numberLoans
- number of loanspublic void increaseNumberLoans()
public void addNumberLoans(int numberLoansNew)
numberLoansNew
- number of loanspublic int getDays()
public void setDays(int days)
days
- number of days the counter is increasedpublic int getYear()
public void setYear(int year)
year
- number of days the counter is increasedpublic double getMeanRelativeLoan()
public void setProposedDeletion(int propsedDeletionNew)
propsedDeletionNew
- proposed deletionpublic int getProposedDeletion()
public void setProposedPurchase(int propsedPurchaseNew)
propsedPurchaseNew
- number of days the counter is increasedpublic int getProposedPurchase()
public void reset()
public void calculate()
public void addYearlyDocumentAnalysis(DocumentAnalysis secondAnalysis)
DocumentAnalysis
-object to this one, assuming
the same document, but different years. The numbers of items are taken
from the later one, the days in stock, days loaned and days requested are
summed up.secondAnalysis
- the analysis of the same document in another year added to the
first onepublic void addEditionalDocumentAnalysis(DocumentAnalysis secondAnalysis)
DocumentAnalysis
-object to this one, assuming
the different documents. The numbers of items are summed up as well as
the days in stock, days loaned and days requested.secondAnalysis
- the analysis of another document added to the first onepublic int compareTo(DocumentAnalysis other)
DocumentAnalysis
-object to another one.
returns 0, when the shelfmarks are identical.compareTo
in interface java.lang.Comparable<DocumentAnalysis>
other
- analysis the analysis to be compared to this one