ru.bitel.bgbilling.modules.inet.accounting.bean

## Class TrafficAmountKey

- java.lang.Object
- - ru.bitel.bgbilling.modules.inet.accounting.bean.TrafficAmountKey

-     public class TrafficAmountKey
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `deviceId`
    `int` | `trafficTypeId`

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `TrafficAmountKey()`
    `` | `TrafficAmountKey(int trafficTypeId, int deviceId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `int` | `hashCode()`

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

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

- - ### Field Detail

    - #### trafficTypeId

          public final int trafficTypeId

    - #### deviceId

          public final int deviceId

  - ### Constructor Detail

    - #### TrafficAmountKey

          protected TrafficAmountKey()

    - #### TrafficAmountKey

          public TrafficAmountKey(int trafficTypeId,
                                  int deviceId)

  - ### Method Detail

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`