public static final class SqlNameGenerator.Result extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
getDetail()
Human-readable explanation of the failure, or
null on success. |
int |
getFailedSegmentIndex()
Index of the offending segment, or
-1 when not segment-specific. |
SqlNameGenerator.Failure |
getFailure()
The failure reason, or
null on success. |
String |
getSql()
The generated SQL name, or
null when isOk() is false. |
String |
getSqlOrThrow()
The generated SQL name; throws when generation failed.
|
boolean |
isOk() |
String |
toString() |
public boolean isOk()
public SqlNameGenerator.Failure getFailure()
null on success.public int getFailedSegmentIndex()
-1 when not segment-specific.public String getSqlOrThrow()