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 <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

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isEnforceConsents

      public boolean isEnforceConsents()
    • setEnforceConsents

      public void setEnforceConsents(boolean enforceConsents)
    • getFacilities

      public List<Facility> getFacilities()
    • setFacilities

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

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

      public int hashCode()
      Overrides:
      hashCode in class PerunBean
    • toString

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

      public String serializeToString()
      Overrides:
      serializeToString in class Auditable