Class FieldMapping<T,​K>

java.lang.Object
com.expediagroup.transformer.model.FieldMapping<T,​K>
Type Parameters:
T - source element type
K - target element type

public class FieldMapping<T,​K>
extends java.lang.Object
Specifies the field's name mapping between the source object and destination one.
  • Constructor Summary

    Constructors
    Constructor Description
    FieldMapping​(T srcFieldName, K... destFieldsName)
    Specifies the field's name mapping between the source object and destination one.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FieldMapping

      public FieldMapping​(T srcFieldName, K... destFieldsName)
      Specifies the field's name mapping between the source object and destination one.
      Parameters:
      srcFieldName - the field name in the source object
      destFieldsName - the field name in the destination object.