Class PolicyAgreementState


  • public class PolicyAgreementState
    extends Object
    • Field Detail

      • policyDocumentId

        public final long policyDocumentId
      • policyDocumentRevision

        public final int policyDocumentRevision
      • acceptanceStatus

        public final pl.edu.icm.unity.types.policyAgreement.PolicyAgreementAcceptanceStatus acceptanceStatus
      • decisionTs

        public final Date decisionTs
    • Constructor Detail

      • PolicyAgreementState

        public PolicyAgreementState​(Long policyDocumentId,
                                    Integer policyDocumentRevision,
                                    pl.edu.icm.unity.types.policyAgreement.PolicyAgreementAcceptanceStatus acceptanceStatus,
                                    Date decisionTs)
    • Method Detail

      • toJson

        public String toJson()
                      throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • fromJson

        public static PolicyAgreementState fromJson​(String jsonConfig)
                                             throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object