Class ConsentHub

All Implemented Interfaces:
Serializable, Comparable<PerunBean>

public class ConsentHub extends Auditable
Represents a list of facilities with joint consent management.
Author:
Radoslav Čerhák invalid input: '<'r.cerhak@gmail.com>
See Also:
  • Constructor Details

    • ConsentHub

      public ConsentHub()
    • ConsentHub

      public ConsentHub(int id, String name, boolean enforceConsents, List<Facility> facilities)
    • ConsentHub

      public ConsentHub(int id, String createdAt, String createdBy, String modifiedAt, String modifiedBy, Integer createdByUid, Integer modifiedByUid, String name, boolean enforceConsents, List<Facility> facilities)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Auditable
    • getFacilities

      public List<Facility> getFacilities()
    • setFacilities

      public void setFacilities(List<Facility> facilities)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Auditable
    • isEnforceConsents

      public boolean isEnforceConsents()
    • setEnforceConsents

      public void setEnforceConsents(boolean enforceConsents)
    • serializeToString

      public String serializeToString()
      Overrides:
      serializeToString in class Auditable
    • toString

      public String toString()
      Overrides:
      toString in class Auditable