Class PermissionImpl

    • Constructor Detail

      • PermissionImpl

        public PermissionImpl()
    • Method Detail

      • setId

        public void setId​(Integer id)
      • getName

        @NotNull(message="{validation.notNull}")
        @Pattern(regexp="[a-zA-Z0-9\\-\\.]{3,}",
                 message="{validation.permission}")
        public @NotNull(message="{validation.notNull}") @Pattern(regexp="[a-zA-Z0-9\\-\\.]{3,}",message="{validation.permission}") 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)
      • setApplication

        public void setApplication​(ApplicationImpl application)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object