Class VoiceCostMapItem
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
ru.bitel.oss.kernel.entity.common.bean.Entity
ru.bitel.common.model.AbstractTreeNode<N>
ru.bitel.bgbilling.modules.voice.common.bean.VoiceBaseCodeBean<VoiceCostMapItem>
ru.bitel.bgbilling.modules.voice.common.bean.VoiceCostMapItem
- All Implemented Interfaces:
Serializable
,Cloneable
,GuiTitlable
,Idable
,ListItem
,Node<VoiceCostMapItem>
,TreeNode<VoiceCostMapItem>
Отдельный элемент карты цен, содержащий в себе географический код,
цену и период действия.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.IdTitleBuilder
-
Field Summary
Fields inherited from class ru.bitel.common.model.AbstractTreeNode
children, parentId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceCostMapItem.Builder
builder()
int
Получение комментария для элемента карты цен.int
Получение кода карты цен, к которой привязан элемент.Получение цены для данного элемента.setCodeId
(int codeId) setComment
(String comment) Получение комментария для элемента карты цен.setCostMapId
(int costMapId) Установка кода карты цен.setItemCost
(BigDecimal itemCost) Установка цены для элемента карты цен.toString()
Methods inherited from class ru.bitel.bgbilling.modules.voice.common.bean.VoiceBaseCodeBean
clone, getCode, getDateFrom, getDateTo, getDestinationId, getDestinationTitle, getLevel, setCode, setDateFrom, setDateTo, setDestinationId, setDestinationTitle, setLevel
Methods inherited from class ru.bitel.common.model.AbstractTreeNode
getChildren, getParentId, setChildren, setParentId, toList
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.Entity
copyTo, getEntityId, setEntityId
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
copyTo, getEntityAttributes, getEntitySpecId, setEntityAttributes, setEntitySpecId
Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle
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
-
Constructor Details
-
VoiceCostMapItem
public VoiceCostMapItem()
-
-
Method Details
-
getCostMapId
public int getCostMapId()Получение кода карты цен, к которой привязан элемент.- Returns:
- код родительской карты цен.
-
setCostMapId
Установка кода карты цен.- Parameters:
costMapId
- код карты цен, к которой привязан данный элемент.
-
getItemCost
Получение цены для данного элемента.- Returns:
- цена элемента карты цен.
-
setItemCost
Установка цены для элемента карты цен.- Parameters:
itemCost
- цена.
-
getComment
Получение комментария для элемента карты цен.- Returns:
- комментарий.
-
setComment
Получение комментария для элемента карты цен.- Parameters:
comment
- комментарий.
-
getCodeId
public int getCodeId() -
setCodeId
-
toString
-
builder
-