Package ru.bitel.bgbilling.modules.license.common.bean

# Class LicenseComponent

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.modules.license.common.bean.LicenseCommonObject
ru.bitel.bgbilling.modules.license.common.bean.LicenseComponent

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

public class LicenseComponent extends LicenseCommonObject
Класс описывает компонент продукта

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `TYPE_AVAILABLE`
  `static final int`
  `TYPE_DEPRECATED`

  ### Fields inherited from class ru.bitel.bgbilling.modules.license.common.bean.LicenseCommonObject

  `lastUpdate`

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

  `NO_SELECT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LicenseComponent()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `LicenseComponentCategory`
  `getCategory()`
  `String`
  `getComment()`
  `String`
  `getName()`
  `int`
  `getTariffGroupId()`
  `String`
  `getTitle()`
  Возвращает название (описание) объекта
  `int`
  `getType()`
  `int`
  `getUnlimited()`
  `boolean`
  `isAvailableOnWeb()`
  `LicenseComponent`
  `setAvailableOnWeb(boolean availableOnWeb)`
  `LicenseComponent`
  `setCategory(LicenseComponentCategory category)`
  `LicenseComponent`
  `setComment(String comment)`
  `LicenseComponent`
  `setId(int id)`
  Устанавливает id объекта
  `LicenseComponent`
  `setLastUpdate(Date date)`
  `LicenseComponent`
  `setName(String name)`
  `LicenseComponent`
  `setTariffGroupId(int tariffGroupId)`
  `LicenseComponent`
  `setTitle(String title)`
  Устанавливает название (описание) объекта
  `LicenseComponent`
  `setType(int type)`
  `LicenseComponent`
  `setUnlimited(int unlimited)`

  ### Methods inherited from class ru.bitel.bgbilling.modules.license.common.bean.LicenseCommonObject

  `getLastUpdate`

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

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

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

  `copyTo, 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`

- ## Field Details

  - ### TYPE_AVAILABLE

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

  - ### TYPE_DEPRECATED

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

- ## Constructor Details

  - ### LicenseComponent

    public LicenseComponent()

- ## Method Details

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Id`

  - ### getCategory

    public LicenseComponentCategory getCategory()

  - ### getComment

    public String getComment()

  - ### getName

    public String getName()

  - ### getTariffGroupId

    public int getTariffGroupId()

  - ### getTitle

    public String getTitle()
    Description copied from class: `IdTitle`
    Возвращает название (описание) объекта
    Specified by:
      `getTitle` in interface `ListItem`
    Overrides:
      `getTitle` in class `IdTitle`

  - ### getType

    public int getType()

  - ### getUnlimited

    public int getUnlimited()

  - ### isAvailableOnWeb

    public boolean isAvailableOnWeb()

  - ### setAvailableOnWeb

    public LicenseComponent setAvailableOnWeb(boolean availableOnWeb)

  - ### setCategory

    public LicenseComponent setCategory(LicenseComponentCategory category)

  - ### setComment

    public LicenseComponent setComment(String comment)

  - ### setId

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

  - ### setLastUpdate

    public LicenseComponent setLastUpdate(Date date)
    Overrides:
      `setLastUpdate` in class `LicenseCommonObject`

  - ### setName

    public LicenseComponent setName(String name)

  - ### setTariffGroupId

    public LicenseComponent setTariffGroupId(int tariffGroupId)

  - ### setTitle

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

  - ### setType

    public LicenseComponent setType(int type)

  - ### setUnlimited

    public LicenseComponent setUnlimited(int unlimited)