Example #1
0
 @Override
 public UserProfile build() {
   UserProfile userProfile = new UserProfile();
   userProfile.setUserId(this.userId);
   userProfile.setUserTitle(this.userTitle);
   userProfile.setScreenName(this.screenName);
   userProfile.setUserRole(this.userRole);
   userProfile.setSignature(this.signature);
   userProfile.setLastLoginDate(this.lastLoginDate);
   userProfile.setJoinedDate(this.joinedDate);
   userProfile.setLastPostDate(this.lastPostDate);
   userProfile.setTotalPost(this.totalPost);
   userProfile.setIsDisplaySignature(this.isDisplaySignature);
   userProfile.setIsDisplayAvatar(this.isDisplayAvatar);
   userProfile.setTimeZone(this.timeZone);
   userProfile.setShortDateFormat(this.shortDateformat);
   userProfile.setLongDateFormat(this.longDateformat);
   userProfile.setModerateForums(this.moderateForums);
   userProfile.setModerateCategory(this.moderateCategory);
   userProfile.setMaxPostInPage(this.maxPost);
   userProfile.setMaxTopicInPage(this.maxTopic);
   userProfile.setIsBanned(this.isBanned);
   userProfile.setBanUntil(this.banUntil);
   userProfile.setBanReason(this.banReason);
   userProfile.setBanCounter(this.banCounter);
   userProfile.setBanReasonSummary(this.banReasonSummary);
   userProfile.setCreatedDateBan(this.createdDateBan);
   userProfile.setDisabled(this.isDisabled);
   return userProfile;
 }