ru.bitel.bgbilling.modules.inet.api.common.bean

## Class TrafficType

- java.lang.Object
- - ru.bitel.common.model.Id
  - - ru.bitel.common.model.IdTitle
    - - ru.bitel.bgbilling.modules.inet.api.common.bean.TrafficType

- All Implemented Interfaces:
    java.io.Serializable, Idable, ListItem

      public class TrafficType
      extends IdTitle

  Тип трафика
  Author:
    amir
  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static TrafficType` | `TIME`
    `static java.lang.Integer` | `TIME_ID`

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

      `title`

    - ### Fields inherited from class ru.bitel.common.model.Id

      `id`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TrafficType()`
    `TrafficType(int id, java.lang.String title, int unit)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getUnit()`
    `void` | `setUnit(int type)`

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

      `getTitle, setTitle, toString`

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

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

    - ### 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`

- - ### Field Detail

    - #### TIME_ID

          public static final java.lang.Integer TIME_ID

    - #### TIME

          public static final TrafficType TIME

  - ### Constructor Detail

    - #### TrafficType

          public TrafficType()

    - #### TrafficType

          public TrafficType(int id,
                             java.lang.String title,
                             int unit)

  - ### Method Detail

    - #### getUnit

          public int getUnit()

      Returns:
      See Also:
        `ServiceUnit`

    - #### setUnit

          public void setUnit(int type)