| 程序包 | 说明 |
|---|---|
| org.jetlinks.core.metadata | |
| org.jetlinks.core.metadata.types |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
DataTypeCodec<T extends DataType> |
| 限定符和类型 | 方法和说明 |
|---|---|
DataType |
FunctionMetadata.getOutput() |
DataType |
ConfigPropertyMetadata.getType() |
DataType |
EventMetadata.getType() |
DataType |
PropertyMetadata.getValueType() |
static DataType |
MetadataParser.withType(org.springframework.core.ResolvableType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultConfigMetadata |
DefaultConfigMetadata.add(String property,
String name,
DataType type) |
DefaultConfigMetadata |
DefaultConfigMetadata.add(String property,
String name,
DataType type,
ConfigScope... scopes) |
DefaultConfigMetadata |
DefaultConfigMetadata.add(String property,
String name,
String description,
DataType type) |
DefaultConfigMetadata |
DefaultConfigMetadata.add(String property,
String name,
String description,
DataType type,
ConfigScope... scopes) |
static SimplePropertyMetadata |
SimplePropertyMetadata.of(String id,
String name,
DataType type) |
static SimpleFunctionMetadata |
SimpleFunctionMetadata.of(String id,
String name,
List<PropertyMetadata> inputs,
DataType output) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractType<R> |
class |
ArrayType |
class |
BooleanType |
class |
DateTimeType |
class |
DoubleType |
class |
EnumType |
class |
FileType |
class |
FloatType |
class |
GeoShapeType |
class |
GeoType |
class |
IntType |
class |
LongType |
class |
NumberType<N extends Number> |
class |
ObjectType |
class |
PasswordType |
class |
StringType |
class |
UnknownType |
| 限定符和类型 | 方法和说明 |
|---|---|
static java.util.function.Supplier<DataType> |
DataTypes.lookup(String id) |
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectType |
ObjectType.addProperty(String property,
DataType type) |
ObjectType |
ObjectType.addProperty(String property,
String name,
DataType type) |
ArrayType |
ArrayType.elementType(DataType elementType) |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
ObjectType.handle(Object value,
java.util.function.BiFunction<DataType,Object,Object> mapping) |
static void |
DataTypes.register(String id,
java.util.function.Supplier<DataType> supplier) |
Copyright © 2019–2022. All rights reserved.