Class RoleBuilder

  • All Implemented Interfaces:
    net.anotheria.asg.data.Builder<Role>

    public class RoleBuilder
    extends java.lang.Object
    implements net.anotheria.asg.data.Builder<Role>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> contextInitializers  
      protected java.lang.String description  
      protected java.lang.String name  
      protected java.util.List<java.lang.String> permissions  
    • Constructor Summary

      Constructors 
      Constructor Description
      RoleBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Role build()  
      RoleBuilder contextInitializers​(java.util.List<java.lang.String> aValue)
      Sets the value of the contextInitializers attribute.
      RoleBuilder description​(java.lang.String aValue)
      Sets the value of the description attribute.
      RoleBuilder name​(java.lang.String aValue)
      Sets the value of the name attribute.
      RoleBuilder permissions​(java.util.List<java.lang.String> aValue)
      Sets the value of the permissions attribute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
      • permissions

        protected java.util.List<java.lang.String> permissions
      • contextInitializers

        protected java.util.List<java.lang.String> contextInitializers
      • description

        protected java.lang.String description
    • Constructor Detail

      • RoleBuilder

        public RoleBuilder()
    • Method Detail

      • name

        public RoleBuilder name​(java.lang.String aValue)
        Sets the value of the name attribute.
      • permissions

        public RoleBuilder permissions​(java.util.List<java.lang.String> aValue)
        Sets the value of the permissions attribute.
      • contextInitializers

        public RoleBuilder contextInitializers​(java.util.List<java.lang.String> aValue)
        Sets the value of the contextInitializers attribute.
      • description

        public RoleBuilder description​(java.lang.String aValue)
        Sets the value of the description attribute.
      • build

        public Role build()
        Specified by:
        build in interface net.anotheria.asg.data.Builder<Role>