Class Group

java.lang.Object
co.yellowdog.platform.model.Group
All Implemented Interfaces:
Identified

public class Group extends Object implements Identified
  • Method Details

    • builder

      public static Group.Builder builder()
    • getId

      public String getId()
      Description copied from interface: Identified
      Returns the ID
      Specified by:
      getId in interface Identified
      Returns:
      the ID
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getRoles

      public List<@NotNull @Valid GroupRole> getRoles()
    • isAdminGroup

      public boolean isAdminGroup()
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
    • setDescription

      public void setDescription(String description)
    • setRoles

      public void setRoles(List<@NotNull @Valid GroupRole> roles)
    • setAdminGroup

      public void setAdminGroup(boolean adminGroup)
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object