Class ProductSpecActivationMode
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.systems.inventory.product.common.bean.ProductSpecActivationMode
- All Implemented Interfaces:
Serializable
,GuiTitlable
,Idable
,ListItem
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
static int[]
mode
(int mode) void
setDateFrom
(Date dateFrom) void
void
setDeactivationMode
(int deactivationMode) void
setPeriodAmount
(int periodAmount) void
setPeriodMode
(int periodMode) void
setProductSpecId
(int productSpecId) void
setReactivationMode
(int reactivationMode) Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toString
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
-
Field Details
-
MODE_FIELD_MINUTE
public static final int MODE_FIELD_MINUTE- See Also:
-
MODE_FIELD_HOUR
public static final int MODE_FIELD_HOUR- See Also:
-
MODE_FIELD_DAY
public static final int MODE_FIELD_DAY- See Also:
-
MODE_FIELD_WEEK
public static final int MODE_FIELD_WEEK- See Also:
-
MODE_FIELD_MONTH
public static final int MODE_FIELD_MONTH- See Also:
-
MODE_BEGIN_NOW
public static final int MODE_BEGIN_NOW- See Also:
-
MODE_BEGIN_CURRENT
public static final int MODE_BEGIN_CURRENT- See Also:
-
MODE_BEGIN_NEXT
public static final int MODE_BEGIN_NEXT- See Also:
-
MODE_BEGIN_NEXT_HOUR
public static final int MODE_BEGIN_NEXT_HOUR- See Also:
-
MODE_END_NORMAL
public static final int MODE_END_NORMAL- See Also:
-
MODE_END_ROUNDED
public static final int MODE_END_ROUNDED- See Also:
-
DEACTIVATE_MODE_END_PERIOD
public static final int DEACTIVATE_MODE_END_PERIOD- See Also:
-
DEACTIVATE_MODE_NOW
public static final int DEACTIVATE_MODE_NOW- See Also:
-
DEACTIVATE_MODE_HOUR
public static final int DEACTIVATE_MODE_HOUR- See Also:
-
DEACTIVATE_MODE_DAY
public static final int DEACTIVATE_MODE_DAY- See Also:
-
DEACTIVATE_MODE_WEEK
public static final int DEACTIVATE_MODE_WEEK- See Also:
-
DEACTIVATE_MODE_MONTH
public static final int DEACTIVATE_MODE_MONTH- See Also:
-
REACTIVATE_MODE_OFF
public static final int REACTIVATE_MODE_OFF- See Also:
-
REACTIVATE_MODE_ON
public static final int REACTIVATE_MODE_ON- See Also:
-
-
Constructor Details
-
ProductSpecActivationMode
public ProductSpecActivationMode()
-
-
Method Details
-
mode
public static int[] mode(int mode) -
getProductSpecId
public int getProductSpecId() -
setProductSpecId
public void setProductSpecId(int productSpecId) -
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getPeriodMode
public int getPeriodMode() -
setPeriodMode
public void setPeriodMode(int periodMode) -
getPeriodAmount
public int getPeriodAmount() -
setPeriodAmount
public void setPeriodAmount(int periodAmount) -
getDeactivationMode
public int getDeactivationMode() -
setDeactivationMode
public void setDeactivationMode(int deactivationMode) -
getReactivationMode
public int getReactivationMode() -
setReactivationMode
public void setReactivationMode(int reactivationMode)
-