Package ru.bitel.bgbilling.kernel.tariff.common.bean

# Class TariffGroup

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.kernel.tariff.common.bean.TariffGroup

All Implemented Interfaces:
  `Serializable`, `GuiTitlable`, `Idable`, `ListItem`

public class TariffGroup extends IdTitle implements ListItem, Serializable

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `TRANSFER_DAY`
  `static final int`
  `TRANSFER_DAY_FROM_TOMORROW`
  `static final int`
  `TRANSFER_MONTH`
  `static final int`
  `TRANSFER_WEEK`

  ### Fields inherited from class ru.bitel.common.model.IdTitle

  `NO_SELECT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TariffGroup()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TariffGroup`
  `addPlanList(int tariffId, String tariffTitle, Date date1, Date date2, String comment)`
  Нормальный вариант доступа к инкапсулированной в модели коллекции.
  `int`
  `getDaysForward()`
  `int`
  `getDomainId()`
  `List<TariffGroupTariff>`
  `getPlanList()`
  Список элементов группы тарифов.
  `int`
  `getPos()`
  `int`
  `getTransferMode()`
  `TariffGroup`
  `setDaysForward(int daysForward)`
  `TariffGroup`
  `setDomainId(int domainId)`
  `TariffGroup`
  `setId(int id)`
  Устанавливает id объекта
  `TariffGroup`
  `setPlanList(List<TariffGroupTariff> list)`
  `TariffGroup`
  `setPos(int pos)`
  `TariffGroup`
  `setTitle(String title)`
  Устанавливает название (описание) объекта
  `TariffGroup`
  `setTransferMode(int transferMode)`

  ### Methods inherited from class ru.bitel.common.model.IdTitle

  `copyTo, getGuiTitle, getTitle, setAsNoSelect, to, toIdTitle, toString`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

  ### Methods inherited from interface ru.bitel.common.model.ListItem

  `getId, getTitle`

- ## Field Details

  - ### TRANSFER_DAY

    public static final int TRANSFER_DAY
    See Also:
      - Constant Field Values

  - ### TRANSFER_WEEK

    public static final int TRANSFER_WEEK
    See Also:
      - Constant Field Values

  - ### TRANSFER_MONTH

    public static final int TRANSFER_MONTH
    See Also:
      - Constant Field Values

  - ### TRANSFER_DAY_FROM_TOMORROW

    public static final int TRANSFER_DAY_FROM_TOMORROW
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### TariffGroup

    public TariffGroup()

- ## Method Details

  - ### addPlanList

    public TariffGroup addPlanList(int tariffId, String tariffTitle, Date date1, Date date2, String comment)
    Нормальный вариант доступа к инкапсулированной в модели коллекции. Добавление элемента.
    Parameters:
      `tariffId` - ид тарифа
      `tariffTitle` - заголовок тарифа (уже приджойнится из таблицы тарифов)
      `date1` - (начало периода)
      `date2` - (конец периода)

  - ### getDaysForward

    public int getDaysForward()

  - ### getDomainId

    public int getDomainId()

  - ### getPlanList

    public List<TariffGroupTariff> getPlanList()
    Список элементов группы тарифов.
    Returns:
      unmodifiable collection.

  - ### getPos

    public int getPos()

  - ### getTransferMode

    public int getTransferMode()

  - ### setDaysForward

    public TariffGroup setDaysForward(int daysForward)

  - ### setDomainId

    public TariffGroup setDomainId(int domainId)

  - ### setId

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

  - ### setPlanList

    public TariffGroup setPlanList(List<TariffGroupTariff> list)

  - ### setPos

    public TariffGroup setPos(int pos)

  - ### setTitle

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

  - ### setTransferMode

    public TariffGroup setTransferMode(int transferMode)