Class CheckConsentConfig

java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.config.CheckConsentConfig
All Implemented Interfaces:
Serializable

public class CheckConsentConfig extends Object implements Serializable
configuration for the check whether the given policy is consented by the given person

idMatchingType
match at least one, at least all or exact all of the given signer identifiers; see CheckConsentConfig.IdMatchingType
default = CheckConsentConfig.IdMatchingType.AT_LEAST_ONE

ignoreVersionNumber
ignore the version number of the policy
default = false

unknownStateIsConsideredAsDecline
if the consent state type "unknown" is encountered, it's considered as "declined" for the "isConsented...()"-functions; see ConsentStatusType
default = false

requestDate
date for when the consent status is requested
default = current date

useAliases
should aliases be used when searching for signer ids?
will be ignored if idMatchingType is CheckConsentConfig.IdMatchingType.EXACT
default = true

useHistoricalData
for requests with a request date: what state of knowledge should be used?
the stored data within gics at the request date (true) or the current stored data (false)
default = false

Author:
geidell
See Also:
  • Constructor Details

    • CheckConsentConfig

      public CheckConsentConfig()
    • CheckConsentConfig

      public CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType, boolean ignoreVersionNumber, boolean unknownStateIsConsideredAsDecline)
    • CheckConsentConfig

      public CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType, boolean ignoreVersionNumber, boolean unknownStateIsConsideredAsDecline, Date requestDate, boolean useAliases)
    • CheckConsentConfig

      public CheckConsentConfig(CheckConsentConfig.IdMatchingType idMatchingType, boolean ignoreVersionNumber, boolean unknownStateIsConsideredAsDecline, Date requestDate, boolean useAliases, boolean useHistoricalData)
  • Method Details

    • getIdMatchingType

      public CheckConsentConfig.IdMatchingType getIdMatchingType()
    • setIdMatchingType

      public void setIdMatchingType(CheckConsentConfig.IdMatchingType idMatchingType)
    • getIgnoreVersionNumber

      public boolean getIgnoreVersionNumber()
    • setIgnoreVersionNumber

      public void setIgnoreVersionNumber(boolean ignoreVersionNumber)
    • getUnknownStateIsConsideredAsDecline

      public boolean getUnknownStateIsConsideredAsDecline()
    • setUnknownStateIsConsideredAsDecline

      public void setUnknownStateIsConsideredAsDecline(boolean unknownStateIsConsideredAsDecline)
    • getRequestDate

      public Date getRequestDate()
    • setRequestDate

      public void setRequestDate(Date requestDate)
    • isUseAliases

      public boolean isUseAliases()
    • setUseAliases

      public void setUseAliases(boolean useAliases)
    • isUseHistoricalData

      public boolean isUseHistoricalData()
    • setUseHistoricalData

      public void setUseHistoricalData(boolean useHistoricalData)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object