Class FieldList

    • Field Detail

      • EMPTY_LIST

        public static final FieldList EMPTY_LIST
    • Constructor Detail

      • FieldList

        public FieldList()
      • FieldList

        public FieldList​(int fieldId)
      • FieldList

        public FieldList​(Integer fieldId)
      • FieldList

        public FieldList​(int... columnIndexes)
    • Method Detail

      • get

        public Integer get​(int pos)
      • toFieldList

        public FieldList toFieldList()
        Description copied from class: FieldSet
        Turns the FieldSet into an ordered FieldList.
        Overrides:
        toFieldList in class FieldSet
        Returns:
        An ordered FieldList.
      • isValidSubset

        public boolean isValidSubset​(FieldSet set)
        Description copied from class: FieldSet
        Checks if the given set of fields is a valid subset of this set of fields. For unordered sets, this is the case if all of the given set's fields are also part of this field.

        Subclasses that describe field sets where the field order matters must override this method to implement a field ordering sensitive check.

        Overrides:
        isValidSubset in class FieldSet
        Parameters:
        set - The set that is a candidate subset.
        Returns:
        True, if the given set is a subset of this set, false otherwise.
      • isValidSubset

        public boolean isValidSubset​(FieldList list)
      • isValidUnorderedPrefix

        public boolean isValidUnorderedPrefix​(FieldSet set)
      • isExactMatch

        public boolean isExactMatch​(FieldList list)