Class PaymentType
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.contract.balance.common.bean.BalanceBaseType
ru.bitel.bgbilling.kernel.contract.balance.common.bean.PaymentType
- All Implemented Interfaces:
Serializable,GuiTitlable,Idable,ListItem
- Direct Known Subclasses:
AbstractPaymentTypes
Bean типа прихода, использовать через справочник: getContext().getDirectory( PaymentType.class )....
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.contract.balance.common.bean.BalanceBaseType
editable, parentId, type, TYPE_ALL, TYPE_BRANCH, TYPE_EDITABLE, TYPE_LEAF, TYPE_UNEDITABLE -
Constructor Summary
ConstructorsConstructorDescriptionPaymentType(int id, String title, int type, boolean editable, Integer parentId) -
Method Summary
Modifier and TypeMethodDescriptionsetEditable(boolean editable) setId(int id) Устанавливает id объектаsetParentId(Integer parentId) Ссылка на родительский узел в иерархии типов.Устанавливает название (описание) объектаsetType(int type) Установка типа элемента в дереве.Methods inherited from class ru.bitel.bgbilling.kernel.contract.balance.common.bean.BalanceBaseType
getEditable, getParentId, getTypeMethods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setAsNoSelect, to, toIdTitle, toStringMethods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap
-
Constructor Details
-
PaymentType
public PaymentType() -
PaymentType
-
-
Method Details
-
setEditable
- Overrides:
setEditablein classBalanceBaseType
-
setId
Description copied from class:IdУстанавливает id объекта -
setParentId
Description copied from class:BalanceBaseTypeСсылка на родительский узел в иерархии типов. Если тип объекта находится на самом верхнем уровне, то передавать 0! При отрицательном значении будет падать в веб-сервисе!!!- Overrides:
setParentIdin classBalanceBaseType- Parameters:
parentId- код родительского типа
-
setTitle
Description copied from class:IdTitleУстанавливает название (описание) объекта -
setType
Description copied from class:BalanceBaseTypeУстановка типа элемента в дереве.- Overrides:
setTypein classBalanceBaseType- Parameters:
type- 0 - элемент группы(BalanceBaseType.TYPE_LEAF), 1 - группа(BalanceBaseType.TYPE_BRANCH).
-