Class DisplayFields
java.lang.Object
com.caplin.motif.config.definitions.common.DisplayFields
- All Implemented Interfaces:
DisplayFieldsItem
@Generated("org.openapitools.codegen.languages.SpringCodegen")
public class DisplayFields
extends Object
implements DisplayFieldsItem
DisplayFields
-
Constructor Summary
ConstructorDescriptionDisplayFields
(List<DisplayFieldsItem> displayFields, String displayFieldType, String name) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddDisplayFieldsItem
(DisplayFieldsItem displayFieldsItem) addTagsItem
(String tagsItem) arguments
(Map<String, DisplayFieldArgument> arguments) displayFields
(List<DisplayFieldsItem> displayFields) displayFieldType
(String displayFieldType) boolean
Arguments to be applied to the template.@NotNull List<DisplayFieldsItem>
Get displayFields@NotNull String
Get displayFieldType@NotNull String
getName()
Get namegetTags()
A list of tags.Value template, can consist of multiple tokens, for which value and formatting options can be provided with display-field arguments.int
hashCode()
putArgumentsItem
(String key, DisplayFieldArgument argumentsItem) void
setArguments
(Map<String, DisplayFieldArgument> arguments) void
setDisplayFields
(List<DisplayFieldsItem> displayFields) void
setDisplayFieldType
(String displayFieldType) void
void
void
setTemplate
(String template) toString()
-
Constructor Details
-
DisplayFields
public DisplayFields() -
DisplayFields
Constructor with only required parameters
-
-
Method Details
-
displayFields
-
addDisplayFieldsItem
-
getDisplayFields
Get displayFields- Returns:
- displayFields
-
setDisplayFields
-
displayFieldType
-
getDisplayFieldType
Get displayFieldType- Specified by:
getDisplayFieldType
in interfaceDisplayFieldsItem
- Returns:
- displayFieldType
-
setDisplayFieldType
-
name
-
getName
Get name- Returns:
- name
-
setName
-
template
-
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
-
arguments
-
putArgumentsItem
-
getArguments
Arguments to be applied to the template. Keyed by replacement token without curly braces.- Returns:
- arguments
-
setArguments
-
tags
-
addTagsItem
-
getTags
A list of tags. Tags provide hints towards the field's purpose to the frontend.- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-