Class Group
java.lang.Object
co.yellowdog.platform.model.Group
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new Group that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic Group.Builder
builder()
protected boolean
boolean
getId()
Returns the IDgetName()
getRoles()
int
hashCode()
boolean
void
setAdminGroup
(boolean adminGroup) void
setDescription
(String description) void
void
void
toString()
-
Method Details
-
builder
-
getId
Description copied from interface:Identified
Returns the ID- Specified by:
getId
in interfaceIdentified
- Returns:
- the ID
-
getName
-
getDescription
-
getRoles
-
isAdminGroup
public boolean isAdminGroup() -
setId
-
setName
-
setDescription
-
setRoles
-
setAdminGroup
public void setAdminGroup(boolean adminGroup) -
equals
-
canEqual
-
hashCode
-
toString
-