Class VoiceDestination
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.modules.voice.common.bean.VoiceDestination
- All Implemented Interfaces:
 Serializable,GuiTitlable,Idable,ListItem
Класс-модель Направление модуля Voice. Характеризуется кодом, названием,
 привязывается к определенному оператору.
 Используется при тарификации при определении направления звонка.
- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class ru.bitel.common.model.IdTitle
IdTitle.Builder, IdTitle.IdTitleBuilder - 
Field Summary
 - 
Constructor Summary
ConstructorsConstructorDescriptionVoiceDestination(int id, String title) VoiceDestination(String title) VoiceDestination(String title, int operatorId)  - 
Method Summary
Modifier and TypeMethodDescriptionintstatic Map<Integer,VoiceDestination> getDestinationMap(List<VoiceDestination> destinationList) intПолучение кода оператора, к которому привязано направление.intvoidsetCodeLinkCount(int codeLinkCount) voidsetOperatorId(int operatorId) Установка кода оператора, к которому привязано направление.voidsetRangeLinkCount(int rangeLinkCount) Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId 
- 
Constructor Details
- 
VoiceDestination
public VoiceDestination() - 
VoiceDestination
 - 
VoiceDestination
 - 
VoiceDestination
 
 - 
 - 
Method Details
- 
getOperatorId
public int getOperatorId()Получение кода оператора, к которому привязано направление.- Returns:
 - код оператора.
 
 - 
setOperatorId
public void setOperatorId(int operatorId) Установка кода оператора, к которому привязано направление.- Parameters:
 operatorId- код оператора.
 - 
getCodeLinkCount
public int getCodeLinkCount() - 
setCodeLinkCount
public void setCodeLinkCount(int codeLinkCount)  - 
getRangeLinkCount
public int getRangeLinkCount() - 
setRangeLinkCount
public void setRangeLinkCount(int rangeLinkCount)  - 
getDestinationMap
public static Map<Integer,VoiceDestination> getDestinationMap(List<VoiceDestination> destinationList)  
 -