Class GroupOrRoleDto
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<GroupOrRoleDto>
-
- tv.hd3g.authkit.mod.dto.ressource.GroupOrRoleDto
-
public class GroupOrRoleDto extends org.springframework.hateoas.RepresentationModel<GroupOrRoleDto>
-
-
Constructor Summary
Constructors Constructor Description GroupOrRoleDto(String name, String description)GroupOrRoleDto(Group group)GroupOrRoleDto(Role role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDescription()StringgetName()inthashCode()
-
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.springframework.hateoas.RepresentationModel<GroupOrRoleDto>
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classorg.springframework.hateoas.RepresentationModel<GroupOrRoleDto>
-
-