/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * */ package org.wso2.carbon.device.mgt.user.common; import java.util.ArrayList; public class User { private String userName; private String roleName; private String firstName; private String email; private String lastName; private String streatAddress; private String locality; private String region; private String postalCode; private String country; private String hone; private String im; private String organization; private String url; private String title; private String mobile; private String nickName; private String dateOfBirth; private String gender; private String accountStatus; private String challengeQuestion; private String identityClaimUri; private String tempEmailAddress; private ArrayList<Claims> claimList; public User(String userName) { this.userName = userName; } public User(String userName, String roleName) { this.userName = userName; this.roleName = roleName; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getRoleName() { return roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } public ArrayList<Claims> getClaimList() { return claimList; } public void setClaimList(ArrayList<Claims> claimList) { this.claimList = claimList; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } public String getStreatAddress() { return streatAddress; } public void setStreatAddress(String streatAddress) { this.streatAddress = streatAddress; } public String getLocality() { return locality; } public void setLocality(String locality) { this.locality = locality; } public String getRegion() { return region; } public void setRegion(String region) { this.region = region; } public String getPostalCode() { return postalCode; } public void setPostalCode(String postalCode) { this.postalCode = postalCode; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getHone() { return hone; } public void setHone(String hone) { this.hone = hone; } public String getIm() { return im; } public void setIm(String im) { this.im = im; } public String getOrganization() { return organization; } public void setOrganization(String organization) { this.organization = organization; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getMobile() { return mobile; } public void setMobile(String mobile) { this.mobile = mobile; } public String getNickName() { return nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getDateOfBirth() { return dateOfBirth; } public void setDateOfBirth(String dateOfBirth) { this.dateOfBirth = dateOfBirth; } public String getGender() { return gender; } public void setGender(String gender) { this.gender = gender; } public String getAccountStatus() { return accountStatus; } public void setAccountStatus(String accountStatus) { this.accountStatus = accountStatus; } public String getChallengeQuestion() { return challengeQuestion; } public void setChallengeQuestion(String challengeQuestion) { this.challengeQuestion = challengeQuestion; } public String getIdentityClaimUri() { return identityClaimUri; } public void setIdentityClaimUri(String identityClaimUri) { this.identityClaimUri = identityClaimUri; } public String getTempEmailAddress() { return tempEmailAddress; } public void setTempEmailAddress(String tempEmailAddress) { this.tempEmailAddress = tempEmailAddress; } }