Class ProductRuntimeList.ProductItem
java.lang.Object
ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
ru.bitel.bgbilling.modules.tv.server.runtime.ProductRuntimeList.ProductItem
- All Implemented Interfaces:
Comparable<Delayed>
,Delayed
- Enclosing class:
- ProductRuntimeList
public static final class ProductRuntimeList.ProductItem
extends ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
implements Delayed
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
short
final int
int
Fields inherited from class ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
id, timeFrom, timeTo
-
Constructor Summary
ConstructorDescriptionProductItem
(int productSpecId, int productId, int activationModeId, long timeFrom, long timeTo, short deviceState) ProductItem
(int productSpecId, int productId, int activationModeId, Date timeFrom, Date timeTo, short deviceState) -
Method Summary
-
Field Details
-
productId
public final int productId -
activationModeId
public final int activationModeId -
deviceState
public volatile short deviceState -
version
public volatile int version
-
-
Constructor Details
-
ProductItem
-
ProductItem
public ProductItem(int productSpecId, int productId, int activationModeId, long timeFrom, long timeTo, short deviceState)
-
-
Method Details
-
getDelay
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Delayed>
-
toProduct
-
toString
- Overrides:
toString
in classru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
-