Class PolicyAgreementState
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementState
-
public class PolicyAgreementState extends Object
-
-
Field Summary
Fields Modifier and Type Field Description PolicyAgreementAcceptanceStatus
acceptanceStatus
Date
decisionTs
long
policyDocumentId
int
policyDocumentRevision
-
Constructor Summary
Constructors Constructor Description PolicyAgreementState(Long policyDocumentId, Integer policyDocumentRevision, PolicyAgreementAcceptanceStatus acceptanceStatus, Date decisionTs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static PolicyAgreementState
fromJson(String jsonConfig)
int
hashCode()
String
toJson()
-
-
-
Field Detail
-
policyDocumentId
public final long policyDocumentId
-
policyDocumentRevision
public final int policyDocumentRevision
-
acceptanceStatus
public final PolicyAgreementAcceptanceStatus acceptanceStatus
-
decisionTs
public final Date decisionTs
-
-
Constructor Detail
-
PolicyAgreementState
public PolicyAgreementState(Long policyDocumentId, Integer policyDocumentRevision, PolicyAgreementAcceptanceStatus acceptanceStatus, Date decisionTs)
-
-
Method Detail
-
toJson
public String toJson() throws EngineException
- Throws:
EngineException
-
fromJson
public static PolicyAgreementState fromJson(String jsonConfig) throws EngineException
- Throws:
EngineException
-
-