Class Role

  • All Implemented Interfaces:
    java.io.Serializable

    public class Role
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • Role

        public Role()
    • Method Detail

      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getMembershipGroup

        public java.lang.String getMembershipGroup()
      • setMembershipGroup

        public void setMembershipGroup​(java.lang.String membershipGroup)
      • getSupervisor

        public java.lang.String getSupervisor()
      • setSupervisor

        public void setSupervisor​(java.lang.String supervisor)
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getSchedules

        public java.util.List<Schedule> getSchedules()
      • setSchedules

        public void setSchedules​(java.util.List<Schedule> schedules)
      • addSchedule

        public void addSchedule​(Schedule schedule)
      • clearSchedules

        public void clearSchedules()
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object