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:
-
Field Summary
Fields inherited from class ru.bitel.common.model.AbstractTreeNode
children, parentId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()intПолучение комментария для элемента карты цен.intПолучение кода карты цен, к которой привязан элемент.Получение цены для данного элемента.setCodeId(int codeId) setComment(String comment) Получение комментария для элемента карты цен.setCostMapId(int costMapId) Установка кода карты цен.setDateFrom(Date dateFrom) Установка даты начала действия географического кода.Установка даты начала действия географического кода.setDestinationTitle(String destinationTitle) setId(int id) Устанавливает id объектаsetItemCost(BigDecimal itemCost) Установка цены для элемента карты цен.setLevel(int level) Устанавливает название (описание) объектаintsizeLeaf()toString()Methods inherited from class ru.bitel.bgbilling.modules.voice.common.bean.VoiceBaseCodeBean
clone, getCode, getDateFrom, getDateTo, getDestinationId, getDestinationTitle, getLevel, setDestinationIdMethods 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, setAsNoSelect, to, toIdTitleMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap
-
Constructor Details
-
VoiceCostMapItem
public VoiceCostMapItem()
-
-
Method Details
-
copy
-
getCodeId
public int getCodeId() -
getComment
Получение комментария для элемента карты цен.- Returns:
- комментарий.
-
getCostMapId
public int getCostMapId()Получение кода карты цен, к которой привязан элемент.- Returns:
- код родительской карты цен.
-
getItemCost
Получение цены для данного элемента.- Returns:
- цена элемента карты цен.
-
setCode
- Overrides:
setCodein classVoiceBaseCodeBean<VoiceCostMapItem>
-
setCodeId
-
setComment
Получение комментария для элемента карты цен.- Parameters:
comment- комментарий.
-
setCostMapId
Установка кода карты цен.- Parameters:
costMapId- код карты цен, к которой привязан данный элемент.
-
setDateFrom
Description copied from class:VoiceBaseCodeBeanУстановка даты начала действия географического кода.- Overrides:
setDateFromin classVoiceBaseCodeBean<VoiceCostMapItem>- Parameters:
dateFrom- дата начала
-
setDateTo
Description copied from class:VoiceBaseCodeBeanУстановка даты начала действия географического кода.- Overrides:
setDateToin classVoiceBaseCodeBean<VoiceCostMapItem>- Parameters:
dateTo- дата окончания.
-
setDestinationTitle
- Overrides:
setDestinationTitlein classVoiceBaseCodeBean<VoiceCostMapItem>
-
setId
Description copied from class:IdУстанавливает id объекта -
setItemCost
Установка цены для элемента карты цен.- Parameters:
itemCost- цена.
-
setLevel
- Overrides:
setLevelin classVoiceBaseCodeBean<VoiceCostMapItem>
-
setTitle
Description copied from class:IdTitleУстанавливает название (описание) объекта -
sizeLeaf
public int sizeLeaf() -
toString
-