Enum Class的使用
com.walker.di.UpdateType
使用UpdateType的程序包
-
com.walker.di中UpdateType的使用
返回UpdateType的com.walker.di中的方法修饰符和类型方法说明static final UpdateTypeUpdateType.getType(int index) AbstractDataImportor.getUpdateType()判断数据更新类型,在需要检查数据是否存在时使用。static UpdateTypeReturns the enum constant of this class with the specified name.static UpdateType[]UpdateType.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为UpdateType的com.walker.di中的方法修饰符和类型方法说明voidAbstractDataImportor.setUpdateType(UpdateType updateType) voidDataImportor.setUpdateType(UpdateType updateType) 设置数据更新方式,如果在导入时需要判断数据是否存在,则可以设置该更新策略。