Class Setting
java.lang.Object
io.github.xezzon.zeroweb.setting.Setting
- All Implemented Interfaces:
io.github.xezzon.zeroweb.common.jpa.IEntity<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TconvertValueTo(tools.jackson.core.type.TypeReference<T> type) 将参数值转换为指定的类型。Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.xezzon.zeroweb.common.jpa.IEntity
getId
-
Constructor Details
-
Setting
public Setting()
-
-
Method Details
-
convertValueTo
public <T> T convertValueTo(tools.jackson.core.type.TypeReference<T> type) 将参数值转换为指定的类型。
慎用!可能会有性能问题。
- Type Parameters:
T- 转换的类型- Parameters:
type- 转换的类型- Returns:
- 转换后的对象
-