Class PolicyAgreementState
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementState
-
public class PolicyAgreementState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description pl.edu.icm.unity.types.policyAgreement.PolicyAgreementAcceptanceStatusacceptanceStatusjava.util.DatedecisionTslongpolicyDocumentIdintpolicyDocumentRevision
-
Constructor Summary
Constructors Constructor Description PolicyAgreementState(java.lang.Long policyDocumentId, java.lang.Integer policyDocumentRevision, pl.edu.icm.unity.types.policyAgreement.PolicyAgreementAcceptanceStatus acceptanceStatus, java.util.Date decisionTs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)static PolicyAgreementStatefromJson(java.lang.String jsonConfig)inthashCode()java.lang.StringtoJson()
-
-
-
Method Detail
-
toJson
public java.lang.String toJson() throws pl.edu.icm.unity.exceptions.EngineException- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
fromJson
public static PolicyAgreementState fromJson(java.lang.String jsonConfig) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-