Class ExtraField
java.lang.Object
com.caplin.motif.config.definitions.common.ExtraField
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.4.0")
public class ExtraField
extends Object
ExtraField
-
Constructor Summary
ConstructorsConstructorDescriptionExtraField(String label, String template) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) arguments(Map<String, DisplayFieldArgument> arguments) booleanArguments to be applied to the template.Boolean flag, allows the value to be copied via the copy button component.@NotNull StringgetLabel()A label for the field.getTags()A list of tags.@NotNull StringValue template, can consist of multiple tokens e.g.inthashCode()putArgumentsItem(String key, DisplayFieldArgument argumentsItem) voidsetArguments(Map<String, DisplayFieldArgument> arguments) voidsetCanCopy(Boolean canCopy) voidvoidvoidsetTemplate(String template) toString()
-
Constructor Details
-
ExtraField
public ExtraField() -
ExtraField
Constructor with only required parameters
-
-
Method Details
-
label
-
getLabel
A label for the field. Can be either an i18n token, or a plain-text value.- Returns:
- label
-
setLabel
-
template
-
getTemplate
Value template, can consist of multiple tokens e.g. \"{{amount}} {{ccy}}\".- Returns:
- template
-
setTemplate
-
canCopy
-
getCanCopy
Boolean flag, allows the value to be copied via the copy button component.- Returns:
- canCopy
-
setCanCopy
-
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
-