Class UserDataBuilder

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

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

      Fields 
      Modifier and Type Field Description
      protected java.util.List<java.lang.String> roles  
      protected java.lang.String userId  
    • Constructor Summary

      Constructors 
      Constructor Description
      UserDataBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      UserData build()  
      UserDataBuilder roles​(java.util.List<java.lang.String> aValue)
      Sets the value of the roles attribute.
      UserDataBuilder userId​(java.lang.String aValue)
      Sets the value of the userId attribute.
      • Methods inherited from class java.lang.Object

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

      • userId

        protected java.lang.String userId
      • roles

        protected java.util.List<java.lang.String> roles
    • Constructor Detail

      • UserDataBuilder

        public UserDataBuilder()
    • Method Detail

      • userId

        public UserDataBuilder userId​(java.lang.String aValue)
        Sets the value of the userId attribute.
      • roles

        public UserDataBuilder roles​(java.util.List<java.lang.String> aValue)
        Sets the value of the roles attribute.
      • build

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