Class RoleImpl

    • Constructor Detail

      • RoleImpl

        public RoleImpl()
    • Method Detail

      • setId

        public void setId​(Integer id)
      • getName

        @NotNull(message="{validation.notNull}")
        @Pattern(regexp="([a-zA-Z0-9_\\.-]{3,}[ ]*)+([a-zA-Z0-9_\\.-][ ]*)+",
                 message="{validation.name}")
        @Size(max=64,
              message="{validation.string.max}")
        public @NotNull(message="{validation.notNull}") @Pattern(regexp="([a-zA-Z0-9_\\.-]{3,}[ ]*)+([a-zA-Z0-9_\\.-][ ]*)+",message="{validation.name}") @Size(max=64,message="{validation.string.max}") String getName()
        Description copied from interface: Nameable
        Returns the name.
        Specified by:
        getName in interface Nameable
        Returns:
        the name
      • setName

        public void setName​(String name)
      • getDescription

        @Size(max=8192,
              message="{validation.string.max}")
        public @Size(max=8192,message="{validation.string.max}") String getDescription()
        Description copied from interface: Nameable
        Returns the description.
        Specified by:
        getDescription in interface Nameable
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
      • setVersion

        public void setVersion​(Date version)
      • setPermissions

        public void setPermissions​(Set<Permission> permissions)
      • setApplication

        public void setApplication​(Application application)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object