Class DataFieldName

java.lang.Object
org.docx4j.model.fields.merge.DataFieldName

public class DataFieldName
extends java.lang.Object
The name of the data field. When Word performs a mail merge, it treats this as case-insensitive (and takes the first matching field). The purpose of this class is to ensure the key provided is case-insensitive.
Author:
jharrop
  • Constructor Summary

    Constructors 
    Constructor Description
    DataFieldName​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object aThat)  
    int hashCode()  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • equals

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

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