| 程序包 | 说明 |
|---|---|
| net.hasor.dataway.service.schema.types |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AnyType
可能是任何类型
|
class |
ArrayType
数组或集合类型
|
class |
BooleanType
布尔类型
|
class |
DefaultValue<T>
参数类型
|
class |
MapType
Map类型,和StrutsType类似但对 key 无限制
|
class |
NumberType
数
|
class |
RefType
引用其它类型
|
class |
StringType
字符串值类型
|
class |
StrutsType
结构类型
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Type |
TypesUtils.extractType(String prefix,
AtomicInteger atomicInteger,
DataModel atData)
分析 DataModel 提取数据结构变为 Type 类型对象
|
Type |
ArrayType.getGenericType() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Type> |
StrutsType.getProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ArrayType.setGenericType(Type genricType) |
static com.alibaba.fastjson.JSONObject |
TypesUtils.toJsonSchema(Type type,
boolean useRef)
将 Type 分析 DataModel 提取数据结构变为 Type 类型对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
StrutsType.setProperties(Map<String,Type> properties) |
Copyright © 2020–2021. All rights reserved.