IBzParamModelLiteProperty 接口
interface IBzParamModelLiteProperty<T extends number | string | boolean = string>
自定义参数 @vm-type IBzParamType
属性
name
name: string;
参数名称,为key
namespace
namespace: string;
参数命名空间
readonly
readonly: boolean;
当前参数是否只读
type
type: EBzPropertyType | string;
当前字段数据类型
类型: EBzPropertyType | string
value
value: string | undefined;
参数中存取的值
方法
getName
getName(): string;
获取参数名称
返回值: string
getNamespace
getNamespace(): string;
获取参数命名空间
返回值: string
getType
getType(): string;
获取当前参数类型
返回值: string
getValue
getValue(): T | undefined;
读取值
返回值: T | undefined
setValue
setValue(value: T): void;
设置值
参数:
value: T
返回值: void