| 程序包 | 说明 |
|---|---|
| xyz.xuminghai.pojo.entity |
| 限定符和类型 | 方法和说明 |
|---|---|
static DocItem |
DocItem.valueOf(BaseItem baseItem)
将BaseItem转为DocItem
如果你不是很确定这个baseItem可以转为DocItem,请用try包裹这个方法,在catch块调用 InvalidBaseItemException.getBaseItem()
来使用无效的baseItem |
Copyright © 2021. All rights reserved.