Class SubscriptionMode
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.systems.inventory.subscription.common.bean.SubscriptionMode
- All Implemented Interfaces:
Serializable
,GuiTitlable
,Idable
,ListItem
- See Also:
-
Field Summary
Modifier 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
static int[]
mode
(int mode) void
setDateFrom
(Date dateFrom) void
void
setPeriodMode
(int periodMode) void
setPeriodValue
(int periodValue) void
setTypeId
(int typeId) void
setUnsubscribeMode
(int unsubscribeMode) 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_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
-
SubscriptionMode
public SubscriptionMode()
-
-
Method Details
-
mode
public static int[] mode(int mode) -
getTypeId
public int getTypeId() -
setTypeId
public void setTypeId(int typeId) -
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getPeriodMode
public int getPeriodMode() -
setPeriodMode
public void setPeriodMode(int periodMode) -
getPeriodValue
public int getPeriodValue() -
setPeriodValue
public void setPeriodValue(int periodValue) -
getUnsubscribeMode
public int getUnsubscribeMode() -
setUnsubscribeMode
public void setUnsubscribeMode(int unsubscribeMode)
-