public class Service extends Id implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static short |
STATE_DISABLED |
static short |
STATE_ENABLED |
static short |
STATE_REMOVED |
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
Service |
clone() |
int |
getAccountId() |
int |
getContractId() |
short |
getDeviceState() |
int |
getProductId() |
int |
getServiceSpecId() |
java.lang.String |
getServiceSpecTitle() |
java.util.Date |
getTimeFrom() |
java.util.Date |
getTimeTo() |
void |
setAccountId(int accountId) |
void |
setContractId(int contractId) |
void |
setDeviceState(short deviceState) |
void |
setProductId(int productId) |
void |
setServiceSpecId(int typeId) |
void |
setServiceSpecTitle(java.lang.String typeTitle) |
void |
setTimeFrom(java.util.Date timeFrom) |
void |
setTimeTo(java.util.Date timeTo) |
java.lang.String |
toString() |
public static short STATE_REMOVED
public static short STATE_DISABLED
public static short STATE_ENABLED
public int getContractId()
public void setContractId(int contractId)
public int getAccountId()
public void setAccountId(int accountId)
public int getProductId()
public void setProductId(int productId)
public int getServiceSpecId()
public void setServiceSpecId(int typeId)
public java.lang.String getServiceSpecTitle()
public void setServiceSpecTitle(java.lang.String typeTitle)
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 short getDeviceState()
public void setDeviceState(short deviceState)
public Service clone()
clone
in class java.lang.Object