public class ProductDiscontinuationEventDescription
extends java.lang.Object
Constructor and Description |
---|
ProductDiscontinuationEventDescription(java.lang.String productName,
double scheduledForTime)
Data to create a ProductDiscontinuationEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProductName() |
double |
getScheduledForTime() |
public ProductDiscontinuationEventDescription(java.lang.String productName, double scheduledForTime) throws java.lang.IllegalArgumentException
productName
- A String referring to the name of a fixed product representing the product which should be removed by the corresponding ProductDiscontinuationEventscheduledForTime
- The simulation time the ProductDiscontinuationEvent should be scheduled forjava.lang.IllegalArgumentException
- Will be thrown when the product name is empty or scheduled time is negative