Class GroupOrRoleDto

    • Constructor Detail

      • GroupOrRoleDto

        public GroupOrRoleDto​(String name,
                              String description)
      • GroupOrRoleDto

        public GroupOrRoleDto​(Group group)
      • GroupOrRoleDto

        public GroupOrRoleDto​(Role role)
    • Method Detail

      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.springframework.hateoas.RepresentationModel<BaseRepresentationModel>
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class org.springframework.hateoas.RepresentationModel<BaseRepresentationModel>