Class FieldCatalog

java.lang.Object
org.apache.juneau.commons.template.FieldCatalog

public final class FieldCatalog extends Object
The fields of one list's rows.
  • Method Details

    • of

      public static FieldCatalog of(String... names)
      Creates a catalog from field names.
      Parameters:
      names - The names. Must not be null.
      Returns:
      A new catalog.
    • of

      public static FieldCatalog of(FieldDef... fields)
      Creates a catalog from field definitions.
      Parameters:
      fields - The fields. Must not be null.
      Returns:
      A new catalog.
    • has

      public boolean has(String name)
      Returns whether the catalog has this field.
      Parameters:
      name - The field name.
      Returns:
      true if declared.