Class Role

java.lang.Object
com.avoka.tm.vo.Role

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

    • 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 Details

    • getId

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

      public String getName()
      The role name.
    • getDescription

      public String getDescription()
      The role description.