Class ContractStatus
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.bgbilling.kernel.contract.status.common.bean.ContractStatus
- All Implemented Interfaces:
Serializable
,Idable
- Direct Known Subclasses:
ContractStatus
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContractStatus.Builder
builder()
clone()
Клонирование статуса.static ContractStatus
fromJson
(org.json.JSONObject json) int
int
int
setComment
(String comment) setContractId
(int contractId) setDateFrom
(Date dateFrom) setObjectId
(int objectId) setStatus
(int status) org.json.JSONObject
toJson()
toString()
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Constructor Details
-
ContractStatus
public ContractStatus()
-
-
Method Details
-
getComment
-
setComment
-
getContractId
public int getContractId() -
setContractId
-
getObjectId
public int getObjectId() -
setObjectId
-
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getStatus
public int getStatus() -
setStatus
-
clone
Клонирование статуса. Копируются все поля, кроме id, которое устанавливается в ноль. -
toString
-
toJson
public org.json.JSONObject toJson() -
fromJson
-
builder
-