All Implemented Interfaces:
Serializable, GuiTitlable, Idable, ListItem
Direct Known Subclasses:
AbstractPaymentTypes

public class PaymentType extends BalanceBaseType
Bean типа прихода, использовать через справочник: getContext().getDirectory( PaymentType.class )....
See Also:
  • Constructor Details

    • PaymentType

      public PaymentType()
    • PaymentType

      public PaymentType(int id, String title, int type, boolean editable, Integer parentId)
  • Method Details

    • setEditable

      public PaymentType setEditable(boolean editable)
      Overrides:
      setEditable in class BalanceBaseType
    • setId

      public PaymentType setId(int id)
      Description copied from class: Id
      Устанавливает id объекта
      Overrides:
      setId in class IdTitle
    • setParentId

      public PaymentType setParentId(Integer parentId)
      Description copied from class: BalanceBaseType
      Ссылка на родительский узел в иерархии типов. Если тип объекта находится на самом верхнем уровне, то передавать 0! При отрицательном значении будет падать в веб-сервисе!!!
      Overrides:
      setParentId in class BalanceBaseType
      Parameters:
      parentId - код родительского типа
    • setTitle

      public PaymentType setTitle(String title)
      Description copied from class: IdTitle
      Устанавливает название (описание) объекта
      Overrides:
      setTitle in class IdTitle
    • setType

      public PaymentType setType(int type)
      Description copied from class: BalanceBaseType
      Установка типа элемента в дереве.
      Overrides:
      setType in class BalanceBaseType
      Parameters:
      type - 0 - элемент группы( BalanceBaseType.TYPE_LEAF ), 1 - группа( BalanceBaseType.TYPE_BRANCH ).