@Entity
public class NRequests
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
NRequests()
general constructor and initialization
|
Modifier and Type | Method and Description |
---|---|
void |
addOutput(org.jdom2.Element parent)
adds the entry to the parent element
|
NRequests |
clone() |
java.lang.String |
getAlertControl()
returns the alert control
|
java.lang.String |
getCallNo()
returns the shelfmark
|
java.lang.String |
getDocNumber()
returns the document number for the manifestation
|
int |
getDuration()
returns the duration of requests
|
boolean |
getForAlert()
returns the boolean whether the entry is within the scope of an alert control
|
boolean |
getForReader()
returns the boolean whether the entry is within the scope of a reader control
|
java.lang.String |
getMab()
returns the bibliographic data
|
int |
getNItems()
returns the number of items
|
int |
getNLendable()
returns the number of lendable items
|
int |
getNLoans()
returns the number of loans
|
int |
getNRequests()
returns the number of requests
|
long |
getNTimestamp()
returns the timestamp
|
double |
getRatio()
returns the ratio (number of requested items / number of lendable items)
|
void |
setAlertControl(java.lang.String alertControl)
sets the number of alert control
|
void |
setCallNo(java.lang.String callNo)
sets the shelfmark
|
void |
setDocNumber(java.lang.String docNumber)
sets the document number for this manifestation
|
void |
setDuration(int duration)
sets the duration
|
void |
setForAlert(boolean forAlert)
sets the boolean whether the entry is within the scope of an alert control
|
void |
setForReader(boolean forReader)
sets the boolean whether the entry is within the scope of a reader control
|
void |
setMab(java.lang.String mab)
sets the bibliographic data
|
void |
setNItems(int nItems)
sets the number of items
|
void |
setNLendable(int nLendable)
sets the number of lendable items
|
void |
setNLoans(int nLoans)
sets the number of loans
|
void |
setNRequests(int nRequests)
sets the number of requests
|
void |
setRatio(double ratio)
sets the ratio (number of requested items / number of lendable items)
|
void |
setTimestamp(long timestamp)
sets the number of lendable items
|
public java.lang.String getCallNo()
public int getDuration()
public void setDuration(int duration)
duration
- the duration to setpublic void setCallNo(java.lang.String callNo)
callNo
- the callNo to setpublic java.lang.String getMab()
public void setMab(java.lang.String mab)
mab
- the mab to setpublic java.lang.String getDocNumber()
public void setDocNumber(java.lang.String docNumber)
docNumber
- the docNumber to setpublic double getRatio()
public void setRatio(double ratio)
ratio
- the ratio to setpublic int getNRequests()
public void setNRequests(int nRequests)
nRequests
- the nRequests to setpublic int getNItems()
public void setNItems(int nItems)
nItems
- the nItems to setpublic int getNLoans()
public void setNLoans(int nLoans)
nLoans
- the nLoans to setpublic int getNLendable()
public void setNLendable(int nLendable)
nLendable
- the nLendable to setpublic long getNTimestamp()
public void setTimestamp(long timestamp)
nLendable
- the nLendable to setpublic java.lang.String getAlertControl()
public void setAlertControl(java.lang.String alertControl)
alertControl
- the alert control to setpublic boolean getForAlert()
public void setForAlert(boolean forAlert)
forAlert
- true, if the thresholds are surpassedpublic boolean getForReader()
public void setForReader(boolean forReader)
forReader
- true, if the thresholds are surpassedpublic void addOutput(org.jdom2.Element parent)
parent
- the parent org.jdom2.element to attach the data to.public NRequests clone()
clone
in class java.lang.Object