Class DisplayField
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.common.DisplayField
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-09-09T12:46:21.102270Z[GMT]") public class DisplayField extends Object
DisplayField
-
-
Constructor Summary
Constructors Constructor Description DisplayField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayField
arguments(Map<String,DisplayFieldArgument> arguments)
boolean
equals(Object o)
@Valid Map<String,DisplayFieldArgument>
getArguments()
Arguments to be applied to the template.@NotNull String
getLabel()
A label for a display field.@NotNull String
getTemplate()
Value template, can consist of multiple tokens, for which value and formatting options can be provided with display-field arguments.int
hashCode()
DisplayField
label(String label)
DisplayField
putArgumentsItem(String key, DisplayFieldArgument argumentsItem)
void
setArguments(Map<String,DisplayFieldArgument> arguments)
void
setLabel(String label)
void
setTemplate(String template)
DisplayField
template(String template)
String
toString()
-
-
-
Method Detail
-
label
public DisplayField label(String label)
-
getLabel
@NotNull public @NotNull String getLabel()
A label for a display field. Can be either an i18n token, or a plain-text value.- Returns:
- label
-
setLabel
public void setLabel(String label)
-
template
public DisplayField template(String template)
-
getTemplate
@NotNull public @NotNull String getTemplate()
Value template, can consist of multiple tokens, for which value and formatting options can be provided with display-field arguments. Example template: {{settlementDate}} ({{tenor}})- Returns:
- template
-
setTemplate
public void setTemplate(String template)
-
arguments
public DisplayField arguments(Map<String,DisplayFieldArgument> arguments)
-
putArgumentsItem
public DisplayField putArgumentsItem(String key, DisplayFieldArgument argumentsItem)
-
getArguments
@Valid public @Valid Map<String,DisplayFieldArgument> getArguments()
Arguments to be applied to the template. Keyed by replacement token without curly braces.- Returns:
- arguments
-
setArguments
public void setArguments(Map<String,DisplayFieldArgument> arguments)
-
-