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
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
static final short
static final short
static final short
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Product.Builder
builder()
static Product.Builder
clone()
int
int
Предустановленная цена (не из тарифа).int
short
int
int
void
setAccountId
(int accountId) void
setActivationModeId
(int activationMode) void
setActivationPrice
(BigDecimal activationCost) void
setActivationTime
(Date activationTime) void
setComment
(String comment) void
setContractId
(int contractId) void
setDeactivationTime
(Date deactivationTime) void
setDescription
(String description) void
setDeviceProductId
(String deviceProductId) void
setDeviceState
(short deviceState) void
setProductSpecId
(int specId) void
setProductSpecTitle
(String specTitle) void
setServiceList
(List<Service> serviceList) void
setSubscriptionTimeFrom
(Date subscriptionTimeFrom) void
setSubscriptionTimeTo
(Date subscriptionTimeTo) void
setTimeFrom
(Date timeFrom) void
void
setUserId
(int userId) toString()
-
Field Details
-
STATE_NULL
public static final short STATE_NULL- See Also:
-
STATE_REMOVED
public static final short STATE_REMOVED- See Also:
-
STATE_DISABLED
public static final short STATE_DISABLED- See Also:
-
STATE_ENABLED
public static final short STATE_ENABLED- See Also:
-
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
getContractId
public int getContractId() -
setContractId
public void setContractId(int contractId) -
getAccountId
public int getAccountId() -
setAccountId
public void setAccountId(int accountId) -
setProductSpecId
public void setProductSpecId(int specId) -
setProductSpecTitle
-
getTimeFrom
-
setTimeFrom
-
getTimeTo
-
setTimeTo
-
getUserId
public int getUserId() -
setUserId
public void setUserId(int userId) -
getActivationModeId
public int getActivationModeId() -
setActivationModeId
public void setActivationModeId(int activationMode) -
getActivationPrice
Предустановленная цена (не из тарифа).- Returns:
-
setActivationPrice
-
getActivationTime
-
setActivationTime
-
getDeactivationTime
-
setDeactivationTime
-
getProductSpecId
public int getProductSpecId() -
getProductSpecTitle
-
getDeviceProductId
-
setDeviceProductId
-
getDeviceState
public short getDeviceState() -
setDeviceState
public void setDeviceState(short deviceState) -
getComment
-
setComment
-
getDescription
-
setDescription
-
getServiceList
-
setServiceList
-
getSubscriptionTimeTo
-
setSubscriptionTimeTo
-
getSubscriptionTimeFrom
-
setSubscriptionTimeFrom
-
toString
-
clone
-
builder
-
builder
-