Class BlotterPartsDef.InterventionBlotterFields
java.lang.Object
com.caplin.generated.motif.mm.blotter.BlotterPartsDef.InterventionBlotterFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- BlotterPartsDef
public static final class BlotterPartsDef.InterventionBlotterFields
extends Object
implements BuilderMessage
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull BlotterPartsDef.InterventionBlotterFields
static @NotNull BlotterPartsDef.InterventionBlotterFields
@Nullable Boolean
@Nullable Boolean
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable String
@Nullable String
@Nullable String
static @NotNull BlotterPartsDef.InterventionBlotterFields.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
-
getTradeStatus
- Returns:
- The current status of the trade. Supported types are [AWAITING-TRADER, AWAITING-PRICE, PRICED, EXECUTING, CLOSED, REJECTED, ERRORED, COMPLETED]. CLOSED means the client cancelled the trade request, REJECTED indicates it was rejected by the dealer.
-
getIntervenerUsername
- Returns:
- The user who is currently intervening on and potentially pricing a trade.
-
getDealable
- Returns:
- Determines whether the trade is dealable or not.
-
getSource
- Returns:
- The source the trade to be intervened originated
-
getCompetition
- Returns:
- Whether there is competition to price the trade to be intervened
-
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 BlotterPartsDef.InterventionBlotterFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull BlotterPartsDef.InterventionBlotterFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-