Class CommonTypesDef.Error
java.lang.Object
com.caplin.generated.motif.common.CommonTypesDef.Error
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- CommonTypesDef
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull CommonTypesDef.Error
static @NotNull CommonTypesDef.Error
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> static @NotNull CommonTypesDef.Error.Builder
@NotNull String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.caplin.motif.datasource.BuilderMessage
getFieldFlags, getFlagFields
-
Method Details
-
getErrorCode
- Returns:
- An error code that should be mapped to a description in their display language in the end user application
-
getErrorMessage
- Returns:
- Additional information about the error. This information is not translatable and is typically not shown to the end user, being provided primarily for traceability. Note that this information will appear in client logs.
-
getFields
-
getFieldFlags
- Specified by:
getFieldFlags
in interfaceBuilderMessage
- Returns:
- Get the flags for all fields.
-
getFlagFields
- Specified by:
getFlagFields
in interfaceBuilderMessage
- Returns:
- Get the fields for all flags.
-
toString
-
from
@NotNull public static @NotNull CommonTypesDef.Error from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull CommonTypesDef.Error from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-