Class VoiceCostMapItem
java.lang.Object
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<VoiceCostMapItem>
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 ClassesNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceCostMapItem.Builderbuilder()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, setLevelMethods inherited from class ru.bitel.common.model.AbstractTreeNode
getChildren, getParentId, setChildren, setParentId, toListMethods inherited from class ru.bitel.oss.kernel.entity.common.bean.Entity
copyTo, getEntityId, setEntityIdMethods inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
copyTo, getEntityAttributes, getEntitySpecId, setEntityAttributes, setEntitySpecIdMethods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, to, toIdTitleMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
-
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
-