Package com.persequor.statistics
Interface ITrackingStatistics
public interface ITrackingStatistics
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setAggregationLevel
(String aggregationLevel) This is used to represent the aggregation level for the things which is quantified by this row This will not be automatically populated, and is not requiredvoid
setBatchNumber
(String batchNumber) This is used to represent the batch for the things which is quantified by this row This will not be automatically populated, and is not requiredvoid
setBizLocation
(String bizLocation) If this method is not called, it is automatically populated from the eventvoid
setBizStep
(String bizStep) If this method is not called, it is automatically populated from the eventvoid
setDisposition
(String disposition) If this method is not called, it is automatically populated from the eventvoid
setFactoryLocation
(String factoryLocation) This is used to represent the origin location of the things which is quantified by this row.void
This is used to represent the market for the things which is quantified by this row This will not be automatically populated, and is not requiredvoid
setProduct
(String product) void
setQuantity
(BigDecimal quantity) Use if you wish to override the default behaviour of setting quantity.void
setReadPoint
(String readPoint) If this method is not called, it is automatically populated from the eventvoid
setShippedFrom
(String shippedFrom) Can be used if this event represents part of an event chain which something is shipped If this method is not called, it is automatically populated from the event.void
setShippedTo
(String shippedTo) Can be used if this event represents part of an event chain which something is shipped If this method is not called, it is automatically populated from the event.void
Can be used if this event represents part of an event chain in which ownership changes hands.void
Can be used if this event represents part of an event chain in which ownership changes hands.
-
Method Details
-
setBizLocation
If this method is not called, it is automatically populated from the event- Parameters:
bizLocation
- business location of the event
-
setDisposition
If this method is not called, it is automatically populated from the event- Parameters:
disposition
- disposition of the event
-
setReadPoint
If this method is not called, it is automatically populated from the event- Parameters:
readPoint
- read point of the event
-
setBizStep
If this method is not called, it is automatically populated from the event- Parameters:
bizStep
- business step of the event
-
setProduct
- Parameters:
product
- the product which the quantity refers to
-
setSoldTo
Can be used if this event represents part of an event chain in which ownership changes hands. If this method is not called, it is automatically populated from the event. It will be populated by the destination of type owning_party, if set on the event.- Parameters:
soldTo
- who things were sold to
-
setSoldBy
Can be used if this event represents part of an event chain in which ownership changes hands. If this method is not called, it is automatically populated from the event. It will be populated by the source of type owning_party, if set on the event.- Parameters:
soldBy
- who things were sold by
-
setShippedTo
Can be used if this event represents part of an event chain which something is shipped If this method is not called, it is automatically populated from the event. It will be populated by the destination of type location, if set on the event.- Parameters:
shippedTo
- who things were shipped to
-
setShippedFrom
Can be used if this event represents part of an event chain which something is shipped If this method is not called, it is automatically populated from the event. It will be populated by the source of type location, if set on the event.- Parameters:
shippedFrom
- who things were shipped from
-
setQuantity
Use if you wish to override the default behaviour of setting quantity. For example when setting quantity directly on the result, it is automatically inverted if the event is a revert.- Parameters:
quantity
- quantity to register
-
setFactoryLocation
This is used to represent the origin location of the things which is quantified by this row. This will not be automatically populated, and is not required- Parameters:
factoryLocation
- the location
-
setMarket
This is used to represent the market for the things which is quantified by this row This will not be automatically populated, and is not required- Parameters:
market
- market id
-
setBatchNumber
This is used to represent the batch for the things which is quantified by this row This will not be automatically populated, and is not required- Parameters:
batchNumber
- batch number
-
setAggregationLevel
This is used to represent the aggregation level for the things which is quantified by this row This will not be automatically populated, and is not required- Parameters:
aggregationLevel
- the aggregation level
-