Class Role


  • public class Role
    extends Object
    Provide a Role value object class.
    Since:
    19.11.0
    • Constructor Detail

      • Role

        public Role()
      • Role

        public Role​(Role role)
        Create a Role value object.
        Parameters:
        role - the role entity parameter (required)
      • Role

        public Role​(Map fields)
        Create a unit testing Role value object with the given fields.
        Parameters:
        fields - the role entity fields (required)
    • Method Detail

      • getId

        public Long getId()
        The role id (PK).
      • getName

        public String getName()
        The role name.
      • getDescription

        public String getDescription()
        The role description.