public class UpdateResult extends Object
| 构造器和说明 |
|---|
UpdateResult(boolean b) |
UpdateResult(boolean b,
Exception e) |
UpdateResult(boolean b,
Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateResult |
fail() |
static UpdateResult |
fail(Exception e) |
Integer |
getInteger() |
Long |
getLong() |
String |
getString() |
static UpdateResult |
ok(Object value) |
public UpdateResult(boolean b)
public UpdateResult(boolean b,
Object value)
public UpdateResult(boolean b,
Exception e)
public Long getLong()
public String getString()
public Integer getInteger()
public static UpdateResult fail()
public static UpdateResult fail(Exception e)
public static UpdateResult ok(Object value)
Copyright © 2024. All rights reserved.