Class ContractStatus
java.lang.Object
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()
-
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
-