Class Service
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.oss.systems.inventory.service.common.bean.Service
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,Idable
public class Service extends Id implements java.lang.Cloneable
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static shortSTATE_DISABLEDstatic shortSTATE_ENABLEDstatic shortSTATE_REMOVED -
Constructor Summary
Constructors Constructor Description Service() -
Method Summary
Modifier and Type Method Description Serviceclone()intgetAccountId()intgetContractId()shortgetDeviceState()intgetProductId()intgetServiceSpecId()java.lang.StringgetServiceSpecTitle()java.util.DategetTimeFrom()java.util.DategetTimeTo()voidsetAccountId(int accountId)voidsetContractId(int contractId)voidsetDeviceState(short deviceState)voidsetProductId(int productId)voidsetServiceSpecId(int typeId)voidsetServiceSpecTitle(java.lang.String typeTitle)voidsetTimeFrom(java.util.Date timeFrom)voidsetTimeTo(java.util.Date timeTo)java.lang.StringtoString()Methods inherited from class ru.bitel.common.model.Id
equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
STATE_REMOVED
public static short STATE_REMOVED -
STATE_DISABLED
public static short STATE_DISABLED -
STATE_ENABLED
public static short STATE_ENABLED
-
-
Constructor Details
-
Service
public Service()
-
-
Method Details
-
getContractId
public int getContractId() -
setContractId
public void setContractId(int contractId) -
getAccountId
public int getAccountId() -
setAccountId
public void setAccountId(int accountId) -
getProductId
public int getProductId() -
setProductId
public void setProductId(int productId) -
getServiceSpecId
public int getServiceSpecId() -
setServiceSpecId
public void setServiceSpecId(int typeId) -
getServiceSpecTitle
public java.lang.String getServiceSpecTitle() -
setServiceSpecTitle
public void setServiceSpecTitle(java.lang.String typeTitle) -
getTimeFrom
public java.util.Date getTimeFrom() -
setTimeFrom
public void setTimeFrom(java.util.Date timeFrom) -
getTimeTo
public java.util.Date getTimeTo() -
setTimeTo
public void setTimeTo(java.util.Date timeTo) -
getDeviceState
public short getDeviceState() -
setDeviceState
public void setDeviceState(short deviceState) -
toString
public java.lang.String toString() -
clone
- Overrides:
clonein classjava.lang.Object
-