public class DayInTimeline
extends java.lang.Object
Constructor and Description |
---|
DayInTimeline()
Builds a new instance of a
DayInTimline -object, setting the
individual counters to 0. |
Modifier and Type | Method and Description |
---|---|
int |
getAllLoans()
retrieves the value of all items loaned by all user groups at this day.
|
int |
getAllRequests()
retrieves the value of all items requested by all user groups at this
day.
|
java.lang.String |
getDay()
retrieves the string with the date at this day.
|
int |
getElseLoans()
retrieves the value of items which are loaned by other users at this day.
|
int |
getElseRequests()
retrieves the value of items requested by other users at this day.
|
int |
getExternLoans()
retrieves the value of items which are loaned by external users at this
day.
|
int |
getExternRequests()
retrieves the value of items requested by external users at this day.
|
int |
getHappLoans()
retrieves the value of items which are located in permanent loan in
scientific departments at this day.
|
int |
getHappRequests()
retrieves the value of items requested to be located in permanent loan in
scientific departments at this day.
|
int |
getInternLoans()
retrieves the value of items which are loaned by non-student members of
the university at this day.
|
int |
getInternRequests()
retrieves the value of items requested by non-student members of the
university at this day.
|
int |
getStock()
retrieves the value of items at this day.
|
int |
getStockDeleted()
retrieves the value of deleted items.
|
int |
getStockLBS()
retrieves the value of items in the textbook collection.
|
int |
getStockLendable()
retrieves the value of circulation items.
|
int |
getStockLendableNonLBS()
retrieves the value of circulation items being not part of the textbook
collection at this day.
|
int |
getStockNonLendable()
retrieves the value of non-circulation items.
|
int |
getStudentLoans()
retrieves the value of items which are loaned by students at this day.
|
int |
getStudentRequests()
retrieves the value of items requested by students at this day.
|
DayInTimeline |
plus(DayInTimeline dit)
adds another
DayInTimeline counter. all the individual
counters are summed up, the day is kept from the original one. |
DayInTimeline |
setDay(java.lang.String day)
sets the day these parameters are set for.
|
DayInTimeline |
setElseLoans(int elseLoans)
sets the value of items which are loaned by other users at this day.
|
DayInTimeline |
setElseRequests(int elseRequests)
sets the value of items which are requested by other users at this day.
|
DayInTimeline |
setExternLoans(int externLoans)
sets the value of items which are loaned by external users at this day.
|
DayInTimeline |
setExternRequests(int externRequests)
sets the value of items which are requested by external users at this
day.
|
DayInTimeline |
setHappLoans(int happLoans)
sets the value of items which are located in permanent loan in scientific
departments.
|
DayInTimeline |
setHappRequests(int happRequests)
sets the value of items which are requested to be located in permanent
loan in scientific departments at this day.
|
DayInTimeline |
setInternLoans(int internLoans)
sets the value of items which are loaned by non-student members of the
university at this day.
|
DayInTimeline |
setInternRequests(int internRequests)
sets the value of items which are requested by non-student members of the
university at this day.
|
DayInTimeline |
setStock(int stock)
sets the value of all items at this day.
|
DayInTimeline |
setStockDeleted(int stockDeleted)
sets the value of items being deleted up to that day.
|
DayInTimeline |
setStockLBS(int stockLBS)
sets the value of items in the textbook collection at this day.
|
DayInTimeline |
setStockLendable(int stockLendable)
sets the value of all circulation items at this day.
|
DayInTimeline |
setStockLendableNonLBS(int stockLendableNonLBS)
sets the value of circulation items being not part of the textbook
collection at this day.
|
DayInTimeline |
setStockNonLendable(int stockNonLendable)
sets the value of non-circulation items at this day.
|
DayInTimeline |
setStudentLoans(int studentLoans)
sets the value of items which are loaned by students at this day.
|
DayInTimeline |
setStudentRequests(int studentRequests)
sets the value of items which are requested by students at this day.
|
DayInTimeline |
times(int days)
multiplies all counters with a given number of days.
|
public DayInTimeline()
DayInTimline
-object, setting the
individual counters to 0.public DayInTimeline setStudentLoans(int studentLoans)
studentLoans
- new value of items loaned by studentsDayInTimeline
public int getStudentLoans()
public DayInTimeline setExternLoans(int externLoans)
externLoans
- new value of items loaned by external usersDayInTimeline
public int getExternLoans()
public DayInTimeline setInternLoans(int internLoans)
internLoans
- new value of items loaned by non-student members of the
universityDayInTimeline
public int getInternLoans()
public DayInTimeline setHappLoans(int happLoans)
happLoans
- new value of items located in permanent loan in scientific
departmentsDayInTimeline
public int getHappLoans()
public DayInTimeline setElseLoans(int elseLoans)
elseLoans
- new value of items loaned by other usersDayInTimeline
public int getElseLoans()
public DayInTimeline setStock(int stock)
stock
- new value of all itemsDayInTimeline
public int getStock()
public DayInTimeline setStockLendable(int stockLendable)
stockLendable
- new value of all circulation itemsDayInTimeline
public int getStockLendable()
public DayInTimeline setStockLBS(int stockLBS)
stockLBS
- new value of items in the textbook collectionDayInTimeline
public int getStockLBS()
public DayInTimeline setStockDeleted(int stockDeleted)
stockDeleted
- new value of items being deletedDayInTimeline
public int getStockDeleted()
public DayInTimeline setStockLendableNonLBS(int stockLendableNonLBS)
stockLendableNonLBS
- new value of circulating items being not part of the textbook
collectionDayInTimeline
public int getStockLendableNonLBS()
public DayInTimeline setStockNonLendable(int stockNonLendable)
stockNonLendable
- new value of circulating items being not part of the textbook
collectionDayInTimeline
public int getStockNonLendable()
public int getStudentRequests()
public DayInTimeline setStudentRequests(int studentRequests)
studentRequests
- new value of items requested by studentsDayInTimeline
public int getInternRequests()
public DayInTimeline setInternRequests(int internRequests)
internRequests
- new value of items requested by non-student members of the
universityDayInTimeline
public int getExternRequests()
public DayInTimeline setExternRequests(int externRequests)
externRequests
- new value of items loaned by external usersDayInTimeline
public int getHappRequests()
public DayInTimeline setHappRequests(int happRequests)
happRequests
- new value of items requested to be located in permanent loan
in scientific departmentsDayInTimeline
public int getElseRequests()
public DayInTimeline setElseRequests(int elseRequests)
elseRequests
- new value of items loaned by other usersDayInTimeline
public java.lang.String getDay()
public DayInTimeline setDay(java.lang.String day)
day
- String representing the day.DayInTimeline
public DayInTimeline plus(DayInTimeline dit)
DayInTimeline
counter. all the individual
counters are summed up, the day is kept from the original one.dit
- new value of items loaned by studentspublic DayInTimeline times(int days)
days
- days the individual counters are multiplied withDayInTimeline
public int getAllRequests()
public int getAllLoans()