public class SREGAttributes extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COUNTRY |
static String |
DOB |
static String |
EMAIL |
static String |
FULLNAME |
static String |
GENDER |
static String |
LANGUAGE |
static String |
NICKNAME |
static String |
POSTCODE |
static String |
TIMEZONE |
Constructor and Description |
---|
SREGAttributes() |
SREGAttributes(Profile profile)
Obtain SREG attributes from a profile's attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
String value)
Safe "put" method to attributes map.
|
String |
getAttribute(String name) |
Map<String,String> |
getAttributes() |
String |
getCountry() |
String |
getDob() |
int |
getDobDay() |
int |
getDobMonth() |
int |
getDobYear() |
String |
getEmail() |
String |
getFullname() |
String |
getGender() |
String |
getLanguage() |
String |
getNickname() |
String |
getPostcode() |
String |
getTimezone() |
void |
setAttributes(Map<String,String> attributes) |
void |
setCountry(String country) |
void |
setDob(int day,
int month,
int year) |
void |
setDob(String dob) |
void |
setEmail(String email) |
void |
setFullname(String fullname) |
void |
setGender(String gender) |
void |
setLanguage(String language) |
void |
setNickname(String nickname) |
void |
setPostcode(String postcode) |
void |
setTimezone(String timezone) |
String |
toString() |
public static final String NICKNAME
public static final String EMAIL
public static final String FULLNAME
public static final String DOB
public static final String GENDER
public static final String POSTCODE
public static final String COUNTRY
public static final String LANGUAGE
public static final String TIMEZONE
public SREGAttributes()
public SREGAttributes(Profile profile)
profile
- profile to search attributes.public void addAttribute(String name, String value)
name
- name of attribute.value
- value of attribute.public String getNickname()
public void setNickname(String nickname)
public String getEmail()
public void setEmail(String email)
public String getFullname()
public void setFullname(String fullname)
public String getDob()
public void setDob(int day, int month, int year)
public int getDobDay()
public int getDobMonth()
public int getDobYear()
public void setDob(String dob)
public String getPostcode()
public void setPostcode(String postcode)
public String getGender()
public void setGender(String gender)
public String getCountry()
public void setCountry(String country)
public String getLanguage()
public void setLanguage(String language)
public String getTimezone()
public void setTimezone(String timezone)
Copyright © 2020 Atlassian. All rights reserved.