Class ToboEntityPartsDef.TOBOEntityFields
java.lang.Object
com.caplin.generated.motif.fx.tobo.ToboEntityPartsDef.TOBOEntityFields
- All Implemented Interfaces:
BuilderMessage
,Message
- Enclosing class:
- ToboEntityPartsDef
public static final class ToboEntityPartsDef.TOBOEntityFields
extends Object
implements BuilderMessage
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ToboEntityPartsDef.TOBOEntityFields
static @NotNull ToboEntityPartsDef.TOBOEntityFields
@Nullable String
@Nullable String
@NotNull Map<String,
Collection<String>> @NotNull Map<String,
Collection<String>> @Nullable Boolean
static @NotNull ToboEntityPartsDef.TOBOEntityFields.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
-
getEntityId
- Returns:
- The entity the trade is on behalf of. For example, if the logged in user user1@customer.co.za wishes to make a trade on behalf of entity CUSTONE, then the value of this field will be CUSTONE. If this field is absent on a leg then the default entity should be presumed.
-
getEntityDescription
- Returns:
- The description of a trade on behalf of entity.
-
getIsDefault
- Returns:
- Denotes whether a TOBO Entity is the default TOBO Entity
-
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 ToboEntityPartsDef.TOBOEntityFields from(@NotNull @NotNull Map<String, String> fields) -
from
@NotNull public static @NotNull ToboEntityPartsDef.TOBOEntityFields from(@NotNull @NotNull Map<String, String> fields, @NotNull @NotNull String fieldPrefix) -
newBuilder
-