public class EventAnalyzer
extends java.lang.Object
EventAnalysis
from list of Event
-objects
or a document docNumber.Constructor and Description |
---|
EventAnalyzer(Expression work,
StockControlProperties scp)
As an alternative, the EventAnalysis-object can also be created using
a Work-object.
|
EventAnalyzer(java.util.List<Event> events,
java.lang.String description,
StockControlProperties scp)
Calculates the loan and request parameters for a given List of Events
with the parameters in the StockControlProperties.
|
EventAnalyzer(Manifestation document,
StockControlProperties scp)
As an alternative, the EventAnalysis-object can also be created using
a Document-object.
|
Modifier and Type | Method and Description |
---|---|
EventAnalysis |
getEventAnalysis()
Returns the calculated
EventAnalysis object. |
public EventAnalyzer(java.util.List<Event> events, java.lang.String description, StockControlProperties scp)
events
- a list of Event-objects.description
- a string describing the list of Event-objects. For a single
edition (referred to as document in this program), this is
usually the docNumber.scp
- a StockControlProperties-objects containing the main
parameters for the calculation.public EventAnalyzer(Manifestation document, StockControlProperties scp)
document
- A Document, that is one edition with a given docNumber.scp
- a StockControlProperties-objects containing the main
parameters for the calculation.public EventAnalyzer(Expression work, StockControlProperties scp)
work
- A Work, that is many editions with a given base shelfmark.scp
- a StockControlProperties-objects containing the main
parameters for the calculation.public EventAnalysis getEventAnalysis()
EventAnalysis
object.