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 java.lang.Object implements DisplayFieldsItem
DisplayFields
-
-
Constructor Summary
Constructors Constructor Description DisplayFields()
DisplayFields(java.util.List<DisplayFieldsItem> displayFields, java.lang.String displayFieldType, java.lang.String name)
Constructor with only required parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayFields
addDisplayFieldsItem(DisplayFieldsItem displayFieldsItem)
DisplayFields
addTagsItem(java.lang.String tagsItem)
DisplayFields
arguments(java.util.Map<java.lang.String,DisplayFieldArgument> arguments)
DisplayFields
displayFields(java.util.List<DisplayFieldsItem> displayFields)
DisplayFields
displayFieldType(java.lang.String displayFieldType)
boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,DisplayFieldArgument>
getArguments()
Arguments to be applied to the template.@NotNull java.util.List<DisplayFieldsItem>
getDisplayFields()
Get displayFields@NotNull java.lang.String
getDisplayFieldType()
Get displayFieldType@NotNull java.lang.String
getName()
Get namejava.util.List<java.lang.String>
getTags()
A list of tags.java.lang.String
getTemplate()
Value template, can consist of multiple tokens, for which value and formatting options can be provided with display-field arguments.int
hashCode()
DisplayFields
name(java.lang.String name)
DisplayFields
putArgumentsItem(java.lang.String key, DisplayFieldArgument argumentsItem)
void
setArguments(java.util.Map<java.lang.String,DisplayFieldArgument> arguments)
void
setDisplayFields(java.util.List<DisplayFieldsItem> displayFields)
void
setDisplayFieldType(java.lang.String displayFieldType)
void
setName(java.lang.String name)
void
setTags(java.util.List<java.lang.String> tags)
void
setTemplate(java.lang.String template)
DisplayFields
tags(java.util.List<java.lang.String> tags)
DisplayFields
template(java.lang.String template)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DisplayFields
public DisplayFields()
-
DisplayFields
public DisplayFields(java.util.List<DisplayFieldsItem> displayFields, java.lang.String displayFieldType, java.lang.String name)
Constructor with only required parameters
-
-
Method Detail
-
displayFields
public DisplayFields displayFields(java.util.List<DisplayFieldsItem> displayFields)
-
addDisplayFieldsItem
public DisplayFields addDisplayFieldsItem(DisplayFieldsItem displayFieldsItem)
-
getDisplayFields
@NotNull public @NotNull java.util.List<DisplayFieldsItem> getDisplayFields()
Get displayFields- Returns:
- displayFields
-
setDisplayFields
public void setDisplayFields(java.util.List<DisplayFieldsItem> displayFields)
-
displayFieldType
public DisplayFields displayFieldType(java.lang.String displayFieldType)
-
getDisplayFieldType
@NotNull public @NotNull java.lang.String getDisplayFieldType()
Get displayFieldType- Specified by:
getDisplayFieldType
in interfaceDisplayFieldsItem
- Returns:
- displayFieldType
-
setDisplayFieldType
public void setDisplayFieldType(java.lang.String displayFieldType)
-
name
public DisplayFields name(java.lang.String name)
-
getName
@NotNull public @NotNull java.lang.String getName()
Get name- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
template
public DisplayFields template(java.lang.String template)
-
getTemplate
public java.lang.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(java.lang.String template)
-
arguments
public DisplayFields arguments(java.util.Map<java.lang.String,DisplayFieldArgument> arguments)
-
putArgumentsItem
public DisplayFields putArgumentsItem(java.lang.String key, DisplayFieldArgument argumentsItem)
-
getArguments
public java.util.Map<java.lang.String,DisplayFieldArgument> getArguments()
Arguments to be applied to the template. Keyed by replacement token without curly braces.- Returns:
- arguments
-
setArguments
public void setArguments(java.util.Map<java.lang.String,DisplayFieldArgument> arguments)
-
tags
public DisplayFields tags(java.util.List<java.lang.String> tags)
-
addTagsItem
public DisplayFields addTagsItem(java.lang.String tagsItem)
-
getTags
public java.util.List<java.lang.String> getTags()
A list of tags. Tags provide hints towards the field's purpose to the frontend.- Returns:
- tags
-
setTags
public void setTags(java.util.List<java.lang.String> tags)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-