public static class User.ExtProfile.ExtAttr extends Object
| 限定符和类型 | 类和说明 |
|---|---|
class |
User.ExtProfile.ExtAttr.Text
自定义字段 文本类型
否 文本类型的属性 |
class |
User.ExtProfile.ExtAttr.Web
自定义字段 网页类型
是 网页类型的属性,url和title字段要么同时为空表示清除该属性,要么同时不为空 |
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
name
是 属性名称: 需要先确保在管理端有创建该属性,否则会忽略
|
private User.ExtProfile.ExtAttr.Text |
text
否 文本类型的属性
|
private User.ExtAttrType |
type
是 属性类型: 0-文本 1-网页
|
private User.ExtProfile.ExtAttr.Web |
web
否 网页类型的属性,url和title字段要么同时为空表示清除该属性,要么同时不为空
|
| 构造器和说明 |
|---|
ExtAttr() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
User.ExtProfile.ExtAttr.Text |
getText() |
User.ExtAttrType |
getType() |
User.ExtProfile.ExtAttr.Web |
getWeb() |
void |
setName(String name) |
void |
setText(User.ExtProfile.ExtAttr.Text text) |
void |
setType(User.ExtAttrType type) |
void |
setWeb(User.ExtProfile.ExtAttr.Web web) |
private User.ExtAttrType type
private String name
private User.ExtProfile.ExtAttr.Text text
private User.ExtProfile.ExtAttr.Web web
public User.ExtAttrType getType()
public void setType(User.ExtAttrType type)
public String getName()
public void setName(String name)
public User.ExtProfile.ExtAttr.Text getText()
public void setText(User.ExtProfile.ExtAttr.Text text)
public User.ExtProfile.ExtAttr.Web getWeb()
public void setWeb(User.ExtProfile.ExtAttr.Web web)
Copyright © 2024. All rights reserved.