public enum EditableScope extends Enum<EditableScope>
| 枚举常量和说明 |
|---|
EDITABLE_ALL
可编辑信封所有信息(优先级次之).
|
EDITABLE_ALL_LOCKED
不可编辑所有信息(优先级最高).
|
EDITABLE_BASIC_INFO
可编辑信封基本信息(优先级低于EDITABLE_ALL_LOCKED 和EDITABLE_ALL).
|
EDITABLE_CONTENT_INFO
可编辑信封基本信息(优先级低于EDITABLE_ALL_LOCKED 和EDITABLE_ALL).
|
EDITABLE_PARTICIPANT_INFO
可编辑信封基本信息(优先级低于EDITABLE_ALL_LOCKED 和EDITABLE_ALL).
|
UNKNOWN
未指定.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
String |
getDescription() |
static EditableScope |
parse(int code)
根据枚举code值解析得到对应的枚举类型.
|
static EditableScope |
parse(String name)
根据枚举名称解析枚举类型(不区分大小写).
|
void |
setCode(int code) |
void |
setDescription(String description) |
static EditableScope |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static EditableScope[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final EditableScope UNKNOWN
public static final EditableScope EDITABLE_ALL_LOCKED
public static final EditableScope EDITABLE_ALL
public static final EditableScope EDITABLE_BASIC_INFO
public static final EditableScope EDITABLE_CONTENT_INFO
public static final EditableScope EDITABLE_PARTICIPANT_INFO
public static EditableScope[] values()
for (EditableScope c : EditableScope.values()) System.out.println(c);
public static EditableScope valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static EditableScope parse(int code)
code - 枚举状态码public static EditableScope parse(String name)
name - 枚举名称public int getCode()
public void setCode(int code)
public String getDescription()
public void setDescription(String description)
Copyright © 2024. All rights reserved.