public class BooleanType extends AbstractType<BooleanType> implements DataType, FormatSupport, Converter<Boolean>
| 限定符和类型 | 字段和说明 |
|---|---|
static BooleanType |
GLOBAL |
static String |
ID |
| 构造器和说明 |
|---|
BooleanType() |
| 限定符和类型 | 方法和说明 |
|---|---|
Boolean |
convert(Object value) |
BooleanType |
falseText(String falseText) |
BooleanType |
falseValue(String falseValue) |
String |
format(Object value)
对值进行格式化
|
String |
getId()
唯一标识别
|
String |
getName()
名称
|
BooleanType |
trueText(String trueText) |
BooleanType |
trueValue(String trueValue) |
ValidateResult |
validate(Object value)
验证是否合法
|
description, expand, expand, expand, expandsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpands, getTypegetDescription, getExpand, setDescription, setExpands, setNamepublic static final BooleanType GLOBAL
public BooleanType trueText(String trueText)
public BooleanType falseText(String falseText)
public BooleanType trueValue(String trueValue)
public BooleanType falseValue(String falseValue)
public ValidateResult validate(Object value)
DataTypepublic String format(Object value)
FormatSupportformat 在接口中 FormatSupportvalue - 值Copyright © 2019–2022. All rights reserved.