Class DisplayField

  • All Implemented Interfaces:
    DisplayFieldsItem

    @Generated(value="org.openapitools.codegen.languages.SpringCodegen",
               date="2023-05-26T13:30:03.418649Z[GMT]")
    public class DisplayField
    extends java.lang.Object
    implements DisplayFieldsItem
    DisplayField
    • Constructor Detail

      • DisplayField

        public DisplayField()
    • Method Detail

      • label

        public DisplayField label​(java.lang.String label)
      • getLabel

        @NotNull
        public @NotNull java.lang.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​(java.lang.String label)
      • template

        public DisplayField template​(java.lang.String template)
      • getTemplate

        @NotNull
        public @NotNull 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)
      • getArguments

        @Valid
        public @Valid 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)
      • displayFieldType

        public DisplayField displayFieldType​(java.lang.String displayFieldType)
      • getDisplayFieldType

        public java.lang.String getDisplayFieldType()
        Get displayFieldType
        Specified by:
        getDisplayFieldType in interface DisplayFieldsItem
        Returns:
        displayFieldType
      • setDisplayFieldType

        public void setDisplayFieldType​(java.lang.String displayFieldType)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object