Class PolicyAgreementState

java.lang.Object
pl.edu.icm.unity.engine.api.policyAgreement.PolicyAgreementState

public class PolicyAgreementState extends Object
  • Field Details

    • policyDocumentId

      public final long policyDocumentId
    • policyDocumentRevision

      public final int policyDocumentRevision
    • acceptanceStatus

      public final pl.edu.icm.unity.base.policy_agreement.PolicyAgreementAcceptanceStatus acceptanceStatus
    • decisionTs

      public final Date decisionTs
  • Constructor Details

    • PolicyAgreementState

      public PolicyAgreementState(Long policyDocumentId, Integer policyDocumentRevision, pl.edu.icm.unity.base.policy_agreement.PolicyAgreementAcceptanceStatus acceptanceStatus, Date decisionTs)
  • Method Details

    • toJson

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

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object