Class FieldDateFieldOffset

java.lang.Object
com.caplin.motif.config.definitions.common.FieldDateFieldOffset

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.4.0") public class FieldDateFieldOffset extends Object
Used only when the type is `DATE`. This configuration specifies both a reference date field and offset value from which to derive a value. Whenever the referenced field changes, this date submit field will be updated to the reference date + the specified offset, overriding any previously selected date.
  • Constructor Details

    • FieldDateFieldOffset

      public FieldDateFieldOffset()
  • Method Details

    • field

      public FieldDateFieldOffset field(String field)
    • getField

      public String getField()
      Used only when the type is `DATE`. Specifies which date field to obtain a value from, which with the specified offset, is then used to derive the value of this date submit field.
      Returns:
      field
    • setField

      public void setField(String field)
    • businessDateOffset

      public FieldDateFieldOffset businessDateOffset(String businessDateOffset)
    • getBusinessDateOffset

      public String getBusinessDateOffset()
      Used only when the type is `DATE`. Specifies the offset in business days to apply. Expects days specified as a period. Any other period values will be stripped and ignored. Example P2D for +2 days.
      Returns:
      businessDateOffset
    • setBusinessDateOffset

      public void setBusinessDateOffset(String businessDateOffset)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object