Package ru.bitel.oss.systems.inventory.product.common.bean

# Class Product

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.oss.systems.inventory.product.common.bean.Product

All Implemented Interfaces:
  `Serializable`, `Cloneable`, `Idable`

public class Product extends Id implements Cloneable

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final short`
  `STATE_DISABLED`
  `static final short`
  `STATE_ENABLED`
  `static final short`
  `STATE_NULL`
  `static final short`
  `STATE_REMOVED`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Product()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Product`
  `clone()`
  `int`
  `getAccountId()`
  `int`
  `getActivationModeId()`
  `BigDecimal`
  `getActivationPrice()`
  Предустановленная цена (не из тарифа).
  `Date`
  `getActivationTime()`
  `String`
  `getComment()`
  `int`
  `getContractId()`
  `Date`
  `getDeactivationTime()`
  `String`
  `getDescription()`
  `String`
  `getDeviceProductId()`
  `short`
  `getDeviceState()`
  `int`
  `getProductSpecId()`
  `String`
  `getProductSpecTitle()`
  `List<Service>`
  `getServiceList()`
  `Date`
  `getSubscriptionTimeFrom()`
  `Date`
  `getSubscriptionTimeTo()`
  `Date`
  `getTimeFrom()`
  `Date`
  `getTimeTo()`
  `int`
  `getUserId()`
  `Product`
  `setAccountId(int accountId)`
  `Product`
  `setActivationModeId(int activationMode)`
  `Product`
  `setActivationPrice(BigDecimal activationCost)`
  `Product`
  `setActivationTime(Date activationTime)`
  `Product`
  `setComment(String comment)`
  `Product`
  `setContractId(int contractId)`
  `Product`
  `setDeactivationTime(Date deactivationTime)`
  `Product`
  `setDescription(String description)`
  `Product`
  `setDeviceProductId(String deviceProductId)`
  `Product`
  `setDeviceState(short deviceState)`
  `Product`
  `setId(int id)`
  Устанавливает id объекта
  `Product`
  `setProductSpecId(int specId)`
  `Product`
  `setProductSpecTitle(String specTitle)`
  `Product`
  `setServiceList(List<Service> serviceList)`
  `Product`
  `setSubscriptionTimeFrom(Date subscriptionTimeFrom)`
  `Product`
  `setSubscriptionTimeTo(Date subscriptionTimeTo)`
  `Product`
  `setTimeFrom(Date timeFrom)`
  `Product`
  `setTimeTo(Date timeTo)`
  `Product`
  `setUserId(int userId)`
  `String`
  `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

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

- ## Field Details

  - ### STATE_NULL

    public static final short STATE_NULL
    See Also:
      - Constant Field Values

  - ### STATE_REMOVED

    public static final short STATE_REMOVED
    See Also:
      - Constant Field Values

  - ### STATE_DISABLED

    public static final short STATE_DISABLED
    See Also:
      - Constant Field Values

  - ### STATE_ENABLED

    public static final short STATE_ENABLED
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### Product

    public Product()

- ## Method Details

  - ### clone

    public Product clone()
    Overrides:
      `clone` in class `Object`

  - ### getAccountId

    public int getAccountId()

  - ### getActivationModeId

    public int getActivationModeId()

  - ### getActivationPrice

    public BigDecimal getActivationPrice()
    Предустановленная цена (не из тарифа).
    Returns:

  - ### getActivationTime

    public Date getActivationTime()

  - ### getComment

    public String getComment()

  - ### getContractId

    public int getContractId()

  - ### getDeactivationTime

    public Date getDeactivationTime()

  - ### getDescription

    public String getDescription()

  - ### getDeviceProductId

    public String getDeviceProductId()

  - ### getDeviceState

    public short getDeviceState()

  - ### getProductSpecId

    public int getProductSpecId()

  - ### getProductSpecTitle

    public String getProductSpecTitle()

  - ### getServiceList

    public List<Service> getServiceList()

  - ### getSubscriptionTimeFrom

    public Date getSubscriptionTimeFrom()

  - ### getSubscriptionTimeTo

    public Date getSubscriptionTimeTo()

  - ### getTimeFrom

    public Date getTimeFrom()

  - ### getTimeTo

    public Date getTimeTo()

  - ### getUserId

    public int getUserId()

  - ### setAccountId

    public Product setAccountId(int accountId)

  - ### setActivationModeId

    public Product setActivationModeId(int activationMode)

  - ### setActivationPrice

    public Product setActivationPrice(BigDecimal activationCost)

  - ### setActivationTime

    public Product setActivationTime(Date activationTime)

  - ### setComment

    public Product setComment(String comment)

  - ### setContractId

    public Product setContractId(int contractId)

  - ### setDeactivationTime

    public Product setDeactivationTime(Date deactivationTime)

  - ### setDescription

    public Product setDescription(String description)

  - ### setDeviceProductId

    public Product setDeviceProductId(String deviceProductId)

  - ### setDeviceState

    public Product setDeviceState(short deviceState)

  - ### setId

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

  - ### setProductSpecId

    public Product setProductSpecId(int specId)

  - ### setProductSpecTitle

    public Product setProductSpecTitle(String specTitle)

  - ### setServiceList

    public Product setServiceList(List<Service> serviceList)

  - ### setSubscriptionTimeFrom

    public Product setSubscriptionTimeFrom(Date subscriptionTimeFrom)

  - ### setSubscriptionTimeTo

    public Product setSubscriptionTimeTo(Date subscriptionTimeTo)

  - ### setTimeFrom

    public Product setTimeFrom(Date timeFrom)

  - ### setTimeTo

    public Product setTimeTo(Date timeTo)

  - ### setUserId

    public Product setUserId(int userId)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Id`