public UserProfileData(UserProfile profile) { this.userId = profile.getUserId(); this.userTitle = profile.getUserTitle(); this.screenName = profile.getScreenName(); this.userRole = profile.getUserRole(); this.signature = profile.getSignature(); this.lastLoginDate = profile.getLastLoginDate(); this.joinedDate = profile.getJoinedDate(); this.lastPostDate = profile.getLastPostDate(); this.totalPost = profile.getTotalPost(); this.isDisplaySignature = profile.getIsDisplaySignature(); this.isDisplayAvatar = profile.getIsDisplayAvatar(); this.timeZone = profile.getTimeZone(); this.shortDateformat = profile.getShortDateFormat(); this.longDateformat = profile.getLongDateFormat(); this.moderateForums = profile.getModerateForums(); this.moderateCategory = profile.getModerateCategory(); this.maxTopic = profile.getMaxTopicInPage(); this.maxPost = profile.getMaxPostInPage(); this.isBanned = profile.getIsBanned(); this.banUntil = profile.getBanUntil(); this.banReason = profile.getBanReason(); this.banCounter = profile.getBanCounter(); this.banReasonSummary = profile.getBanReasonSummary(); this.createdDateBan = profile.getCreatedDateBan(); this.isDisabled = profile.isDisabled(); }