Class Column

java.lang.Object
com.groiss.fileimport.Column
All Implemented Interfaces:
Comparable<Column>
Direct Known Subclasses:
CSVColumn

public class Column extends Object implements Comparable<Column>
Holds column definition from import.xml. Note: this class has a natural ordering that is inconsistent with equals, There are cases where x.compareTo(y) is 0 and equals return false.
  • Field Details

  • Constructor Details

    • Column

      public Column(String name)
  • Method Details

    • getJdom

      public Element getJdom()
      Returns:
      the jdom
    • getName

      public String getName()
      Returns:
      the name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(Column o)
      Specified by:
      compareTo in interface Comparable<Column>
    • setJdom

      public void setJdom(Element jdom)
      Parameters:
      jdom - the jdom to set