Record Class DMField.Conversion

Object
Record
Conversion
Enclosing class:
DMField

public static record DMField.Conversion(String skuField, String uomField, String ccyField, String qtyField, String uomCode, String ccyCode) extends Record
  • Constructor Details

    • Conversion

      public Conversion(String skuField, String uomField, String ccyField, String qtyField, String uomCode, String ccyCode)
      Creates an instance of a Conversion record class.
      Parameters:
      skuField - the value for the skuField record component
      uomField - the value for the uomField record component
      ccyField - the value for the ccyField record component
      qtyField - the value for the qtyField record component
      uomCode - the value for the uomCode record component
      ccyCode - the value for the ccyCode record component
  • Method Details

    • isVoid

      public boolean isVoid()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • skuField

      public String skuField()
      Returns the value of the skuField record component.
      Returns:
      the value of the skuField record component
    • uomField

      public String uomField()
      Returns the value of the uomField record component.
      Returns:
      the value of the uomField record component
    • ccyField

      public String ccyField()
      Returns the value of the ccyField record component.
      Returns:
      the value of the ccyField record component
    • qtyField

      public String qtyField()
      Returns the value of the qtyField record component.
      Returns:
      the value of the qtyField record component
    • uomCode

      public String uomCode()
      Returns the value of the uomCode record component.
      Returns:
      the value of the uomCode record component
    • ccyCode

      public String ccyCode()
      Returns the value of the ccyCode record component.
      Returns:
      the value of the ccyCode record component