Class TariffGroup
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.tariff.common.bean.TariffGroup
- All Implemented Interfaces:
Serializable
,GuiTitlable
,Idable
,ListItem
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPlanList
(int tariffId, String tariffTitle, Date date1, Date date2, String comment) Нормальный вариант доступа к инкапсулированной в модели коллекции.int
int
Список элементов группы тарифов.int
getPos()
int
void
setDaysForward
(int daysForward) void
setDomainId
(int domainId) void
setPlanList
(List<TariffGroupTariff> list) void
setPos
(int pos) void
setTransferMode
(int transferMode) 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
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
error, error, error, getLogger, logError, logError
-
Field Details
-
TRANSFER_DAY
public static final int TRANSFER_DAY- See Also:
-
TRANSFER_WEEK
public static final int TRANSFER_WEEK- See Also:
-
TRANSFER_MONTH
public static final int TRANSFER_MONTH- See Also:
-
TRANSFER_DAY_FROM_TOMORROW
public static final int TRANSFER_DAY_FROM_TOMORROW- See Also:
-
-
Constructor Details
-
TariffGroup
public TariffGroup()
-
-
Method Details
-
getPos
public int getPos() -
setPos
public void setPos(int pos) -
getPlanList
Список элементов группы тарифов.- Returns:
- unmodifiable collection.
-
getTransferMode
public int getTransferMode() -
getDaysForward
public int getDaysForward() -
getDomainId
public int getDomainId() -
setDomainId
public void setDomainId(int domainId) -
addPlanList
Нормальный вариант доступа к инкапсулированной в модели коллекции. Добавление элемента.- Parameters:
tariffId
- ид тарифаtariffTitle
- заголовок тарифа (уже приджойнится из таблицы тарифов)date1
- (начало периода)date2
- (конец периода)
-
setPlanList
-
setTransferMode
public void setTransferMode(int transferMode) -
setDaysForward
public void setDaysForward(int daysForward)
-