public class Product extends Id implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static short |
STATE_DISABLED |
static short |
STATE_ENABLED |
static short |
STATE_NULL |
static short |
STATE_REMOVED |
Constructor and Description |
---|
Product() |
Modifier and Type | Method and Description |
---|---|
Product |
clone() |
int |
getAccountId() |
int |
getActivationModeId() |
java.math.BigDecimal |
getActivationPrice()
Предустановленная цена (не из тарифа).
|
java.util.Date |
getActivationTime() |
java.lang.String |
getComment() |
int |
getContractId() |
java.util.Date |
getDeactivationTime() |
java.lang.String |
getDescription() |
java.lang.String |
getDeviceProductId() |
short |
getDeviceState() |
int |
getProductSpecId() |
java.lang.String |
getProductSpecTitle() |
java.util.List<Service> |
getServiceList() |
java.util.Date |
getSubscriptionTimeFrom() |
java.util.Date |
getSubscriptionTimeTo() |
java.util.Date |
getTimeFrom() |
java.util.Date |
getTimeTo() |
int |
getUserId() |
void |
setAccountId(int accountId) |
void |
setActivationModeId(int activationMode) |
void |
setActivationPrice(java.math.BigDecimal activationCost) |
void |
setActivationTime(java.util.Date activationTime) |
void |
setComment(java.lang.String comment) |
void |
setContractId(int contractId) |
void |
setDeactivationTime(java.util.Date deactivationTime) |
void |
setDescription(java.lang.String description) |
void |
setDeviceProductId(java.lang.String deviceProductId) |
void |
setDeviceState(short deviceState) |
void |
setProductSpecId(int specId) |
void |
setProductSpecTitle(java.lang.String specTitle) |
void |
setServiceList(java.util.List<Service> serviceList) |
void |
setSubscriptionTimeFrom(java.util.Date subscriptionTimeFrom) |
void |
setSubscriptionTimeTo(java.util.Date subscriptionTimeTo) |
void |
setTimeFrom(java.util.Date timeFrom) |
void |
setTimeTo(java.util.Date timeTo) |
void |
setUserId(int userId) |
java.lang.String |
toString() |
public static final short STATE_NULL
public static final short STATE_REMOVED
public static final short STATE_DISABLED
public static final short STATE_ENABLED
public int getContractId()
public void setContractId(int contractId)
public int getAccountId()
public void setAccountId(int accountId)
public void setProductSpecId(int specId)
public void setProductSpecTitle(java.lang.String specTitle)
public java.util.Date getTimeFrom()
public void setTimeFrom(java.util.Date timeFrom)
public java.util.Date getTimeTo()
public void setTimeTo(java.util.Date timeTo)
public int getUserId()
public void setUserId(int userId)
public int getActivationModeId()
public void setActivationModeId(int activationMode)
public java.math.BigDecimal getActivationPrice()
public void setActivationPrice(java.math.BigDecimal activationCost)
public java.util.Date getActivationTime()
public void setActivationTime(java.util.Date activationTime)
public java.util.Date getDeactivationTime()
public void setDeactivationTime(java.util.Date deactivationTime)
public int getProductSpecId()
public java.lang.String getProductSpecTitle()
public java.lang.String getDeviceProductId()
public void setDeviceProductId(java.lang.String deviceProductId)
public short getDeviceState()
public void setDeviceState(short deviceState)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.util.List<Service> getServiceList()
public void setServiceList(java.util.List<Service> serviceList)
public java.util.Date getSubscriptionTimeTo()
public void setSubscriptionTimeTo(java.util.Date subscriptionTimeTo)
public java.util.Date getSubscriptionTimeFrom()
public void setSubscriptionTimeFrom(java.util.Date subscriptionTimeFrom)
public Product clone()
clone
in class java.lang.Object